File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,34 +20,35 @@ Install, Configure and Run (Linux)
2020
2121###Get Sources###
2222Get the sources from github to your local machine with git clone:
23- `
23+ ````
2424git clone http://github.com/bourgeoislab/osc-webgate
25- `
25+ ```
2626
2727###Compile###
2828Compile OSC-webgate:
29- `
29+
30+ ```
3031cd OSC-webgate
3132make
32- `
33+ ```
3334
3435###Configure I###
3536Edit file OSC-webgate.conf with a text editor.
3637For a first test I recommend changing the settings to:
37- `
38+ ```
3839root = "./www"
3940port = 8080
40- `
41+ ```
4142
4243###Test OSC-webgate###
4344Run OSC-webgate:
44- `
45+ ```
4546./OSC-webgate
46- `
47+ ```
4748Start a web browser on a machine in the same network and enter
48- `
49+ ```
4950http://ip:8080/
50- `
51+ ```
5152where ip is the IP address of the machine OSC-webgate is running on. You should see a simple page with some controls.
5253
5354###Configure II###
@@ -67,35 +68,35 @@ A setup file setup_service.sh is added in the distribution. Running this script
6768- copy content of www to /var/www
6869
6970Note that the path of the configuration file is now:
70- `
71+ ```
7172/etc/OSC-webgate/OSC-webgate.conf
72- `
73+ ```
7374and the path of the www root folder
74- `
75+ ```
7576/var/www
76- `
77+ ```
7778
7879At this point you may delete the OSC-webgate directory created with the git clone command.
7980
8081**Start OSC-webgate service:**
81- `
82+ ```
8283systemctl start OSC-webgate
83- `
84+ ```
8485
8586**Stop OSC-webgate service:**
86- `
87+ ```
8788systemctl stop OSC-webgate
88- `
89+ ```
8990
9091**Add OSC-webgate service to the start-up procedure:**
91- `
92+ ```
9293systemctl enable OSC-webgate
93- `
94+ ```
9495
9596**Remove OSC-webgate service from start-up procedure:**
96- `
97+ ```
9798systemctl disable OSC-webgate
98- `
99+ ```
99100
100101Communication Protocol
101102----------------------
You can’t perform that action at this time.
0 commit comments