@@ -135,38 +135,33 @@ Update the package manager
135
135
apt-get -y update
136
136
```
137
137
138
- Install and test Docker
138
+ Install dependencies
139
139
140
140
``` bash
141
- curl -fsSL get.docker.com | sh
142
- docker --version
141
+ apt-get -y install jq
143
142
```
144
143
145
- Configure package manager for the Anax Agent:
146
-
147
- If you operating system is not xenial (16.x) then update the following appropriately for bionic (18.x).
148
- * NOTE* : If you did not copy the CRLF after ` EOF ` , then you will need to press Enter/Return on your keyboard.
144
+ Install and test Docker
149
145
150
146
``` bash
151
- wget -qO - http://pkg.bluehorizon.network/bluehorizon.network-public.key | apt-key add -
152
- aptrepo=testing
153
- cat << EOF > /etc/apt/sources.list.d/bluehorizon.list
154
- deb [arch=$( dpkg --print-architecture) ] http://pkg.bluehorizon.network/linux/ubuntu xenial-$aptrepo main
155
- deb-src [arch=$( dpkg --print-architecture) ] http://pkg.bluehorizon.network/linux/ubuntu xenial-$aptrepo main
156
- EOF
157
-
147
+ curl -fsSL get.docker.com | sh
148
+ docker --version
158
149
```
159
150
160
- Refresh package manager index list
161
-
162
- ``` bash
163
- apt-get -y update
164
- ```
151
+ Install the Anax Agent:
165
152
166
- Install and the Agent
153
+ * NOTE * If your operating system is Ubuntu xenial (16.x) then use ` dist=xenial ` below.
167
154
168
155
``` bash
169
- apt-get -y install bluehorizon
156
+ arch=$( dpkg --print-architecture)
157
+ dist=bionic
158
+ version=2.24.18
159
+ wget http://pkg.bluehorizon.network/linux/ubuntu/pool/main/h/horizon/bluehorizon_${version} ~ppa~ubuntu.${dist} _all.deb
160
+ wget http://pkg.bluehorizon.network/linux/ubuntu/pool/main/h/horizon/horizon-cli_${version} ~ppa~ubuntu.${dist} _${arch} .deb
161
+ wget http://pkg.bluehorizon.network/linux/ubuntu/pool/main/h/horizon/horizon_${version} ~ppa~ubuntu.${dist} _${arch} .deb
162
+ dpkg -i horizon-cli_${version} ~ppa~ubuntu.${dist} _${arch} .deb
163
+ dpkg -i horizon_${version} ~ppa~ubuntu.${dist} _${arch} .deb
164
+ dpkg -i bluehorizon_${version} ~ppa~ubuntu.${dist} _all.deb
170
165
```
171
166
172
167
IMPORTANT, exit out of root, back to your user account
0 commit comments