Skip to content

Commit 497e8c1

Browse files
committed
Fix BUILD_LINUX_CHEATSHEET.md formatting
1 parent a116768 commit 497e8c1

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

BUILD_LINUX_CHEATSHEET.md

+17-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# this guide is specific to Ubuntu 16.04.
2-
# deb packages of High Fidelity domain server and assignment client are stored on debian.highfidelity.com
1+
## This guide is specific to Ubuntu 16.04.
2+
Deb packages of High Fidelity domain server and assignment client are stored on debian.highfidelity.com
3+
4+
```
35
sudo su -
46
apt-get -y update
57
apt-get install -y software-properties-common
@@ -8,20 +10,27 @@ add-apt-repository "deb http://debian.highfidelity.com stable main"
810
apt-get -y update
911
apt-get install -y hifi-domain-server
1012
apt-get install -y hifi-assignment-client
13+
```
1114

12-
# When installing master/dev builds, the packages are slightly different and you just need to change the last 2 steps to:
15+
When installing master/dev builds, the packages are slightly different and you just need to change the last 2 steps to:
16+
```
1317
apt-get install -y hifi-dev-domain-server
1418
apt-get install -y hifi-dev-assignment-client
19+
```
1520

16-
# domain server and assignment clients should already be running. The processes are controlled via:
21+
Domain server and assignment clients should already be running. The processes are controlled via:
22+
```
1723
systemctl start hifi-domain-server
1824
systemctl stop hifi-domain-server
25+
```
26+
27+
Once the machine is setup and processes are running, you should ensure that your firewall exposes port 40100 on TCP and all UDP ports. This will get your domain up and running and you could connect to it (for now) by using High Fidelity Interface and typing in the IP for the place name. (Further customizations can be done via http://IPAddress:40100).
1928

20-
# Once the machine is setup and processes are running you should ensure that your firewall exposes port 40100 on TCP and all UDP ports. This will get your domain up and running and you could connect to it (for now) by using High Fidelity Interface and typing in the IP for the place name. (further customizations can be done via http://IPAddress:40100).
21-
22-
# The server always depends on both hifi-domain-server and hifi-assignment-client running at the same time.
23-
# As an additional step, you should ensure that your packages are automatically updated when a new version goes out. You could, for example, set the automatic update checks to happen every hour (though this could potentially result in the domain being unreachable for a whole hour by new clients when they are released - adjust the update checks accordingly).
29+
The server always depends on both hifi-domain-server and hifi-assignment-client running at the same time.
30+
As an additional step, you should ensure that your packages are automatically updated when a new version goes out. You could, for example, set the automatic update checks to happen every hour (though this could potentially result in the domain being unreachable for a whole hour by new clients when they are released - adjust the update checks accordingly).
2431
To do this you can modify /etc/crontab by adding the following lines
32+
```
2533
0 */1 * * * root apt-get update
2634
1 */1 * * * root apt-get install --only-upgrade -y hifi-domain-server
2735
2 */1 * * * root apt-get install --only-upgrade -y hifi-assignment-client
36+
```

0 commit comments

Comments
 (0)