web hosting
hosting
web design
design
domains
domains
resellers
resellers
about us
about us
support
support
contact us
contact us
 

Domain Check
Is your domain available?

Movable Type

Movable Type is a weblogging CGI script used for journals, news, site updates and the like. You can download it from movabletype.org. The "lite" version is the best one to use on Imbri Web servers.

  • First you will need to create your MySQL database and user.
    • Log into your CPanel and click on MySQL Databases.
    • Under Databases, type blogdb into the Db box, and click Add Db.
    • Under Users, type bloguser into the Username box, give it a password, and click Add User.
    • Select the username in the User dropdown box, and the database in the Db dropdown box, and click Add User to Db. They will be in the format of domainusername_bloguser and domainuser_blogdb.

  • Next you need to configure the script.
    • Unpack the .tar.gz archive onto your computer, so that you can configure the files before uploading them. You will need to open all files ending with .cgi, and make sure that the path to Perl in the first line of the script is set to the following:
      /usr/bin/perl
      Note: despite its extension, mt-db-pass.cgi is not a normal Perl script, so it should not contain the path to Perl.

    • Choose where on your account you would like to install and access the script; for example: http://www.yourdomain.com/blog. We do not recommend installing it in your /cgi-bin/, as files other than .cgi will not function in that directory.

    • Open the file mt.cfg in a text editor. You will need to set your configuration options and settings in this file. Change CGIPath to the URL where you chose to install Movable Type. For example:
      CGIPath http://www.yourdomain.com/blog/
      Note: make sure that the URL ends with a forward slash /

    • Add these lines to mt.cfg:
      ObjectDriver DBI::mysql
      Database domainuser_blogdb
      DBUser domainuser_bloguser
      DBHost localhost
      domainuser_blogdb is the database you created, and domainuser_bloguser is the user you added to it.

    • That should be all the editing you need to do, so save and close mt.cfg.

    • You probably noticed that there was no setting for the database password in mt.cfg. For security it is instead set in the file called mt-db-pass.cgi. Open this file in your text editor. Replace database_password with the password you gave your database user. Save and close the file.

  • Now you need to upload your files. Connect to your account via FTP. If the directory where you chose to install Movable Type does not exist, create it. Then open that directory, and upload all of the MT files.

    Make sure to upload all text files in in ASCII mode and all images in binary mode. docs, lib, extlib, mt.cfg, styles.css, tmpl, schemas, search_templates, plugins, and all of the CGI scripts (mt.cgi, etc.). should be uploaded in ASCII, while the images directory should be uploaded in binary.

  • Once it's all uploaded, set the permissions of all CGI scripts (file ending in .cgi) to 755. This is usually done by hilighting the files, right-clicking them, and selecting CHMOD or permissions. Read more about permissions here.

  • If you are going to be storing your weblog files in a different directory than the script files, create this directory now, and CHMOD it to 777. If you are going to store the files in the same directory as the script files, i.e. http://www.yourdomain.com/blog/archives, create the /archives/ directory and CHMOD it to 777.

  • That's it! Now you can call the script in your browser at http://www.yourdomain.com/blog/mt.cgi and start posting. If you run into trouble, view the manual at http://www.movabletype.org/documentation.shtml.

copyright © 2000-2004 Imbri Web