Not a developer? Go to MovableType.com

MT5 Documentation

Windows Server Installation Instructions

Internet Information Services (IIS) 7.0 is a standard attached webserver function in Windows Server 2008. In this section we will describe how to use Movable Type in the IIS environment. Please note that using Movable Type with pre-IIS versions will require different settings on account of the different OS. We recommend the following directory construction, as outlined in Preparing for New Installation. These instructions assume you are using the MySQL database server.

New Installation Steps

  1. Install Perl
  2. Decompress and Amend Files
  3. Create Folders
  4. Set Access Permissions
  5. Move Files
  6. Register Virtual Directory
  7. Settings For Running CGI Script
  8. Register Default Content Pages
  9. Confirmation and Access Control Settings

MySQL Database Server

Use your web browser to connect to http://mysql.com and follow the links and instructions to download the most recent MySQL installer for Windows. Run the installation program selecting a Typical setup. Select the option to Configure MySQL Now and choose Standard Configuration with the default settings. Enter a root password, save your settings, and finish the wizard.

MySQL GUI Tools

Use your web browser to connect to http://mysql.com and follow the links and instructions to download the most recent MySQL GUI Tools for Windows. Run the installation program to install with default settings.

Set Up the Movable Type MySQL Database

  • Start the MySQL Administrator program. In the Start menu, select MySQL > MySQL Administrator.
  • In the Connect to a MySQL server instance: dialog, fill in these fields:
    • Server host: localhost
    • Username: root
    • Enter the root password you specified when you installed the MySQL server.
  • Click on the Service Control icon. Check that the message displays "MySQL Service is Running."
  • Click on the Catalogs icon. In the empty lower-left pane, click your right mouse button to display a context menu and select Create New Schema. Name the new schema movabletype.
  • Click the User Administration icon, then right-click in the lower-left pane (the user list). Choose Add New User. Name the new user mt_user and specify a password for the user. You will need to supply the schema name, user name, and password when you install Movable Type.
  • Select the Schema Privileges tab in the right pane and select the movabletype schema in the list of schemas. Assign the following privileges for this user then click Apply changes.
    • SELECT
    • INSERT
    • UPDATE
    • DELETE
    • CREATE
    • ALTER
    • CREATETMPTABLE.
  • Restart MySQL. Click the Service Control icon and click Stop Service. Wait until the service is stopped, and then click Start Service.

Installing Perl

Make settings that allow you to use Perl in Windows. Use your web browser to connect to connect to http://www.activestate.com/activeperl and follow links and instructions on that site to download the latest Windows MSI package. After downloading, run the setup program using all the default settings.

You also need to install CGI for IIS

  1. Run "Server Manager" under Admin Tools.
  2. Choose "Roles Services"
  3. Install both "CGI" and "ISAPI" Extensions under "Application Development"

Start the Perl Package manager to install Perl modules required by Movable Type. From the Start menu, select All Programs>ActivePerl>Perl Package Manager.

If you see a Windows Security Alert, click Unblock to give the Perl Command Line Interpreter permission to access the web. In the Search box, type DB and press Enter. You see a list of packages that contain the letters DB.

  1. Select the package named DBI and chose Install DBI from the Action menu.
  2. Select the package named DBD-mysql and chose Install DBD-mysql from the Action menu.
  3. Choose Run Marked Actions from the File menu to install the two packages.

PHP

PHP is required only if you want to use Movable Type dynamic publishing or customize Movable Type with scripts authored in PHP. Use your web browser to connect to http://www.php.net and follow links and instructions for downloading the Windows PHP installer. Run the downloaded installation program leaving all of the default settings. The installer automatically configures IIS to work with PHP.

Create a Folder

Use Windows Explorer to create the directoris for Movable Type.

Application Directory

  • C:\Inetpub\wwwroot\mt
    • http://www.example.com/mt/
    • Permissions : "Read & Execute", "List folder contents", "Read"

Static Directory

  • C:\Inetpub\wwwroot\mt-static

    • http://www.example.com/mt-static
    • Permissions : "List folder contents", "Read"
  • C:\Inetpub\wwwroot\mt-static\support

    • http://www.example.com/mt-static/support
    • Permissions : "Modify", "Read & Execute", "List folder contents", "Read", "Write"

Website Directory

  • C:\Inetpub\wwwroot\
    • http://www.example.com/
    • Permissions : "Modify", "Read & Execute", "List folder contents", "Read", "Write"

Access Permissions and Settings

Follow these steps to set access permissions for the folder you created:

  1. Right Click the folders to selcet "Properties" and choose the "Security" tab.
  2. Allow permissions to internet guest accounts (IUSR_).

Moving Files

Use a Web browser to connect to the Movable Type Download page and follow instructions there to download the Windows (.zip) release file. Double-click to extract the release files from the .zip file. You'll see a folder named after the current Movable Type release. Rename this folder to mt. Use Explorer to Move the Decompressed Package like this:

  • Move all the files in the mt-static directory in the extracted package to the static directory you created.
  • Move all other files not located in the mt-static directory to the application directory you created.

Registering Virtual Directory

Set virtual directory to access the application directory, static directory and website directory from the web browser.

  1. Run "Internet Information Service (IIS) Manager" under Admin Tools.
  2. Choose "Default Web Site" under "Sites."
  3. Choose "Add Virtual Directory" from the right click menu and run the virtual directory wizard.
  4. For "Alias", enter the name (mt, for example) you use to access from the web browser. Enter the physical path ( C:\inetpub\wwwroot\mt, for example) for the Alias folder and click the "OK" button.

Settings for Running CGI Script

Make settings for running CGI script.

  1. Run "Internet Information Service (IIS) Manager" from "Admin Tools."
  2. Choose "Default Web Site" from "Sites."
  3. Choose the virtual directory for the folder that installed Movable Type.
  4. Choose "Handler Mapping" under "Features View" and click "Open Feature" in the right click menu.
  5. Click "Add Script Map..." in the Actions menu.
  6. Make the following settings to permit running CGI script.
    • Request path: *.cgi
    • Executable: C:\Perl\bin\perl.exe "%s" %s
    • Name: CGIPerl

Registering Default Content Page

In Movable Type, index.html is a default content page. Follow these steps to register this page.

  1. Run "Internet Information Service (IIS) Manager" from "Admin Tools."
  2. Choose "Default Web Site" from "Sites."
  3. Choose the virtual directory for the folder that installed Movable Type.
  4. Choose "Default Document" under "Features View" and click "Open Feature" in the right click menu.
  5. Click "Add..." in the Operations menu. Type "index.html" and click the "OK" button.

Authentication and Access Control Settings

Make the following settings for access to Movable Type's admin screen and blog pages:

  1. Run "Internet Information Service (IIS) Manager" from "Admin Tools."
  2. Choose "Default Web Site" from "Sites."
  3. Choose the virtual directory for the folder that installed Movable Type.
  4. Choose "Authentication" under "Features View" and click "Open Feature" in the right click menu.
  5. Make sure "Anonymous Authentication" is activated and choose "Anonymous Authentication." Click "Edit..." in the right click menu and make sure the username is the same as the internet guest account.
Back

Leave a Comment