RimuHosting: Mighty Linux Servers.  Support Worth Raving About
Plans & Pricing
Server Recommendation Tool
Server Types
  VPS
  Semi-dedicated Server
  Dedicated Server
Server Locations
  Dallas
  London
  Australia
VPS Technology
Hardware
Data Centers
Linux Distributions
Applications
Maintenance Notices
Support Ticket
Control Panel
HOWTO Articles
Forums
VPS control panel
Billing details
Receipts
Contact details
DNS
Reverse DNS
Console-over-SSH
FTP backup space
Backup mail server
About
Staff
News
Customer Testimonials
Sales Inquiry
Link To Us
Terms and Conditions
Site Map

Order VPS Hosting
Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.

Get Assistance
Ask our support team about your hosting requirements.


Host where the staff takes pride in making customers happy

Great !.. Thanks I'm very impressed with the quick turnaround time Rimu has!

- Steve (after fixing up a setup misunderstanding) (#237/269)
Home > Support > HOWTO List > Applications > Movable Type

Application-related howtos

Get Blogging: Installing Movable Type

Ever wanted to share your thoughts with the world?  Movable Type is a popular blogging application, free for personal use.

This HOWTO describes how to get it installed on your server.  It is based on the instructions per: http://www.movabletype.org/docs/mtinstall.html#downloading.  

First, you will need to install some necessary (and some optional) Perl modules. CPAN is the source of those modules. Start by checking you have CPAN installed: apt-get install perl-CPAN

.

If this is the first time you have made CPAN modules, run perl -MCPAN -e shell. When it asks you if you are you ready for manual install say no. Then it will select the defaults values.

Now install your new modules:


{
perl -MCPAN -e shell << EOJ
install Image::Size File::Spec DB_File DBD::mysql CGI::Cookie LWP::UserAgent SOAP::Lite
File::Temp
exit
EOJ
}

Make sure that your Apache /var/www/html Directory allows script execution (i.e. the ExecCGI option).  E.g:


{
replace "Options Indexes FollowSymLinks" "Options Indexes FollowSymLinks ExecCGI" -- /etc/httpd/conf/httpd.conf
replace "#AddHandler cgi-script .cgi" "AddHandler cgi-script .cgi" -- /etc/httpd/conf/httpd.conf
/etc/init.d/httpd restart
}

Run lynx and complete the form to download Movable Type:


cd ~
lynx http://www.movabletype.org/download.shtml

Prepare some per-install settings:


version=2.64 #set your version here per the filename you downloaded
domainname=`hostname` #or set your domain name here
password=adatabasepasswordforthemovabletypedatabasehere

Extract and install Movable Type:


{
cd /var/www/html
tar xzvf ~/MT-$version-full-lib.tar.gz
mv MT-$version-full-lib movabletype
chmod o+w movabletype
cd movabletype
replace "CGIPath http://WWW.YOUR-SITE.COM/PATH/TO/MT/" "CGIPath http://$domainname/movabletype/" -- mt.cfg
echo "
NoTempFiles 1
ObjectDriver DBI::mysql
Database movabletype
DBUser movabletype" >> mt.cfg

chkconfig --level 35 mysqld on
/etc/init.d/mysql* start

mysql << EOJ
create database movabletype;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON movabletype.*
TO movabletype@localhost IDENTIFIED BY "$password"
EOJ

echo "$password" > mt-db-pass.cgi

chmod 755 mt*.cgi

echo "Go to a browser an load this URL:
http://$domainname/movabletype/mt-load.cgi"
}

After you load this URL and everything goes OK, then remove the file with the password in it (per the instructions):


rm mt-load.cgi

echo "Now log in as user Melody password Nelson at:
http://$domainname/movabletype/mt.cgi"

Change the username and password of the Melody user.

Append Movable Type to your 'Site URL' e.g. change it from http://yourdomainname/ to http://yourdomainname/movabletype.