Quickly build phpwind forum system

Abstract: phpwind is an open source community program that runs in PHP + MySQL mode. Light architecture, efficient and easy development, help you quickly build and easily manage community sites. This article introduces how to use the PHPWind forum system of the cloud market (including the smart cloud virtual machine panel) to quickly build a forum.

phpwind is an open source community program running in PHP + MySQL mode. Light architecture, efficient and easy development, help you quickly build and easily manage community sites. phpwind provides 2 completely different versions, namely phpwind stable version (v8.7.1) with mature functions and massive plug-in support, and phpwind advanced version (v9.0.1) which focuses on light community, high efficiency and easy development. This article introduces how to use the PHPWind forum system (including the smart cloud virtual machine panel) of the cloud market to quickly build a forum, including:
installing and using the advanced version of phpwind
Installing and using the stable version of phpwind
Obtaining commercial authorization
Applicable objects
Suitable for classic network users who want to build a forum .

Install and use the advanced version of phpwind
Prerequisites
You should already have a registered domain name. If there is no filing, after purchasing an ECS instance, you should go to the Alibaba Cloud filing center for filing. The filing address is: https://beian.aliyun.com.
Operation steps
Installing and using the advanced version of phpwind includes the following steps:
Purchase and install the PHPWind forum system (including the Smart Cloud virtual machine panel) Mirrored ECS instance
Log phpwind forum
Bind the domain name
Install the PHPWind forum system (including the Smart Cloud virtual machine panel) mirror
1. Go to the image details page and get the PHPWind forum system (including the Smart Cloud virtual machine panel) for free. The image
PHPWind forum system (including the Smart Cloud virtual machine panel)

is LNMP (CentOS6.8+Nginx+MySQL5.6+PHP multi-version). +PHPWind9.0.1), panel control, switch scripts freely, and support database backup function.
¥0/
month Buy Now
2. Click Buy Now, and follow the prompts to buy an ECS instance. Select Classic Network as the network type.
Log in to the phpwind forum
1. Log in to the ECS management console.
2. In the left navigation bar, click Instances to enter the ECS instance list page.
3. Select the region where the purchased ECS instance is located, find the purchased ECS instance, and obtain the public IP address of the instance in the IP address column.
4. In the browser address bar, enter the public IP address. A prompt page will appear on the screen.
5. On the prompt page, click the Get Permissions button to download the permission document zhcloud-readme.doc.
Quickly build phpwind forum system The
permissions document includes the smart cloud virtual machine panel permissions (host), FTP permissions (PHPWind ftp), MySQL database permissions (PHPWind database) and phpwind background management permissions (PHPWind admin).
Quickly build phpwind forum system
6. In the browser address bar, enter http://instance public network IP address/admin.php to enter the phpwind login page.
7. On the phpwind login page, enter the username and password for the phpwind background management obtained in the permission document zhcloud-readme.doc, and then click Login.
Quickly build the phpwind forum system
Log in to the phpwind background, and you can manage the phpwind forum.
Quickly build phpwind forum system
Bind domain name
1. Log in to the Wisdom Cloud virtual machine panel. For login information, see the permission document zhcloud-readme.doc:
host url refers to the login address of the Smart Cloud virtual machine panel;
host account refers to the login account of the Smart Cloud virtual machine panel;
host password refers to the login password of the Smart Cloud virtual machine panel.
Quickly build the phpwind forum system After
logging in, as shown in the figure.
Quickly build a phpwind forum system
2. Click the domain name binding, enter your domain name to bind. If you want to block IP access, just delete the record containing the IP address.
Quickly set up phpwind forum system

