06-19-2018, 11:54 AM
This tutorial will attempt to show the quickest steps to installing WordPress on a brand-new VPS.
1. I first navigate to the Registrar of the Domain I'm going to use and create two name servers with the IP that has been given to me. I use Namecheap, but I also know one can do it at Domain Silo. In Namecheap I navigate to "Manage Domain" and then select the right most link for "Advanced DNS". Namecheap allows you to create two name servers with the same IP. In some cases you need to wait for the name servers to propagate, but in other cases it may be fast. Don't forget to add those two new name servers to the domain you are going to use:
ns1.mydomain.com
ns2.mydomain.com
2. I then use PuTTy to SSH into my new VPS. First thing I do is to change the password to a very complicated 16-digit one:
You can generate complicated passwords at the Website below:
https://passwordsgenerator.net/
3. Next I navigate to the VestaCP Install page to generate a BASH install command.
https://vestacp.com/install/
When I do it I exclude FTP and e-mail. I include: Web (nginx+apache) DNS (named) Firewall (iptables & fail2ban) Softaculous Additional repository (remi) Database (mySQL) Hostname mydomain.com E-mail [email protected] Password My password
VestaCP then generates a Bash Install command from the above input.
4. Install VestaCP with the following commands:
Your bash install command:
5. Once installation is complete VestaCP provides login info for accessing the panel from the desktop of your computer. You need to set up the panel as follows:
7. Navigate to the domain you want to use and when you do it, it should automatically come up with the WordPress set up process. It will ask you for your language, then the name and user of your database and password. You should be up and running with your new Word Press installation in seconds.
1. I first navigate to the Registrar of the Domain I'm going to use and create two name servers with the IP that has been given to me. I use Namecheap, but I also know one can do it at Domain Silo. In Namecheap I navigate to "Manage Domain" and then select the right most link for "Advanced DNS". Namecheap allows you to create two name servers with the same IP. In some cases you need to wait for the name servers to propagate, but in other cases it may be fast. Don't forget to add those two new name servers to the domain you are going to use:
ns1.mydomain.com
ns2.mydomain.com
2. I then use PuTTy to SSH into my new VPS. First thing I do is to change the password to a very complicated 16-digit one:
Code: (Select All)
passwd
You can generate complicated passwords at the Website below:
https://passwordsgenerator.net/
3. Next I navigate to the VestaCP Install page to generate a BASH install command.
https://vestacp.com/install/
When I do it I exclude FTP and e-mail. I include: Web (nginx+apache) DNS (named) Firewall (iptables & fail2ban) Softaculous Additional repository (remi) Database (mySQL) Hostname mydomain.com E-mail [email protected] Password My password
VestaCP then generates a Bash Install command from the above input.
4. Install VestaCP with the following commands:
Code: (Select All)
curl -O http://vestacp.com/pub/vst-install.sh
Your bash install command:
Code: (Select All)
bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd no --proftpd no --iptables yes --fail2ban yes --quota no --exim no --dovecot no --spamassassin no --clamav no --softaculous yes --mysql yes --postgresql no --hostname mydomain.com --email [email protected] --password mypassword
5. Once installation is complete VestaCP provides login info for accessing the panel from the desktop of your computer. You need to set up the panel as follows:
- 1. Add the name servers of your domain in the package of the panel - the package link is located in the top menu of the panel. Also change the name servers for the domain and the DNS. Everything else has already been added by default via the bash command.
- 2. Create a database for your WordPress installation. Write down the name of the database, user name and password.
- 3. You may also want to change the user name and password of your panel - however know due to some quirk, the original password will always be unique for any other access you need such as phpmyadmin.
Code: (Select All)
cd /home/admin/web/mydomain.com/public_html
Code: (Select All)
wget http://wordpress.org/latest.tar.gz
Code: (Select All)
tar --strip-components=1 -xvf latest.tar.gz
Code: (Select All)
rm latest.tar.gz
Code: (Select All)
chown admin -R *
7. Navigate to the domain you want to use and when you do it, it should automatically come up with the WordPress set up process. It will ask you for your language, then the name and user of your database and password. You should be up and running with your new Word Press installation in seconds.