WeChat is a popular free and open source WeChat public account management system, based on the most popular WEB2.0 architecture (php+mysql). Before installing the micro engine, you need to set up a php environment. In combination with the pagoda panel mentioned earlier in Weieis blog, let's talk about it today One click deployment and installation of micro engine on pagoda panel 。
Domain name and server are required to install the micro engine and php environment. Alibaba Cloud servers are recommended to be used to purchase servers. You can purchase instances in the server, set up a public image centos 6.8 64 bit system, and purchase domain names in Alibaba Cloud.
The following preparations should be made before setting up the environment.
1. Centos6.8 64 bit VPS server
Alibaba Cloud servers are recommended in China 。 First, you can get Alibaba Cloud Lucky Coupons. The first 20 Alibaba Cloud products can enjoy different discounts and discounts.
It is recommended to use tile movers abroad (geographical selection and coupons can be found here https://www.vpsss.net/banwagong )And Vultr server (click here https://www.vultr.com/?ref=7035317 )。
2. A domain name that resolves to the server. Buy domain names from Alibaba Cloud in China; If you buy a domain name abroad, you can save $1 by looking for namesilo( Namesilo Registration and domain name purchase tutorial )
3. Open port (8888 | 888 | 80 | 443 | 20 | 21)
The following host manufacturers must see (open the port tutorial, which cannot be used without opening it):
Alibaba Cloud ECS installed the pagoda but could not access the panel
The security group of the newly purchased Tencent virtual machine is not released, which makes the website and database inaccessible
Huawei Cloud Security Group port Release Tutorial
1、 Deploy the php environment
There are many mature php environments. At present, the pagoda linux panel is relatively simple and easy to use.
1. If you want to manually install the pagoda linux panel, you can refer to this tutorial Pagoda Linux Panel 4. X Installation Tutorial
2. The Alibaba Cloud server mentioned above provides pagoda panel integrated installation. Reference Tutorials AliCloud server installation Pagoda panel Two methods of , Pagoda panel Deep cooperation with Alibaba Cloud servers One click deployment, ready to use and How to install AliCloud Pagoda panel /Alibaba Cloud Pagoda Panel Installation Tutorial/Alibaba Cloud Pagoda Panel One click Deployment
2、 One click deployment of micro engine
1. Click one click to deploy source code( Pagoda Linux panel adds one click deployment source code extension function ), select Microengine and fill in the domain name on the pop-up page.
![](https://img.vpsss.net/wp-content/uploads/2018/03/btmbazwq.png)
2. Wait for a while, and you will see a prompt indicating that the installation is complete.
![](https://img.vpsss.net/wp-content/uploads/2018/03/btmbazwq02.png)
Three steps are required to use the micro engine:
1) Registration site (site management - registration site).
2) Update to the latest version (site management - system upgrade).
3) The installation uses the default password. Please change the password in the background (system management - My Account).
The above is the tutorial of one click deployment and installation of Micro Engine on the pagoda panel. The advantage of using the pagoda panel is to visually build a php environment, which is more intuitive and easy than using the command line before. Follow this article and you will soon be able to install it.