WordPress knowledge sharing

How to install and deploy YoudianCMS on the pagoda panel?

Friendly enterprise website management system YoudianCMS )It is a set of website building CMS program based on thinkphp, integrating computer website, mobile website, WeChat, applet and APP, sharing space and automatic data synchronization. It is an excellent solution for five stations in one in China. It can quickly build a strong and professional corporate website. The pagoda panel deploys the friendly enterprise website management system, which needs to be manually installed and deployed.

Installation Conditions of Friendly Enterprise Website Management System

  • Language environment: PHP 5.3 or above is supported. It is recommended to use PHP 7.4 or higher
  • Database: MySql 5.5 and above
  • Operating system: This product is cross platform and supports common operating systems
  • Web services: support Apache, IIS, Nginx (need to configure to support PATHINFO mode), etc

Deploy pagoda panel

Lao Wei suggested that the pagoda panel is suitable for novices and Xiaobai to build a website, and supports Linux and Windows systems, Click to go directly to the pagoda website
Pagoda Linux Enterprise Edition Click Direct
Pagoda Linux Professional Click Direct
Pagoda Nginx firewall Click Direct
Pagoda Windows Enterprise Edition Click Direct
Rui Anxin DV SSL Certificate Click Direct
Recommended selection of pagoda panel Alibaba Cloud Tencent Cloud The server
For more information, see Special topic of pagoda panel
Click to view NetEase Cloud Classroom "Introduction to Pagoda Linux Panel for Novice"

Deploy the friendly enterprise website management system

In Pagoda Panel>Website, add a website, enter the domain name, and the system will automatically generate other information.

Download the friendly CMS installation package from the official website of the friendly site, upload it to the root directory of the website built above, and decompress it.

Enter the domain name to open the installation page:

  • Click [I agree]
  • For environment check, all statuses must be writable, supported and enabled.
  • Set basic parameters: enter the database name and password, and fill in the administrator user name and password.
  • After the successful installation of the database, get the website foreground and background addresses, and open the test.
 Deploy the friendly enterprise website management system

Then enable pseudo static, set directory permissions, and turn off script execution permissions. Use pagoda panel+Nginx to explain how to configure.

Configure pseudo static

Enabling pseudo static can delete index.php in the web address, which is shorter and more SEO friendly. Similar to WordPress, the previous web address contains index.php/1.html. After enabling pseudo static, it becomes:/news.html

Log in to Pagoda Panel Background>Website, click the settings on the right side of the website, find the pseudo static on the left side, and select thinkphp to save.

Then log in to the website management background, enter Optimization>Pseudostatic Settings, and enable Pseudostatic.

 Configure friend CMS pseudo static

Open the homepage, channel and other pages of the website, and there will be no index.php in the website.

Set directory permissions

To make the system more secure, you need to set directory permissions after the website installation is completed.

Setting steps: set the root directory of the entire website as read-only, set the/Data and/Upload directories as read-write, and close the script executable permissions.

Site root is set to read-only permission

Log in to Pagoda Panel Background>File, click the permissions on the right side of the website, and set according to the following figure.

 Set friend CMS directory permissions

Set the Data and Upload directories to read/write permissions as shown in the figure below.

 Set the Data and Upload directories to read/write permissions

Turn off directory script execution permissions

You need to close the script execution permission of the system Data directory and Upload directory.

Log in to Pagoda Panel Background>Website, the settings on the right side of the website.

Click [Configuration File] on the left, search for the text # PHP-INFO-START PHP reference configuration, and add code below:

location ~* /(Data|Upload)/(.*). (php)
{
return 403;
}

Data and Upload are your directories. With the above configuration, you can turn off directory script execution permissions.

Remember to save.

Log in to the website management background and check whether the directory permissions are correct (green check) in Settings>Security Settings.

Setting directory permissions can effectively prevent websites from being hung up, so it is recommended that you complete the operation according to the above requirements.

Like( zero )
Article name: How to install and deploy YoudianCMS on the pagoda panel
Article link: https://www.vpsss.net/28653.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.