Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howto:docker [2021/02/24 12:59] – created hub | howto:docker [2021/05/04 16:19] (current) – [Installing Synchronet] tracker1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
You should create a public/ | You should create a public/ | ||
+ | |||
+ | ==== Windows Users ==== | ||
+ | |||
+ | Windows Users should [[https:// | ||
+ | |||
+ | With the above in place, you can then refer to [[install: | ||
+ | |||
===== Installing Ubuntu Server ===== | ===== Installing Ubuntu Server ===== | ||
Line 9: | Line 16: | ||
You should start with a fresh install of Ubuntu Server. | You should start with a fresh install of Ubuntu Server. | ||
- | I would suggest using a VPS with at least 2GB Ram, even though you can get by with less, I would not recommend this. | + | It is recommended to use a VPS with at least 2GB Ram for Docker usage. |
When creating your Droplet/VM, specify a host name that matches the name the server will use such as foo.synchro.net or foo.bbs.io. | When creating your Droplet/VM, specify a host name that matches the name the server will use such as foo.synchro.net or foo.bbs.io. | ||
Line 27: | Line 34: | ||
===== Installing Docker ===== | ===== Installing Docker ===== | ||
- | I'm using the [[https:// | + | The instructions in this section are copied from docker.org for x86_64, for other platforms |
If using a VPS with root, you can omit the //sudo// portion of the commands below. | If using a VPS with root, you can omit the //sudo// portion of the commands below. | ||
Line 48: | Line 55: | ||
sudo apt-get update | sudo apt-get update | ||
+ | | ||
sudo apt-get install docker-ce docker-ce-cli containerd.io | sudo apt-get install docker-ce docker-ce-cli containerd.io | ||
| | ||
Finally, in addition to the instructions on docker.com, install // | Finally, in addition to the instructions on docker.com, install // | ||
+ | |||
+ | sudo apt-get install docker-compose | ||
===== Installing Synchronet ===== | ===== Installing Synchronet ===== | ||
Line 59: | Line 68: | ||
After installing Synchronet, you should enable the ports that Synchronet expects to use. | After installing Synchronet, you should enable the ports that Synchronet expects to use. | ||
- | ufw enable | + | ufw allow 80 |
- | ufw enable | + | ufw allow 443 |
- | ufw enable | + | ufw allow 1123 |
- | ufw enable | + | ufw allow 11235 |
- | ufw enable | + | ufw allow 21 |
- | ufw enable | + | ufw allow 22 |
- | ufw enable | + | ufw allow 23 |
- | ufw enable | + | ufw allow 513 |
- | ufw enable | + | ufw allow 64 |
- | ufw enable | + | ufw allow 128 |
- | ufw enable | + | ufw allow 25 |
- | ufw enable | + | ufw allow 587 |
- | ufw enable | + | ufw allow 465 |
- | ufw enable | + | ufw allow 110 |
- | ufw enable | + | ufw allow 995 |
- | ufw enable | + | ufw allow 119 |
- | ufw enable | + | ufw allow 563 |
- | ufw enable | + | ufw allow 18 |
- | ufw enable | + | ufw allow 11 |
- | ufw enable | + | ufw allow 17 |
- | ufw enable | + | ufw allow 79 |
- | ufw enable | + | ufw allow 6667 |
- | ufw enable | + | |
+ | ===== Remote Editing ===== | ||
+ | |||
+ | In order to make life easier, you may consider installing [[https:// | ||
+ | |||
+ | The following contents in // | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |