In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Preparation article
A domain name
You can go to Wanwang, Xinwang,.
A cloud space (it is best to buy a Hong Kong mainframe, or a foreign one, without filing)
Then add the domain name to the ip address that resolves to your cloud space, that is, add an A record.
Installation section
Download the wordpress installation package.
Install lamp:
CentOS 6: httpd, php, mysql-server, php-mysql
Service httpd start service mysqld start
CentOS 7: httpd, php, php-mysql, mariadb-server
Systemctl start httpd.service systemctl start mariadb.service
Chkconfig-- list to see if there is a httpd,mysqld.
If not, chkconfig-- add service name
Boot automatically starts the service
Chkconfig httpd onchkconfig mysqld on
The next step is to create the database and database user name for wordpress.
Mysql > create database wordpress;-- > create a database named wordpress, followed by the; number cannot omit mysql > grant all on wordpress.* to username @ localhost identified by 'password'
The next step is to extract the downloaded wordpress package to the / var/www/html/ directory
Tar xf / path/to/wordpress.tar.gz / var/www/html/
Enter this directory and make a copy of the wp-config-sample.php and name it wp-config.php. (this is the configuration template for wordpress)
Modify the wp-config.php file
/ / * * MySQL settings-specific information comes from the name of the host you are using * / define ('DB_NAME',' wordpress'); / * MySQL database username * / define ('DB_USER',' username'); / * MySQL database password * / define ('DB_PASSWORD',' password')
Then you can visit it. (example: www.xxx.com/wordpress)
Beautification chapter
Add a plug-in:
Update plugin for blog Times error
To perform the requested operation, WordPress requires access to your web server. Please enter your FTP login credentials
The reason is that the apache service sometimes does not have permission because it is not compiled and installed by itself, the solution
Change the owner of all files in the wordpress directory to apache
Chown apache / var/www/html/wordpress/*
Change wp-content directory permissions to 777
Chmod 777 / var/www/html/wordpress/wp-content resolved that "to perform the requested operation, WordPress requires access to your web server"
Modify the wp-config.php file
Define ("FS_METHOD", "direct")
Define ("FS_CHMOD_DIR", 0777)
Define ("FS_CHMOD_FILE", 0777)
Add the above three lines at the end of the wp-config.php file.
Then, change the / var/www/html/wordpress/wp-content/* owner to apache
In this way, we have no problem downloading plug-ins and theme installations in the wordpress background.
Change theme
Under the appearance-theme, you can change the theme, or you can download it from other places and upload it.
I'd like to share with you a topic I'm using: https://pan.baidu.com/s/1pK7bxmr extraction code achq.
Just install and enable it.
Add background music
1. Search for Hermit in the plug-in and install it. You can add a music library, which can be easily accessed when writing articles. At the same time, when writing an article, you will find that there is an extra button to add music at the top of the edit bar.
2. Use the flash plug-in
Through the dashboard-sidebar gadget, add a text to the right, and the title can be taken from Music, etc. The contents are as follows
Find a song in NetEase Yun's music and click to generate the outer chain player.
Just copy the code into the content.
Add a personalized clock
Download and install the search plug-in WP_FlashTime Widget.
Then also find the dashboard-sidebar gadget, add a text to the right, the title can be named time, etc., and the empty default title is WP_FlashTime Widget
Width and height can be set. Clock Number refers to the clock type, all of which are shown below.
Just choose the one you like.
Of course, the above is just some simple knowledge, and please point out the shortcomings. Welcome to communicate.
Written at 21:47 on 2016-04-14
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.