Installing Movable Type under Gandi AI.

Necessary Gandi AI packages:

  • Apache
  • MySQL
  • Perl (installed by default in Gandi AI)
  • Postfix
  • PHP
  • FTP access

I. Getting and uploading the files

1. Download the application from http://www.movabletype.org

Note: The file is a zip file, so you will not be able to unzip it once it is on your server. Therefore, I recommend unzipping the file that you downloaded before your upload it to your Gandi AI server. This will create a file called “MTOS-4.12-en” (or similar, depending on the version number).

1. Create MySQL Database for your blog via your Gandi AI interface

2. Upload the directory called “mt-static” from the movable type folder to your virtualhost. Put it in the htdocs directory.

Be sure to not rename the directory “mt-static”. At the end of the installation process you will be asked to specify the name of your blog. At that time it will generate a URL name that corresponds to the blog name. “mt-static” is not seen in the URL.

3. Find the cgi-bin folder on your server (it is in the same directory as the htdocs and logs folder (here: /srv/(your disk name)/www/(your virtualhost name)/cgi-bin)

Open the cgi-bin directory, and make a folder in there called mt.

4. Upload all the other movable type files into that folder. Be sure that all the files that end in .cgi have the right to “execute”. Change the rights to the mt folder and its contents to 770.

5. Be sure that the “support” directory in your “mt-static” directory is writable by your Apache HTTP server (change its rights to 777)

II. Configuring Movable Type

1. Open your web browser and run the installation program by going to :

http://virtualhost/cgi-bin/mt/mt.cgi 

where you replace “virtualhost” in the above link with the name of your virtualhost. For example, if your virtualhost is www.example.com you would type: http://www.example.com/cgi-bin/mt/mt.cgi or if your virtualhost is just example.com, you would type http://example.com/cgi-bin/mt/mt.cgi

2. You will now see the “Configure Static Web Path” page:

mt-configure1.jpg

In “Static web path” indicate the location of your movable (the mt-static folder you uploaded earlier).

In “Static file path” indicate the absolute path to the folder. For example:

/srv/diskname/www/www.example.com/htdocs/mt-static

Where “diskname” is replaced by the name of your server's disk, and where “www.example.com” is replaced with the name of your virtualhost.

3. You will now see the requirements check:

requirements.jpg

Click on “continue”

4. You will now get to the Database Configuration page:

dbconfig.jpg

Here is where you will enter the database information that you created at the very beginning. You will only need to change the Database name, Username and Password. You should not touch the other settings. Click “test connection” when done

5. If you have correctly created your database before starting the process, and if you have entered all the correct information in the database configuration page, you will see a message telling you that the database configuration is complete. Click “continue” to continue.

6. You must now specify the mail configuration:

mailconf.jpg

You need to select “Sendmail” from the dropdown menu. Do not change the default settings.

Click “Continue” to continue, and you will see the following confirmation. Click “continue” to finish.

doneconf.jpg

7. Now, you need to enter your Movable Type account login information:

createaccount.jpg

8. Creating your first blog

Finally, you will see an interface where you will specify the name of your blog. This will also be the URL of your blog as well.

9. Database initialization

Movable Type will now initialize your database. When done, you will see a message saying “Installation Complete!”. Click on “Sign into Movable Type” to continue.

Finished

And you are done! You may now have fun with your new Movable Type blog hosted by yourself on your Gandi AI server.


Last modified: 10/18/2012 at 20:17 by Thomas S. (Gandi)