Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
opennic:setup:webmindind [2020-03-17T09:42:35Z] – [Requirements] Added installation commands fouroh-llc | opennic:setup:webmindind [2020-03-17T21:17:50Z] – fouroh-llc | ||
---|---|---|---|
Line 7: | Line 7: | ||
* Both IP4 and IP6 must be configured, Reverse DNS hostnames recommended. Port 53 for both TCP and UDP must be open (also TCP 22, 10000 for ssh and Webmin). | * Both IP4 and IP6 must be configured, Reverse DNS hostnames recommended. Port 53 for both TCP and UDP must be open (also TCP 22, 10000 for ssh and Webmin). | ||
- | The following describes the required state of the VPS - before installing DNS. You may use other than Linode for this but be be advised that GCE, AWS, DigitalOcean are not NOT going to allow for one or the other (GCE does not provide | + | The following describes the required state of the VPS - before installing DNS. You may use other than Linode for this but be advised that most provider like GCE, AWS, DigitalOcean are not NOT going to allow for one or the other (GCE does not provide |
- | Here we start from a recent Debian release by Linode. At the time of writing that is Debian 9 and install | + | Here we start from a recent Debian release by Linode. At the time of writing that is Debian 9, and we recommend you |
* Do not use ssh keys for now, install with a strong root password. | * Do not use ssh keys for now, install with a strong root password. | ||
* Buy the backup for this Linode, and use the snapshot before each Debian upgrade. | * Buy the backup for this Linode, and use the snapshot before each Debian upgrade. | ||
* Review the values in the " | * Review the values in the " | ||
- | This is not a tutorial on mitigating attacks against your instance, and secure configuration is not going to alter the requirements: | + | This is not a tutorial on mitigating attacks against your instance, and secure configuration is not going to alter the requirements: |
< | < | ||
apt-get -y update | apt-get -y update | ||
Line 23: | Line 23: | ||
apt-get install firewalld | apt-get install firewalld | ||
- | firewall-cmd | + | firewall-cmd --add-service=https --permanent |
firewall-cmd --add-port=22/ | firewall-cmd --add-port=22/ | ||
firewall-cmd --add-port=10000-10100/ | firewall-cmd --add-port=10000-10100/ | ||
Line 34: | Line 34: | ||
At this point it is a good idea to reboot, to make sure you are still able to ssh into the instance. Then install webmin. | At this point it is a good idea to reboot, to make sure you are still able to ssh into the instance. Then install webmin. | ||
< | < | ||
- | echo “deb https:// | + | echo 'deb https:// |
wget http:// | wget http:// | ||
apt-key add jcameron-key.asc | apt-key add jcameron-key.asc | ||
Line 41: | Line 41: | ||
</ | </ | ||
+ | This is a good time to take your first snapshot. Access your instance from the browser, by the IP4 address, at the default port 10000. I would recommend to continue all other installation and configuration from Webmin, for several reasons. | ||
+ | * If something breaks lets allow Webmin to break it, that was the fix is going to benefit everyone | ||
+ | * If something is not fully functional make a note of it NOW - document your own progress | ||
+ | * If something is not available make a note of it NOW - and ask to be implemented | ||
+ | |||
+ | ==== Anchoring the Host ==== | ||