Previously, at the request of VPSAA users, I wrote about the simple process of setting up a host using the WHMCS integrated easypanel(kangle) panel. Many friends are interested in this panel. I hope that the VPS side will learn more about it. It goes into some more depth. In fact, this host panel is introduced in detail in the official forum, but it is very complicated, especially for novice friends who don’t know where to start. Therefore, here I will make a simple guide on the installation and simple use on Linux system VPS. introduce.
First of all, we saw easypanel and kangle in the official kangle official website. What is the connection between them? Which one should I install on my VPS?
I was confused about this question at first. In fact, easypanel is built on the kangle web server software and is a call to the kangle function. Easypanel has all the functions that kangle has. In this way, we have clarified our goal. In order to more conveniently set up a host and build a website on a VPS, we can just install easypanel directly.
★★★★★★★★Installation★★★★★★★★
Regarding the process of installing easypanel on Linux VPS, I also mentioned it in my previous article, as the root user Log in, then just copy and paste a few lines of commands, most suitable for lazy people + novices like VPS;-)
yum -y install wget #Install wget (usually VPS already has it, this step is not necessary)
wget http://www.kanglesoft.com/download/easypanel/ep.sh -O ep_zrblog .sh #Download source code
sh ep_zrblog.sh <x2 > #Compile and install
After starting the compilation, you can sit down, make a cup of tea, chat with a girl, and wait for the compilation to be completed~
The compilation process will vary slightly depending on your VPS (or server) configuration, usually 20-60 minutes During the process, you may specify the MySQL database root password once, just enter it.
After completion, we have the following 4 addresses to use:
IP+3312/admin Host management panel (default username admin, password kangle)
IP+3312/vhost < x2> Host user panel address
IP+3313/mysql MySQL database management (phpMyAdmin) login address
IP+3311 < x2> kangle web server Management address
★★★★★★★★Interface★★★★★★★★
Next, let’s take a look at the easypanel host management panel, the full picture above.
When logging in for the first time, please change your account password and just click "Modify Account Information" in Account Management. The picture above is a screenshot of the management side of the easypanel host panel. The server information page is opened by default. Here, we can set up the server, initialize the server, open a new account (add a new website), browse all websites, set IP and content filtering, add a reverse proxy, edit php.ini, etc.
After logging into the easypanel panel, you should be able to see the server status. Both web and mysql are in normal status. At this time, the question you most want to ask must be: How do I set up a host? Okay, now, let’s take a look at the process of adding a new website.
★★★★★★★★New website (open host)★★★★★★★★
In the easypanel panel management side, there is a product list, this is similar to KLOXO The resource allocation plan is also equivalent to the user package of CP or DA. In the easypanel panel, this product list does not have to be set. However, in order to make it simpler for us to set up a host (especially for friends who want to share), I suggest that you add some product lists (package types).
Ok, click on the product list, as shown below, I have marked it:
After the settings are completed, submit! After that, we can add a new website! Click Add Website on the left.
As shown above, it is the process of adding a website. Here the advantages of the product list we set before come out. In the product name, you can see the name of the product list we set before. , if you choose the free type, then fill in the space size, database, etc. below one by one. Of course, if you are willing or want to open a product different from the package, you can also do this.
Here, we need to remember the username and password. This username and password are an independent host. You can access your unique host panel with IP+3312/vhost. Next, let’s log in to the host we created and take a look!
When you open it for the first time, you may not see the database management items. You will see them after refreshing~ In addition, the FTP and MySQL database usernames and passwords of the host you created are the same as those you set before. The login username and password are the same, which is exactly the same as DA and CP. Regarding how to build a website on this panel, I believe that no one needs to introduce it. Analyze the domain name to IP, bind the domain name, upload the file, OK!
★★★★★★★★Reverse proxy★★★★★★★★
Here, I would like to introduce reverse proxy in particular. Hao VPS has also introduced the content of nginx reverse proxy before, and the conf file needs to be modified. The implementation of easypanel's reverse proxy is even simpler.
First, click Reverse Proxy Settings in the left menu, then add the domain name, IP address, and port on the right, and then add it and it's OK.
What functions does it achieve? For example, there is a website A, which is located in the United States. The IP is 192.168.1.8. I don’t want others to know its IP. Or, I installed the easypanel panel on a server in Hong Kong and I hope to use this server to reverse the network. Website A allows it to hide its real IP or speed up web page (static) access. At this time, we add the domain name and IP of website A to the reverse proxy of easypanel, modify the domain name resolution of website A, and record A directly. By reaching the IP of the easypanel host, our requirements are basically met.
★★★★★★★★Postscript★★★★★★★★
Regarding the easypanel panel, I am new to the good VPS tribe, so I may not have encountered many problems, or It has not been mentioned. I hope readers can bring it up and we can work together to find a solution!