![]() |
How to set up new VPS with a WordPress Installation - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials) +--- Thread: How to set up new VPS with a WordPress Installation (/Thread-How-to-set-up-new-VPS-with-a-WordPress-Installation) |
How to set up new VPS with a WordPress Installation - deanhills - 06-19-2018 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: Code: 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 myemail@gmail.com Password My password VestaCP then generates a Bash Install command from the above input. 4. Install VestaCP with the following commands: Code: curl -O http://vestacp.com/pub/vst-install.sh Your bash install command: Code: 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 myemail@gmail.com --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:
Code: cd /home/admin/web/mydomain.com/public_html Code: wget http://wordpress.org/latest.tar.gz Code: tar --strip-components=1 -xvf latest.tar.gz Code: rm latest.tar.gz Code: 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. RE: How to set up new VPS with a WordPress Installation - Rehan - 06-20-2018 Good Tutorial.I was looking for a good tutorial to host a website on a VPS.I searched and watched many videos from the Youtube but i always failed to understand them.I hope i will get success by this tutorial.I want to ask you can i install any other Software ( SMF ) ? Thanks RE: How to set up new VPS with a WordPress Installation - tryp4vps - 06-20-2018 Great tutorial for a new Wordpress installation with VestaCP. Thanks for sharing. Personally I still prefer to install Wordpress manually without VestaCP though. RE: How to set up new VPS with a WordPress Installation - humanpuff69 - 06-20-2018 for me i prefer just use apache/nginx + php and use terminal for everything . but it is kinda hard for most people that doesnt know or used to cli . vestacp or panel give an easier way to control the web server RE: How to set up new VPS with a WordPress Installation - deanhills - 06-20-2018 (06-20-2018, 08:44 AM)humanpuff69 Wrote: for me i prefer just use apache/nginx + php and use terminal for everything . but it is kinda hard for most people that doesnt know or used to cli . vestacp or panel give an easier way to control the web server It's also safer to do it the terminal way so I commend you and @tryp4vps for doing it the terminal way. Free panels like VestaCP and even cPanel always are risky, particularly when one uses them for e-mails and FTP. Would be great if you or @tryp4vps could share a tutorial for doing the whole installation from the command line. Step by step with no steps skipped. ![]() (06-20-2018, 12:38 AM)Rehan Wrote: Good Tutorial.I was looking for a good tutorial to host a website on a VPS.I searched and watched many videos from the Youtube but i always failed to understand them.I hope i will get success by this tutorial.I want to ask you can i install any other Software ( SMF ) ?Thanks @Rehan. VestaCP works very well. What I particularly like about VestaCP is its collection of documentation that is available at its Website and a very active and well supported Forum. There are always Admin checking up on the inquiries - unless the inquiry is of the variety where a person asked something that was already previously discussed and answered in which case they'll ignore the inquiry. What I also like is that the lead Admin there have been around for a few years - it gives it a feeling of authenticity. The layout of the panel is also very simple and user friendly. |