Many webmasters are moving from "virtual hosting" to VPS or cloud hosting for better server hardware configuration and more freedom to set permissions.
VPS servers typically have only one "bare machine," no operating system, no Web environment, and no way to start connecting to FTP and then upload installation packages once purchased, as virtual hosts do.VPS requires the webmaster to build the web environment himself.
There are many ways to set up a web environment, and the original "manual LAMP installation" is too much work for a novice to recommend.We advocate to use "integrated package type web control panel", at present the name is bigger such as cPanel, Plesk, DirectAdmin, these three are charged, If you are a small site, don't consider these panels.There are many free web control panels, among which the more popular ones such as Webmin, ISPconfig, ZPanel, kloxo-mr, VestaCP, VirtualMin and so on.
Are so many names confused?How can a novice have time to try it one by one?The question you most want to ask is "which free web control panel is the best?", then I can tell you responsibly: VestaCP is the best free web panel I've ever used (I've basically tried all the free ones above)!The best!
This article gives a brief introduction to the steps for quickly building VestaCP web environments on CentOS operating systems.
Step 1: Buy VPS and connect via terminal
There are many VPS and cloud hosts now, which one is the best?Because I did not try one by one, so I dare not jump to conclusions, but personally think that the choice of VPS mainly look at three points: 1) strong strength 2) cost-effective 3) safe backup for host. So I recommend vultr host.
For the Cloud hosts hardware configuration level, it is recommended that:
CPU at least 1 core
At least 1GB of memory
After the purchase is successful, enter Server Information and you will see the IP address, user name "root" and password
At this point, you can resolve the domain name to this IP.
Cloud hosts is a remote host. To operate it on your computer, you need to set up "remote connection access" first. This operation needs to be carried out by "Terminal" software.You'll probably find a lot of people saying SecureCRT is the best and Putty is the safest, but the terminal software I recommend is Xshell.
After setting up, click "ok" to see that the new session is saved to the list, And then Click "file", "open" and "connect" button, and then you will be asked whether you want to save the key. You can then click "accept and save", and then you will see the screen of successful connection
Step 2: update CentOS operating system and install common tools
If you are not familiar with Linux system, you can copy directly from this page, and then click "paste" in Xshell, paste the command to the Xshell command prompt, and then press enter to start execution.
yum update -y
Step 3: install VestaCP
curl -O http://vestacp.com/pub/vst-install.sh
After executing this command, you will see the following screen:
Is a question that asks if you want to continue, type "y" and hit enter.
It then asks the administrator for his or her email address and enters a real, valid email address.Press enter when input is complete.
Ask host name, enter your domain name to go commonly.Press enter after entering the host name.
Next, enter the automatic installation process.
The administrator account and panel login url are shown here. Please copy and save the above information from the Xshell window. At this point vestacp installation is complete.
Step 4: Set up vestacp accounts
Enter the url provided above into the browser address bar. If the browser prompts for a security certificate or something, click "continue to visit".
Add a domain name Add database Add FTP account
Step 5: Install Joomla!
Open FTP software, login address fill in your IP address, user account using the VestaCP generated admin user name and password, you can login FTP.
And then you go into the web directory, you find the domain name of the website, you go through it, and you end up in the public_html directory, which is the root directory of the website.We have to upload the Joomla installation package here. Here and virtual host installation is the same.