Linux Installation WordPress
WordPress is a blogging platform developed using the PHP language. Users can set up their own blogs on servers that support PHP and MySQL databases. You can also use WordPress as a content management system (CMS). WordPress is a free, open source project licensed under the GNU General Public License. WordPress is considered the official successor of the blogging platform b2/cafelog developed by Michel Valdrighi. Wordpress is a BLOG program that allows you to set up your own BLOG.
One. Download address
Select the latest version (wordpress-3.3.1) http://wordpress.org/download/
by downloading address. Installation Steps
1. Make sure that your linux server has php, mysql, and apache services installed. If it is not installed, please refer to the following command: yum – y install httpd php php-gd php-mysql mysql -server mysql-client
2. Modify the apache configuration file, refer to the command vi /etc/httpd/conf/httpd.conf
-- find the following:
AddType Application/x-compress .Z
AddType application/x-gzip .gz .tgz
-- Then add the following:
AddType application/x-httpd -php .php .php3
AddType application/x-httpd-php-source .phps
Save and exit, and restart the apache reference command: service httpd restart
3. Create a file index.php under /var/www/: php
4. Modify mysql password
#mysqladmin password 123456
Login mysql:# Mysql -u root -p
5.Create database and build wordpress user
mysql> create database wordpres s;
mysql> grant all on wordpress.* to wordpress@localhost identified by 'portalhuan.123';
6. Refresh privileges.
mysql>flush privileges;
7. Download the latest version of wordpress (3.3.1) and copy the files from the extracted wordpress directory to the /var/www/directory. Enter the wordpress directory
Rename wp-config-sample.php to wp-config.php.
Open wp-config.php with vim and enter the database information.
define('DB_NAME', 'wordpress'); //The name of the database
define('DB_USER', 'username'); //Your MySQL username
define('DB_PASSWORD', 'password'); //…and password
define('DB_HOST', 'localhost'); //99% chance you won't need to change this value
Copy the files in the extracted wordpress directory to the /var/www/directory (not including the wordpress directory)
Test installation
Linux and BSD are free, open source, Unix-like systems. They even use a lot of the same software. T
Think about it, what if you want to change the size of an image to a smaller size? Of course, I will
In the adb shell terminal, enter ps, you can view all current process status of the phone, where the
In the era of Internet, the high availability of the network has always been a very critical part, n
Explanation of various keywords in Verilog HDL language
The best database management software under linux
How to learn linux programming
Sublime Text 3 Beta 3019 Features Overview
How to install software in Linux operating system
Talking about the anti-deletion method of Linux file system
VPS disk full full led to ngnix can not start
Virtual machine VMware uninstall is not a thorough solution
Linux file lookup command find, xargs details
Linux disk partitioning, formatting, verification, mounting basic tutorial
How to add background music to a folder
How to open or close win7 firewall?
Detailed explanation of Win8 acquisition authorization and downgrade strategy
Win10 preview version 10041 common problem summary and solution
mSQL database development technology under Linux
Microsoft's innovation focus shifts
Xp how to hide recently opened files
Linux operating system sound card driver installation and configuration