* Movable Type Install Guide For People Who Don’t Read Instructions

% echo begin
% echo setup mysql database
% cd /var/db/mysql
% mysql –user=root –password
mysql> SHOW DATABASES;
mysql> USE my_mt_database;
mysql> GRANT ALL PRIVILEGES ON *.* TO foo@bar.com
-> IDENTIFIED BY ‘my_password’ WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO foo@”%”
-> IDENTIFIED BY ‘my_password’ WITH GRANT OPTION;
mysql> QUIT
% echo ftp mt installer here
% cd www.erikjheels.com/mt/
% mkdir mt-static
% gunzip MT-2.661-full-lib.tar.gz
% tar xvf MT-2.661-full-lib.tar
% rm mt-bin/MT-2.661-full-lib.tar
% mv MT-2.661-full-lib mt-bin
% echo tweak mt.cfg
% emacs mt.cfg
% chmod +x *.cgi
% chown -R my_username:www .
% mkdir mt-static
% cd mt-bin
% mv styles.css docs images ../mt-static/
% echo make mt-bin a cgi directory
% emacs /usr/local/apache/conf/httpd.conf
% restart_apache
% lynx https://www.giantpeople.com/mt/mt-bin/mt-check.cgi
% echo disable mt-check.cgi for possible reinstall
% mv mt-check.cgi mt-check.cgi.bak
% chmod -x mt-check.cgi.bak
% emacs mt-db-pass.cgi
% lynx https://www.giantpeople.com/mt/mt-bin/mt-load.cgi

> Loading initial data into system…
> Loading database schema…
>
> Loading weblog…
> Loading author…
> Loading permissions…
> Loading templates…
> Mapping templates to blog archive types…
> Mapping template ID ’12’ to ‘Daily’
> Mapping template ID ’12’ to ‘Weekly’
> Mapping template ID ’12’ to ‘Monthly’
> Mapping template ID ’13’ to ‘Category’
> Mapping template ID ’14’ to ‘Individual’
>
> Done loading initial data! All went well.
>
> VERY IMPORTANT NOTE:
>
> Now that you have run mt-load.cgi, you will never need to run it
> again. You should now delete mt-load.cgi from your webserver.
>
> FAILURE TO DELETE mt-load.cgi INTRODUCES A MAJOR SECURITY RISK.

% echo or disable mt-load.cgi for possible reinstall
% mv mt-load.cgi mt-load.cgi.bak
% chmod -x mt-load.cgi.bak
% lynx https://www.giantpeople.com/mt/mt-bin/mt.cgi
% echo You can select Edit Profile to change Melody — the default user — to whatever.
% echo You can select Weblog Config to change First Weblog — which has blog_id=1 — to whatever.
% echo end