Last update at :2024-05-10,Edit by888u
Many novice friends don’t know how to build an environment after purchasing a VPS. Manually compiling an LNMP or LAMP environment is time-consuming and difficult. If you just want to simply use a VPS to build a website, you don’t need to go into too much depth and don’t want to get too caught up in it. If you take the time, our VPS newbie tutorial: One-click installation environment Vestacp will probably be very suitable for you.
vestacp.com is a one-click Linux environment website building installation package developed by Russians in 2010. With a script, you can choose to simply install LNMP, LAMP or LANMP.
What features does the one-click installation package of vestacp.com include?
As follows: Web Server (Nginx, Apache), DNS server, Database Server (Mysql, PostgreSQL), Mail Server, FTP Server, Nginx out of the box, SSL certificates & SNI, Wildcard, configuration template, DKIM, fast Backup, system monitoring, anti-spam, anti-virus, support for WHMCS billing system, simple and clean GUI, CLI & API, Secure Platform, GPL v3 authorization, automatic updates
What systems does vestacp.com support?
# RHEL / CentOS 5,6,7 # Debian 6,7,8 # Ubuntu 12.04-15.10
Next, we log in to our VPS through a client such as putty or xshell to start the formal installation:
First step, copy the following command, paste it in the SS client (such as putty), right-click the mouse to paste
curl -O http://vestacp.com/pub/vst-install.sh
The following situations may occur:
The reason for the above is that the curl component is not installed by default in the system. The simplest solution:
Directly enter: apt-get update&&apt-get upgrade and press Enter
If (Y/N) appears in the future, please enter "Y"
Then enter: apt-get install curl and press Enter
If (Y/N) appears in the future, please enter "Y"
Then we continue with the first step: curl -O http://vestacp.com/pub/vst-install.sh
Get it done smoothly.
It can be simpler without curl: wget http://vestacp.com/pub/vst-install.sh
Step 2: Directly enter or copy and paste the command:
bash vst-install.sh Enter
Normal conditions will occur:
The above picture means: nginx, apache, Bind DNS, Exim, Dovecot, mysql, Vsftpd, iptables, Fail2ban will be installed soon. Do you plan to continue?
Enter "y" to continue installation
Enter "n" to indicate that you do not agree to the installation and will return.
We enter "Y" and press Enter,
Enter next:
Press Enter in the email address to receive some useful information automatically sent after the installation is complete
Default binding domain name: enter a domain name and press Enter
Installation backup direc "undescriptable" y tells you that the default installation script backup is in this path.
You don’t need to do anything next, just sit back and wait. Generally speaking, it will be done in less than 3 minutes!
If something similar appears during the period:
We choose the default, that is, default is enough, so we enter "N", then press Enter, and finally see:
Now that the LANMP environment has been set up, you can directly use the VPS as a virtual host to build a website. In the red box in the picture above is the web control panel. Go in to add domain name, add FTP, add mysql, etc.
The above has completed the simplest official installation of VESTACP, and installed both apache and nginx for everyone: using Nginx as a front-end service can provide faster and more timely static pages, js, pictures, etc., when the client requests access to dynamic pages The reverse x of Nginx is processed by Apache, and after Apache is processed, it is handed over to Nginx and returned to the client.
Advanced Install Settings Advanced installation of VESTACP
The default is this, as follows:
We can flexibly choose according to our own needs, such as:
I only want LAMP, which is apache, mysql, and php (this is not optional and is forced to be installed by default). I choose the picture below, and then click Generate Install Command, and a long list of command codes will appear.
What we need to do at this time is:
curl -O http://vestacp.com/pub/vst-install.sh press enter
Then directly copy and paste the large string of codes generated above and press Enter. The rest is not much different from the installation explained earlier in this article.
To simply install LNMP, you can also install the above method of your choice.
This site’s QQ group: 664890222, contact the webmaster: QQ3374457177 Post here and leave a message to the webmaster: https://www.hostwyn.com/viewforum.php?f=2Recommended site searches: How to rent a server, domain name registration network, server rental US high defense, ip proxy address , Mainland China space, Hong Kong cloud host, Hong Kong high-defense server rental, filing network, foreign space rental, free personal homepage space,
发表评论