In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use Xampp and wordpress in the Centos7 system. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Install xampp and fill the xampp file with permissions in case the installation fails
Chmod-R 777 xampp-linux-x64-5.6.30-1-installer.run
. / xampp-linux-x64-5.6.30-1-installer.run floor
Note: if linux has installed a graphical interface, after execution, pop up the graphical interface and click next to install. The default installation directory is / opt/lampp.
Delete everything in the root directory of the web server
Rm-fr / opt/lampp/htdocs/*
Start configuring wordpress
Tar-zxvf wordpress-4.7.4-zh_CN.tar.gz
Cd wordpress
Cp-fr * / opt/lampp/htdocs / / copy all the configuration files under wordpress to the root of the website
Configure the security of xampp
/ opt/lampp/lampp security
Note: modify xampp related passwords in turn
1. Enter the password of the xampp control panel (user name is xampp)
2. Enter the password of phpmyadmin (user name is pma)
3. Enter the password of mysql (user name is root)
4. Enter the ftp password (user name is daemon, default port 21)
Modify the configuration file for authentication login for phpmyadmin
Vim / opt/lampp/phpmyadmin/config.inc.php
Note: find $cfg ['Servers'] [$I] [' auth_type'] = 'http'
Modify: change config or cookie to http
Restart xampp after changing all passwords
/ opt/lampp/lampp restart
Set xampp to run every time you boot
Chmod + x / etc/rc.d/rc.local
Vim / etc/rc.d/rc.local
Add at the end
/ opt/lampp/lampp start
Modify the upper limit of file upload and the time limit for script execution
Vim / xampp/php/php.ini
Note: find upload_max_filesize=2M and change it to upload_max_filesize=100M
Find post_max_size = 8m and modify it to post_max_size = 100m
Find max_execution_time=30 and change it to max_execution_time=0. The 0 here means there is no time limit.
After reading the above, do you have any further understanding of how to use Xampp and wordpress in Centos7 systems? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.