readme.txt 1.5 KB
Newer Older
Alexander Schütz's avatar
Alexander Schütz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a server version only!
------------------------------
------------------------------

(1) Install required packages:

get mono (http://www.mono-project.com/download/)

Ubuntu:
Debian (RedPitaya):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian jessie main" | sudo tee /etc/apt/sources.list.d/mono-official.list

Raspbian:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian raspbianjessie main" | sudo tee /etc/apt/sources.list.d/mono-official.list

sudo apt-get update && sudo apt-get install mono-complete git cron -y


------------------------------
(2) Copy this software on your RaspberryPi or RedPitaya via Git:

git clone https://gitlab.isas.de/miniaturisation/public/DBDeviceServer.git

------------------------------
(3) Add crontab:

sudo crontab -e

For RaspberryPi:
Alexander Schütz's avatar
Alexander Schütz committed
32
@reboot sleep 60 && sudo mono /home/pb1messen/DBDeviceServer/DB\ Device\ Controller\ Server\ App.exe &
Alexander Schütz's avatar
Alexander Schütz committed
33
34

For RedPitaya:
Alexander Schütz's avatar
Alexander Schütz committed
35
@reboot sleep 60 && sudo mono /root/DBDeviceServer/DB\ Device\ Controller\ Server\ App.exe &
Alexander Schütz's avatar
Alexander Schütz committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49

------------------------------
(X) Additional steps:

--> RedPitaya only
Check file: /etc/systemd/network/wired.network

--> static IP?

sudo nano /etc/dhcpcd.conf 
interface eth0
        static ip_address=172.31.152.22
        static routers=172.31.0.1
        static domain_name_servers=172.31.2.0