I. [tools and environment]
1. Install Windows 7 + iis7.5;
2. Install MySQL mysql-essential-5.0.67 32-bit;
3. Install PHPPhp-5.2.1232-bit;
4. Deploy WordPressWordpress-2.9-zh_CN.zip
2. [integrate iis + php + mysql on windows]
3. [install wordpress]
1. Download WordPressWordpress-2.9-zh_CN.zip 32-bit, unzip wordpress-2.9-zh_CN.zip to D: Server_Corewordpress
2. Create a WordPress database.
Open the cmd console, enter mysql-u root-p, and enter the password.
View the existing database, and enter: show databases;
Create WordPress database wordpress_db and input: create database wordpress_db;
The operation is as follows:
3. Open the wp-config-sample.php with a text editor, change the file name to wp-config.php and make the following changes
The last modification is accessible.Https://api.wordpress.org/secret-key/1.1/Obtain
4. Add a WordPress site, open ISS7.5, and "add a website ":
5. Configure the site: OpenHttp: // localhost/wp-admin/install. phpEnter the blog title and your email
Install WordPress
This is the place where you can explore the rest!
IV,
WordPress
Site backup and migration
Finally, let's talk about how to back up and migrate WordPress sites,
1. It is easy to back up IIS sites. You only need to back up the D: Server_Corewordpress folder directly.
2. Back up and restore the wordpress_db database is the same as that for direct operations on the D: Server_CoreMySQLdatawordpress_db folder. You only need to stop the MySQL service before the operation.
Go to the control panel and open "service"
Find MySQL
Stop this service
Open the MySQL database storage directory D: Server_CoreMySQLdata
Back up and restore the wordpress_db folder.