How to build a Typecho website on the console of IIS + PHP + MYSQL + N in Win2003

Source: Internet
Author: User
Many of my friends don't know how to get a website after they buy win vps, today, I will explain in detail how to use IIS + PHP + MYSQL + N point host panel in Win2003 VPS to build a Typecho website graphic tutorial:
I. Preparations:
1. Obtain the IP address (assigned to you by the service provider after purchase) and administrator password (provided on the VPS management panel) from the VPS service provider to ensure that your VPS system is Windows 2003, bypass other systems. If not, go to the VPS management panel and re-create the system.
2. Use remote desktop to connect to your WIN host. After entering, VPS host providers generally install IIS and directly display the tool folder on the desktop, which contains the required software, if you do not have it, download it by yourself or contact your VPS host provider.
Software to be prepared:
The code is as follows: Copy code
3389x.rar # used to modify the remote port
Zkeysphp.rar # used to install PHP + MYSQL + PHPMYADMIN directly under IIS (prerequisite: IIS is installed first .)
ServU6.4.rar # FTP Software
ISAPI_Rewrite_Full.rar # httpd. ini pseudo-static plug-in supported in IIS environment
Sql200020.sp4.rar # Support for asp.net mssql database and SP4 patches
N196.msi # N point host Management Panel Software
The code is as follows: Copy code
Above software package download: http://pan.baidu.com/share/link? Consumer id = 101259 & uk = 2316326898
3. After entering the desktop remotely, you must first change the VPS password, right-click "My Computer" and choose "manage"> "system tools"> "local users and groups"> "users". The first one is "administrator". You can right-click to change the password.
4. The obtained VPS only has system C partitions. In this case, you need to expand your additional disk partitions: click "save"-"Disk Management"-right-click the space not assigned (19.99 GB in the figure)-"create disk partition ".
Go directly to the next step and select "execute quick format" as shown in the following figure. Click "next.
OK, as shown in the following figure:
The D drive partition is also displayed on my computer:
II. Installation environment: (IIS is installed by most VPS service providers. If not, you can resolve it yourself .)
1. Open the desktop tool folder and decompress all the files, as shown in the following figure:
2. Open 3389x.rar and modify the remote port on your own. Remember to enable the remote desktop check box and add the modified port after the host restarts.
3. Open zkeysphp.rar and install the one-click installation package of PHP + MYSQL + PHPMYADMIN under IIS. The next step is complete.
After the installation is complete, enter the URL http: // IP: 999/index in your computer. php enters PHPMYADMIN to change the MYSQL root password (the default password is zkeys). You can go to the IIS management center and see the following figure:
4. Open ServU6.4.rar to install FTP Software. First install the original English version, and then install the Chinese package. Remember to open an FTP account first, otherwise the host management panel will not be available.
4-1. Make sure that the FTP software is installed in a non-system partition. I am going to drive D here: (required for host configuration)
4-2. After the Chinese package is installed, follow the prompts to install it step by step. After all the installation is complete, run the keygen.exe registration machine. After registration, there will be no limit to users.
5. Install the ISAPI_Rewrite_Full.rar full-featured pseudo-static component. Register it after installation. The serial number is included in the compressed package.
6, install sql200020.sp4.rar, detailed installation steps: http://www.weidao.net/1495.html
7. Restart Windows VPS and check that the FTP and MSSQL taskbar icons in the lower right corner are enabled.
So far, IIS + PHP + MYSQL + PHPMYADMIN + FTP + IIS full-featured pseudo-static (httpd. ini) installation has been completed. Next, we will install the N-point host management panel and bind all the above items to the panel to facilitate our operations.
3. Installation panel:
1. Run the host management panel software at. Remember to install the software on a non-system disk (usually a D disk) and click install.
2. Double-click "N-point host configuration tool" on the desktop, as shown in the figure. Enter the encryption character and click "set". The background address and password are displayed.
3. Open your computer's browser and enter the address to log on to the configuration. If the address cannot be accessed, go to VPS and open the IIS Management Center-"Web service extension"-"Active Server Pages"-"allow" on the right, as shown in the figure:
4. Log on to the host management background at, and quickly change the password as the "Administrator settings" on the left side.
5. On the left side of the panel, "Space storage path settings" is shown in the figure:
6. On the left side of the panel, "host system parameter settings" is the key:
The code is as follows: Copy code
6.1. Server IP address: enter your vps ip address;
6.2, FTP service software: Serv-U 6.4
6.3, default document: add default. asp
6.4, Serv-U/G6 installation path: D: Serv-U (the path you just installed)
6.5. MSSQL administrator password: The sa password you set.
6.6. MYSQL data storage path: D: ZkeysSoftMySqlMySQL Server 5.1 data (is zkeys a D Disk)
6.7, MYSQL administrator password: the password of your own root database
Click modify configuration. OK.
4. Website opening:
1. Go to the left side of the point N Management Panel and click "site virtual host opening", as shown in the figure:
Browse your domain name. Congratulations, your VM has been activated.
2. Activate MSSQL and MYSQL. This is relatively simple.
3. Enter the IP address directly and you will see the host login page. Here you can freely manage the host space and database you just opened.
4. Download the TYPECHO blog program (official address: typecho.org), decompress the package and package it into typecho.rar and upload it to your FTP web folder.
5. Go to the host Panel and click "extract files online", as shown in the following figure:

6. Enter the domain name you bound and install TYPECHO now!

TYPECHO httpd. ini pseudo-static

Httpd. ini under IIS

Not perfect. For more information, see modify.

[ISAPI_Rewrite]
#3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Chinese tag Solution
RewriteRule/tag/(. *)/index. php? Tag = $1
# Sitemapxml
RewriteRule/sitemap. xml/sitemap. xml [L]
RewriteRule/favicon. ico/favicon. ico [L]
# Content page
RewriteRule/(. * example .html/index. php/example 1.html [L]
# Comment
RewriteRule/(. *)/comment/index. php/$1/comment [L]
# Category page
RewriteRule/category/(. *)/index. php/category/$1 [L]
# Paging
RewriteRule/page/(. *)/index. php/page/$1 [L]
# Search page
RewriteRule/search/(. *)/index. php/search/$1 [L]
# Feed
RewriteRule/feed/(. *)/index. php/feed/$1 [L]
# Date archiving
RewriteRule/2 (. *)/index. php/2 $1 [L]
# Uploading images
RewriteRule/action (. *)/index. php/action $1 [L]
Another:

[ISAPI_Rewrite]
RewriteRule ^/admin (. *)/admin/$1 [L]
RewriteRule ^ (. *) (html | htm) $/index. php/$1 $2 [L]
RewriteRule ^ ([^.] +) $/index. php/$1 [L]
The first redirection background address
Article 2 rewrite with the html htm suffix
Article 3 exclude all the remaining overwrites "."

The following is like WP, which is only for reference.

[ISAPI_Rewrite]
#3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd. ini and httpd. parse. errors files
# From accessing through HTTP
# Rules to ensure that normal content gets through
RewriteRule/sitemap. xml/sitemap. xml [L]
RewriteRule/favicon. ico/favicon. ico [L]
# For file-based wordpress content (I. e. theme), admin, etc.
RewriteRule/wp-(. *)/wp-$1 [L]
# For normal wordpress content, via index. php
RewriteRule ^/$/index. php [L]
RewriteRule/(. *)/index. php/$1 [L]
Note: Remember to enable address rewriting in permanent link settings in the background.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.