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.
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.
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.
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 the Data and Upload directories to read/write permissions as shown in the figure below.
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:
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.
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.