Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:docker [2021/02/24 13:16] – hub | howto:docker [2021/05/04 16:19] (current) – [Installing Synchronet] tracker1 | ||
|---|---|---|---|
| Line 16: | 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 34: | 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 68: | 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 ===== | ===== Remote Editing ===== | ||
| - | In order to make life easier, | + | In order to make life easier, |
| - | I have the following contents in //~/ | + | The following contents in // |
| { | { | ||
| - | " | ||
| - | " | ||
| - | 76, | ||
| - | 80 | ||
| - | ], | ||
| - | " | ||
| - | " | ||
| - | " | ||
| " | " | ||
| - | " | + | " |
| }, | }, | ||
| - | "[javascript]": | + | "[plaintext]": { |
| - | " | + | " |
| - | " | + | " |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | "[ini]": { | + | |
| - | " | + | |
| - | " | + | |
| } | } | ||
| } | } | ||
| - | |||
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||