Install and use phpwind stable version
If you want to install phpwind stable version (v8.7.1), follow the steps below. If you don't want to install the stable version of phpwind (v8.7.1), you can skip this section.
Add a new website
Use FTP to connect to the newly created site
Purchase and download and install the phpwind stable version (v8.7.1)
prerequisites
You should already have the FTP tool installed. Here, we take FileZilla FTP as an example (download address: https://www.filezilla.cn/download/client).
You should already have a registered domain name. If there is no filing, after purchasing an ECS instance, you should go to the Alibaba Cloud filing center for filing. The filing address is: https://beian.aliyun.com.
New website
1. Log in to the Smart Cloud virtual machine panel.
2. Click Add Website to enter the page of adding a website.
Quickly build the phpwind forum system
3. Specify an FTP account password, select the site directory, and click Next.
Quickly build phpwind forum system
4. Enable JSP select No, enable PHP select Yes, PHP version select PHP5.4 version.
Quickly build the phpwind forum system
5. Type select mysql, specify the database name and database password, and click Next.
Quickly build a phpwind forum system
6. Enter a domain name and click Create.
Quickly build phpwind forum system So
far , you have successfully created a new site. You can view the FTP and database permissions of the new site:
View FTP permissions: enter the home page of the panel, click FTP account, and click view password to view the FTP account and FTP password of the new site.
Quickly build a phpwind forum system
View database permissions: You can view it in the database of the Wisdom Cloud virtual machine panel.
Quickly build phpwind forum system
To connect to the newly created site using FTP
1. Start FileZilla FTP.
2. Enter the public IP address, FTP account, and FTP password of the ECS instance, and click the quick link.
Purchase and download and install phpwind stable version (v8.7.1)
1. Click to get free PHP stable version (v8.7.1) mirror
PHPWind forum system (including smart cloud virtual machine panel)

The mirror is LNMP (CentOS6.8+Nginx+MySQL5. 6+PHP multi-version+PHPWind9.0.1), panel control, free switch script, and support database backup function.
¥0/
month Buy Now
2. After confirming the order, click Confirm to activate.
3. After the activation is successful, click the management console.
4. In the purchased services, find the phpwind 8.7.1 installation package (UTF8), and click Manage.
Quickly build the phpwind forum system
5. In the application management information, click the download address.
Quickly build phpwind forum system
6. Download and unzip the installation package.
7. In FTP, open the upload directory of the phpwind 8.7.1 installation package (UTF8), and upload the program in the upload directory to the site root directory.
Quickly build phpwind forum system
8. Visit the domain name bound in the new site in the browser.
9. In the pop-up dialog, click Accept.
10Click Next.
11. Enter the database permissions and click Next.
Quickly build the phpwind forum system
12. Complete the installation and enter the phpwind forum home page.

Obtaining a Commercial License
If your phpwind forum requires a commercial license, please follow the steps below. After obtaining the commercial authorization, you can use the phpwind forum program reasonably and legally.
If commercial authorization is not required, this part of the operation can be omitted.
1. Click to enter the phpwind commercial authorization details page.
phpwind commercial authorization (including software packages)

The copyright of the phpwind forum system is owned by Alibaba Cloud Computing Company. If the software is used for commercial purposes (enterprise websites or business websites for profit), you must purchase the authorization and bind the domain name before It can be used for official website establishment, otherwise we will reserve the right to investigate.
¥1/
time Buy Now
2. Click Buy Now, and pay 1 yuan to purchase according to the steps.
3. Log in to the ECS management console.
4. Go to Cloud Market > Purchased Services, find the phpwind commercial license, and click Manage.
Quickly build the phpwind forum system
5. In the application management information, click the management address.
Quickly build the phpwind forum system
6. Click here to download, get the verification file verify.html, upload it to the root directory of the site through the FTP tool, and then click Authorize Now.
Quickly build the phpwind forum system
7. Enter your site domain name and click OK to complete the commercial authorization.
Quickly build phpwind forum system

FAQ
301 redirect
1. Log in to the Smart Cloud virtual machine panel.
2. Find Custom Pseudo-Static > Custom, write the Nginx rule for 301 redirection, and click Save.
The following takes the domain name yjcom.com as an example to write a 301 redirection Nginx rule.
Method A: 301 redirects to www.yjcom.com when accessing the website without using the www.yjcom.com domain name.
if ($host != 'www.yjcom.com' ) {
rewrite ^/(.*)$ http://www.yjcom.com/$1 permanent;
}
Method B: 301 is only available when using the yjcom.com domain name to access the website Redirect to www.yjcom.com.
if ($host = 'yjcom.com' ) {
rewrite ^/(.*)$ http://www.yjcom.com/$1 permanent;
}

Note: In actual use, replace the domain name in the above code with your own 's domain name.
Which ports do I need to open to the public network when using the SmartCloud virtual machine panel?
Make sure that the security group where your ECS instance is located has opened the following ports to the public network: port 21, port 80, port 3306, port 1777, and port 8081.
Make sure that the security software you are using is not blocking port 1777.
More basic tutorials:
Cloud Market Toutiao Basic Tutorial Channel

More open source software is available in the cloud market:
https://market.aliyun.com/software

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326305728&siteId=291194637