In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how to install blog wordpress on Linux server. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.
Wordpress
Wordpress is an open source blog platform and the first choice for building personal blogs. Users can go to wordpress Chinese website for help.
1. Download the wordpress software (https://cn.wordpress.org/download/releases/)
2. Create your own database for wordpress, which we call "wordpress".
3. Extract the wordpress installation package to the root directory of the apache web page "/ var/www/html/".
[root@localhost html] # cp / wj/wordpress-4.1.tar / var/www/html/ copy the zip file
[root@localhost html] # tar-xvf wordpress-4.1.tar / / decompress
[root@localhost html] # mv wordpress-4.1 wordpress / / repeat command, which makes it easy to open from the browser
4. Modify the wordpress configuration file. Wordpress provides a template file "wp-config-sample.php", which we want to make a copy and name it "wp-config.php".
[root@localhost wordpress] # cp wp-config-sample.php wp-config.php
[root@localhost wordpress] # gedit wp-config.php
/ * * name of WordPress database * /
Define ('DB_NAME',' wordpress')
/ * * MySQL database user name * /
Define ('DB_USER',' root')
/ * * MySQL database password * /
Define ('DB_PASSWORD',' 543092')
/ * * MySQL host * /
Define ('DB_HOST',' localhost')
/ * default text encoding when creating a datasheet * /
Define ('DB_CHARSET',' utf8')
/ * * Database collation type. If you are not sure, do not change * /
Define ('DB_COLLATE',' utf8_unicode_ci')
/ * * Database language setting * /
Define ('WPLANG',' zh_CN')
5. Restart apache
[root@localhost wordpress] # service httpd restart
Stop httpd: [OK]
Starting httpd:httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[OK]
6. Installation. Enter the address "127.0.0.1/wordpress" in the browser to start the installation
1) enter basic information
2) installation succeeded
3) sign in. You can log in with the user name and password you filled in at the address "127.0.0.1/wordpress/wp-login.php"
4) Management interface "127.0.0.1/wordpress/wp-admin"
5) Home page "127.0.0.1/wordpress"
This is how the Linux server installs the blog wordpress. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.