Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
opennic:setup:webmindind [2020-03-17T08:58:42Z] – [Requirements] fouroh-llc | opennic:setup:webmindind [2020-03-17T09:42:35Z] – [Requirements] Added installation commands fouroh-llc | ||
---|---|---|---|
Line 9: | Line 9: | ||
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 be advised that GCE, AWS, DigitalOcean are not NOT going to allow for one or the other (GCE does not provide | ||
- | Linode Start from a recent Debian release, ssh into the VPS and make sure locale are set: | + | Here we start from a recent Debian release |
+ | * Do not use ssh keys for now, install with a strong root password. | ||
+ | * Buy the backup for this Linode, | ||
+ | * 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: you may later replace the root login with another, configure ssh keys, install a different firewall, change default ports, limit login location and attempts, etc... Here we create a functional node and leave the rest for a different wiki. | ||
< | < | ||
apt-get -y update | apt-get -y update | ||
- | apt-get -y install nano apt-transport-https tzdata | + | apt-get -y install nano apt-transport-https tzdata |
apt-get -y install locales | apt-get -y install locales | ||
locale-gen " | locale-gen " | ||
dpkg-reconfigure tzdata | dpkg-reconfigure tzdata | ||
+ | apt-get install firewalld | ||
+ | |||
+ | firewall-cmd --permanent --add-service={https} --permanent | ||
+ | firewall-cmd --add-port=22/ | ||
+ | firewall-cmd --add-port=10000-10100/ | ||
+ | firewall-cmd --add-port=53/ | ||
+ | firewall-cmd --add-port=53/ | ||
+ | firewall-cmd | ||
+ | firewall-cmd --reload | ||
+ | </ | ||
+ | |||
+ | 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:// | ||
+ | wget http:// | ||
+ | apt-key add jcameron-key.asc | ||
+ | apt-get update | ||
+ | apt-get -y install webmin | ||
</ | </ | ||