กำไร วัน ละ 500_คาสิโนฟรีไม่มีเงินฝากถอนได้ _ฟรี เครดิต ยิง ปลา
This guide is specific to installing Movable Type using SSH to transfer and edit files on the server.
Note: Though this guide uses the version
MT-5.0-en, it can be used to guide the installation of versions MT4.x or MT3.x as the install process is nearly identical.
For the purpose of this guide we’ll assume the following variables, substitute as necessary.
- web root directory:
- database: MySQL (and that you have the database details)
Compared to the Install via FTP instructions, these instructions have a slightly more abstracted setup (using symlinks, keeping the
mt-static dir in the application directory, etc) to provide simpler future maintenance and upgrades. Refer to the Detailed Step-by-Step Installation Guide for more info and the installation troubleshooting guide for common roadblocks.
In a terminal, SSH to the server and change to the cgi-bin directory:
$ ssh melody@examplecom $ cd /www/var/cgi-bin
Get the latest version of Movable Type:
Login to the
cgi-bindirectory and download get the wget the latest open source version of Movable Type:
$ wget http://movabletype.org/stable/MT-5.0-en.zip
Note: For Movable Type Pro, after downloading to your local computer from movabletype.com/download, copy it to the server. From your local computer:
$ scp MT-5.0-en.zip firstname.lastname@example.org:/www/var/cgi-bin/
Unzip the application archive:
$ unzip MT-5.0-en.zip
Create a symlink from “mt” to version of the application directory in the
cgi-binso that Movable Type can be accessed without the version number in the URL:
$ ln -s MT-5.0-en mt
Change directory to the application directory:
$ cd MT-5.0-en
Update file permissions.
mt-static/support(static support directory) to be writable:
$ chmod 777 mt-static/support
themesdirectory to be writable:
$ chmod 777 themes
themesdirectories can be 775 if the web server user is in the directories’ group or 755 if the web server user owns the directories. Read more about File Permissions.
Create a symlink to the
mt-static(static directory) in the web root:
$ ln -s mt-static ../../html/mt-static
Copy the default configuration file to create the configuration file:
$ cp mt-config.cgi-original mt-config.cgi
Open the configuration file in your preferred command line editor (such as “vi” or “emacs”) and update the content to the following basic config. Insert the database details for your mysql database for the placeholders. Refer to the MySQL database configuration documentation if advanced database settings necssary):
CGIPath http://www.example.com/cgi-bin/mt/ StaticWebPath http://www.example.com/mt-static/ ObjectDriver DBI::mysql Database DATABASE_NAME DBUser DATABASE_USERNAME DBPassword DATABASE_PASSWORD DBHost localhost EmailAddressMain email@example.com
StaticFilePathis not necessary because it was not moved out of the application directory.
Access the Movable Type application in a web browser. The URL will be similar to this:
Tip: If there are any errors, view the
mt-check.cgiscript which should be located at a URL similar to:
Create the administrator account. Click “Continue”.
- Create the first website. Click “Finish”. Movable Type will then initialize the database with all the configuration options and settings specified.
- Click “Sign into Movable Type” and start bloggin!
Warning: because the mt-check.cgi script displays server details which could be useful to a hacker, it is recommended that this script be removed or renamed. If renamed, use the
CheckScriptdirective so that Movable Type knows where the script was moved.
- Create pages in the website
- Create a blog in the website
- Complete out your profile, etc.