- You will require a fresh Ubuntu 16.04 machine with at least 1 GB of RAM.
- A valid DNS name pointing its A record to the IP address of your Ubuntu machine.
hostnamectl will directly update the kernel about the change in the hostname, and you don’t need to reboot the machine afterward.
Next, edit the file
$ sudo hostnamectl set-hostname dwijadasdey
/etc/hosts and add the following line at the end. The format is
IP_ADDRESS HOSTNAME.TLD HOSTNAME. This is an example using a domain of mine and a fake IP.
Run the command below to restart the network manager and apply these changes:
$ sudo vi /etc/hosts
123.456.78.9 dwijadasdey.tk dwijadasdey
Check the hostname and FQDN of the host:
$ sudo systemctl restart networking
Now that your FQDN has been set let’s proceed toward the process of installing VestaCP in detail.
$ hostname -f
$ sudo apt-get update
$ sudo apt-get upgrade
http://vestacp.com/install/, scroll down the page a little bit, and find the Advanced Install Settings section.
Now, judiciously choose the advanced install settings according to your requirements.
$ curl -O http://vestacp.com/pub/vst-install.sh
$ sudo chmod u+x vst-install.sh
- For Web options, choose
nginx + apacheif you plan to use a reverse proxy at a later stage.
namedin the DNS section if you want a DNS server, too. Otherwise, choose
- If you want an extra repository for packages, then select
- Type in the FQDN that we configured in Step 1.
- VestaCP does not provide a file system browser of its own, so choose either
proftpdas a FTP server for easy file upload and download.
- Next is the firewall. You can choose whether to use
iptablesonly, or no firewall at all. It is advisable to use at least one of the options for a secure system.
- If you are going to use VestaCP as Shared Web Hosting service then choose
File System Quota, to
yes. Otherwise, choose
- Provide your email.
- For the email server, choose
Exim + dovecot + SpamAssassin + ClamAV. SpamAssassin will protect the email server from spam. ClamAV will mitigate virus activity in your server but
by subscribing to our newsletter.
A note about tutorials: We encourage our users to try out tutorials, but they aren't fully supported by our team—we can't always provide support when things go wrong. Be sure to check which OS and version it was tested with before you proceed.
If you want a fully managed experience, with dedicated support for any application you might want to run, contact us for more information.