Installing Virtual Radar Server - Raspberry PI

A

Archive-8

Guest
install the latest Raspbian Stretch Lite and enable ssh.

to enable ssh you simply create a file called ssh in the boot sector of the sd card. you can then log in to the pi via putty or similer.

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install -y lighttpd

next install samba.

sudo apt-get install samba samba-common-bin

then configure smb.conf

sudo nano /etc/samba/smb.conf

add this

[share]
Comment = Pi shared folder
Path = /home/
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes

the to save ctrl plus x and hit yes, then run this command to set up a user

sudo smbpasswd -a pi

it will ask you to enter a password twice.

then run this command

sudo /etc/init.d/samba restart

samba should now be installed.

next we need install mono as virtual radar server is a windows program.

sudo apt-get install mono-complete

then install this

sudo apt-get install wget

mkdir VirtualRadar

cd VirtualRadar

wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.tar.gz

wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.exe.config.tar.gz

wget http://www.virtualradarserver.co.uk/Files/VirtualRadar.WebAdminPlugin.tar.gz

tar xvf VirtualRadar.tar.gz

tar xvf VirtualRadar.exe.config.tar.gz

tar xvf VirtualRadar.WebAdminPlugin.tar.gz

On the first run you will need to create an admin user and password so that you can get into web admin

Code:
mono VirtualRadar/VirtualRadar.exe -nogui -createadmin:admin -password:password

then you should be able to log in to the admin page of virtual radar server

http://127.0.0.1:8080/VirtualRadar/WebAdmin/index.html

For second and subsequent runs do this (you can add this to a script to boot at start)

mono VirtualRadar/VirtualRadar.exe -nogui &
 
A

Archive-8

Guest
add ftp to the mix, just in case samba didnt work for you.

sudo apt-get install pure-ftpd

We need to create a new user group

sudo groupadd ftpgroup

sudo useradd pi -g ftpgroup -s /sbin/nologin -d /dev/null

sudo chown -R pi:ftpgroup /home/pi/

sudo pure-pw useradd upload -u pi -g ftpgroup -d /home/pi/ -m

sudo pure-pw mkdb

sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/60puredb

sudo service pure-ftpd restart

you have just added FTP.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,257
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Is this a new image Chris, or one for newbies?

Edit -Sorry, not concentrating. A new VRS img. of course.
 
A

Archive-8

Guest
To activate ntp just do this:

Code:
sudo nano /etc/rc.conf

And then paste this in to the file,

Code:
DAEMONS=(!hwclock ntpd)

Save with ctrl + x and yes.

And reboot.

Code:
sudo reboot

To correct the time zone,

Code:
sudo ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime

Finally

Code:
sudo reboot
 
Top