ê±´ê°•ì„ ì§€ë‹Œ ì‚¬ëžŒì€ í¬ë§ì„ ê°€ì§€ê³ ìžˆì§€ë§Œ í¬ë§ì„ 가진 ì‚¬ëžŒì€ ëª¨ë“ ê²ƒì„ ê°€ì§€ê³ ìžˆë‹¤.―아ë¼ë¹„ì•„ ì†ë‹´
 * ì›ë¬¸ë§í¬ :
http://www.movabletype.org/docs/mtinstall.html
http://www.movabletype.org/docs/mtinstall.html
- ìƒëžµí• ê²ƒì€ ë‚˜ë¦„ëŒ€ë¡œ ìƒëžµí–ˆìŠµë‹ˆë‹¤.
1 다운로드하기 #
ë°°í¬ë³¸ì€ ê³µì‹ movabletype 사ì´íЏì˜
http://www.movabletype.org/download.shtmlì—서 ë‹¤ìš´ë¡œë“œí• ìˆ˜ 있다.
http://www.movabletype.org/download.shtmlì—서 ë‹¤ìš´ë¡œë“œí• ìˆ˜ 있다.
다운로드 가능한 movabletype ë°°í¬ë³¸ì—는 2가지 ë²„ì ¼ì´ ìžˆë‹¤. 하나는 ì‹œìŠ¤í…œì„ ì‹¤í–‰í•˜ëŠ”ë° í•„ìš”í•œ 외부 ë¼ì´ë¸ŒëŸ¬ë¦¬ë“¤ì„ í¬í•¨í•œ ë²„ì ¼ì´ê³ , 다른 하나는 movabletypeë§Œì„ ë‹´ê³ ìžˆëŠ” ë²„ì ¼ì´ë‹¤. 만약 호스팅업체가 ì´ë¯¸ ëª¨ë“ ëª¨ë“ˆì„ ì„¤ì¹˜í•´ë†“ì•˜ë‹¤ë©´, 외부 ë¼ì´ë¸ŒëŸ¬ë¦¬ê°€ 없는 "ë¼ì´íЏ"ë²„ì ¼ì„ ë‹¤ìš´ë¡œë“œ ë°›ë„ë¡ í•´ë¼. ê·¸ë ‡ì§€ 않으면 설치가 보다 쉬운(외부 ë¼ì´ë¸ŒëŸ¬ë¦¬ì— 대해서 ê±±ì •í• í•„ìš”ê°€ 없는) "í’€"ë²„ì ¼ì„ ë°›ì•„ 설치하ë¼.
다운로드가 ë나면 í™”ì¼ì€ .tar.gz í¬ë§·ìœ¼ë¡œ ë˜ì–´ìžˆë‹¤. ì´ê²ƒì€ Movable Type ë°°í¬ë³¸ì˜ ì••ì¶•ëœ ìƒíƒœì´ë‹¤. ì´ í™”ì¼ì˜ ì••ì¶•ì„ í’€ì–´ë†“ëŠ”ë‹¤.
2 ì„¤ì¹˜í• ì›¹ì„œë²„ìƒì—서 perl 경로 찾기 #
다ìŒì— 나열한 í™”ì¼ë“¤ì€ perl 스í¬ë¦½íŠ¸ë¡œ ìž‘ì„±ëœ í™”ì¼ë“¤ì´ë‹¤.
mt-add-notify.cgi mt-check.cgi mt-comments.cgi mt-load.cgi mt-send-entry.cgi mt-tb.cgi mt-search.cgiê° í™”ì¼ë“¤ì˜ 맨 ì²«ì¤„ì„ ë³´ë©´ perl 스í¬ë¦½íŠ¸ì˜ ì›¹ì„œë²„ìƒì—ì„œì˜ ì „ì²´ 경로가 ì 혀있다. (ì¼ë°˜ì 으로 #!/usr/bin/perl으로 ì§€ì •ë˜ì–´ìžˆë‹¤) ì´ê²ƒì„ ì„¤ì¹˜í• ì›¹ì„œë²„ì˜ perlê²½ë¡œì— ë§žê²Œ ê³ ì³ì£¼ì–´ì•¼í•œë‹¤. 만약 ì´ ë¶€ë¶„ë“¤ì„ ìˆ˜ì •í• ë•Œì—는 ê° ì¤„ì˜ ë§ˆì§€ë§‰ì— -w ì˜µì…˜ì„ ì‚ì œí•˜ì§€ 않ë„ë¡ ì£¼ì˜í•´ë¼. (즉, í™”ì¼ ê²½ë¡œë§Œ ì‚´ì§ ë°”ê¾¸ë„ë¡ í•˜ë¼). ì´ ì„¤ì •ì€ perl 스í¬ë¦½íŠ¸ë¡œ 하여금 ê²½ê³ ë¥¼ ë‚´ë„ë¡í•˜ëŠ” 옵션ì´ë©°, 남겨ë‘는 ê²ƒì€ ë§¤ìš° 중요하다.
보통 웹서버ìƒì—서 perl 스í¬ë¦½íŠ¸ì˜ ê²½ë¡œë¥¼ ì•Œì•„ë‚´ë ¤ë©´ 호스팅서비스나 웹관리ìžì—게 물어보거나 텔넷 í˜¹ì€ ì»¤ë§¨ë“œ 프롬프트ìƒì—서 다ìŒì„ ìž…ë ¥í•˜ë©´ ëœë‹¤.
$ whereis perlì´ ëª…ë ¹ì–´ëŠ” perlì˜ ì „ì²´ 경로를 ì•Œë ¤ì¤€ë‹¤.
Note: despite its extension, mt-db-pass.cgi is not a normal Perl script, so it should not contain the path to Perl.
3.1 어플리케ì´ì…˜ #
Choose where on your webserver you would like to install Movable Type. This is the location that you will use (from your web browser) when using the Movable Type system.
If you will be installing Movable Type into your cgi-bin directory, note that you will need to upload your static filesimages, docs, and styles.cssinto a directory outside of the cgi-bin. Static files cannot be left inside the cgi-bin, because the web server will try to execute them, rendering them unusable through the web interface.
A solution is to create a new directory in your web-accessible area called mt-static, then upload images, docs, and styles.css into that directory. Note the URL corresponding to mt-static, because you will need to use it later when configuring the system in your mt.cfg file.
TIP: You can make your Movable Type installation more secure if you run the system under cgiwrap or suexec. See these tips on using cgiwrap or suexec to find out if you have either of these tools.
3.2 ë°ì´íƒ€ë² ì´ìФ #
- MySQLì„ ì‚¬ìš©í• ê²½ìš° : 별ë„ì˜ ë””ë ‰í† ë¦¬ ìž‘ì—…ì´ í•„ìš”ì—†ë‹¤.
- 버í´ë¦¬ DB를 ì‚¬ìš©í• ê²½ìš°(기본 ì„¤ì •): ë°ì´íƒ€ ë² ì´ìФ í™”ì¼ì„ ì €ìž¥í• ì›¹ì„œë²„ ìƒì˜ ë””ë ‰í† ë¦¬ë¥¼ ìƒì„±í•œ 후 따로 기억해둔다.
3.3 ì—¬ëŸ¬ë¶„ì˜ ë¸”ë¡œê·¸ ë””ë ‰í† ë¦¬ #
ì—¬ëŸ¬ë¶„ì˜ ì›¹ë¡œê·¸ê°€ ì €ìž¥ë ë””ë ‰í† ë¦¬ë¥¼ 만들 필요가 있다. ì´ê²ƒì€ ì—¬ëŸ¬ë¶„ì˜ ì›¹ì‚¬ì´íŠ¸ë¥¼ 방문하는 방문ê°ë“¤ì´ ì—¬ëŸ¬ë¶„ì˜ ë¡œê·¸ë¥¼ ì½ê¸°ìœ„한 위치가 ëœë‹¤. 만약 ì›í•œë‹¤ë©´, 주 웹로그와 다른 별ë„ì˜ ë””ë ‰í† ë¦¬ì— ì›¹ë¡œê·¸ë¥¼ ì €ìž¥í•˜ëŠ” ê²ƒì„ ì„ íƒí• 수 있다.
4.1 mt.cfg í™”ì¼ ì—´ê¸° #
Find the file mt.cfg in the Movable Type folder that you downloaded, then open that file in a text editor.
4.2 Movable Type URL ì„¤ì • #
Change the line starting with CGIPath to point to the URL where you chose to install Movable Type in Installation Directories.
For example, if you are installing Movable Type at http://www.your-site.com/movabletype/, you would change the CGIPath line to
CGIPath http://www.your-site.com/movabletype/NOTE: make sure that your URL contains a forward slash (/) at the end!
4.3.1 MySQLì„ ì‚¬ìš©í• ê²½ìš° #
(MySQLì„ ì‚¬ìš©í• ê²½ìš°ê°€ 아니ë¼ë©´ ì´ ë‹¨ê³„ëŠ” 건너뛴다.)
mt.cfgí™”ì¼ì—서 ë‹¤ìŒ ë¼ì¸ì„ 추가한다.
ObjectDriver DBI::mysql Database database_name DBUser database_userwhere database_name is the name of the MySQL database where you wish to store your data, and database_user is the username used to connect to the database. If your MySQL server is on a different host, you can use DBHost to specify the hostname:
DBHost database_hostIf your MySQL server is on the localhost, but the socket is not in a standard location, you can set the path to the socket using DBSocket:
DBSocket /path/to/mysql.sockNote: the database that you specify must already exist--Movable Type cannot create it automatically!
4.3.2 버í´ë¦¬ DB를 ì‚¬ìš©í• ê²½ìš° #
(버í´ë¦¬ DB를 ì‚¬ìš©í• ê²½ìš°ê°€ 아니ë¼ë©´ ì´ ë‹¨ê³„ëŠ” 건너뛴다.)
mt.cfgí™”ì¼ì•ˆì—서 아래 ë¶€ë¶„ì„ ë³€ê²½í•œë‹¤.
DataSource ./dbë¶€ë¶„ì„ ë‹¤ìŒê³¼ ê°™ì´ ê³ ì¹œë‹¤.
DataSource ë°ì´íƒ€ë² ì´ìŠ¤ê°€ë‹´ê¸¸ë””ë ‰í† ë¦¬ì˜ì „체경로
4.3.3 ì •ì í™”ì¼ë“¤ì˜ 경로 ì„¤ì • #
별ë„ì˜ cgi-binë””ë ‰í† ë¦¬ì— ì„¤ì¹˜í•˜ëŠ” ê²ƒì´ ì•„ë‹ˆë¼ë©´ ì´ ë‹¨ê³„ëŠ” 건너뛴다.
You need to set the StaticWebPath value in your mt.cfg file to the URL corresponding to the directory that you chose for your static files (images, docs, and styles.css). For example, if you chose to locate your static files at the root of your web-accesible area, you would add this line to mt.cfg:
StaticWebPath /mt-static/
4.3.4 Enable security features #
If your server does not have cgiwrap or suexec, skip this step.
To enable the heightened security that cgiwrap and suexec provide, add the following lines to your mt.cfg file:
DBUmask 0022 HTMLUmask 0022 UploadUmask 0022 DirUmask 0022
4.3.6 Set your MySQL password #
MySQLì„ ì‚¬ìš©í• ê²½ìš°ê°€ 아니ë¼ë©´ ì´ ë‹¨ê³„ëŠ” 건너뛴다.
ë³´ì•ˆì˜ ì´ìœ 로, mysql 암호는 mt.cfgì— ì €ìž¥í•˜ì§€ 않는다. ëŒ€ì‹ ì— mt-db-pass.cgië¼ëŠ” í™”ì¼ì— 암호를 ì 어둔다.
mt-db-pass.cgiì„ ì—디터로 ì—´ê³ ë‹¤ìŒ ë¼ì¸ì„ 찾는다.
database_passworddatabase_passwordë¶€ë¶„ì„ ì—¬ëŸ¬ë¶„ì˜ MySQL ë°ì´íƒ€ë² ì´ìФ 암호로 ê³ ì³ë†“ê³ ì €ìž¥í•œë‹¤. ê·¸ë¦¬ê³ ì—디터를 종료한다.
5.1 Connect to your webserver #
Open your FTP program and open an FTP connection to your web server.
5.2 Upload the application #
In your FTP program, if the directory where you chose to install Movable Type does not exist, create it. Then open that directory.
Upload all of the files in the Movable Type distribution to your webserver.
If you are installing into the cgi-bin: you should upload images, docs, and styles.css into the location you chose for your static files.
NOTE: be careful when doing this, as certain files must be uploaded in ASCII mode, whereas others must be uploaded in binary mode. If you get it wrong, the scripts WILL NOT WORK.
Upload these files/folders in ASCII mode: docs, lib, extlib, mt.cfg, styles.css, tmpl, schemas, search_templates, and all of the CGI scripts (mt.cgi, etc.).
Upload these files/folders in Binary mode: images.
5.3 Set permissions #
Set the permissions of all of the CGI scripts (files whose names end in .cgi) to 755.
Permissions set to 755 means that all users on the system have Read and Execute permissions; only the owner should have Write permissions.
If your FTP client uses a graphical display for setting permissions, that display will look something like this:
If you are setting permissions through a Unix shell, simply use the command
$ chmod 755 mt*.cgi
5.4 Create your Movable Type database directory #
If you are not using Movable Type's Berkeley DB support, skip this step.
Open the directory you chose for the location of your Movable Type database.
Create a new directory called db.
If you are not running Movable Type under cgiwrap or suexec, set the permissions (CHMOD) of this directory db to 777.
Permissions set to 777 means that all users on the system have Read, Write, and Execute permissions.
If your FTP client uses a graphical display for setting permissions, that display will look something like this:
If you are setting permissions through a Unix shell, simply use the command
$ chmod 777 db
5.5 Create your blog directories #
Create the directory where you blog files will be stored. This is the directory that you chose for the location of your blog directories.
If you are not running Movable Type under cgiwrap or suexec, set the permissions of the directories you just created to 777 (see above for what this means).
6 Checking for Perl Modules #
Movable Type requires the presence of several standard Perl modules, separate from the Movable Type code itself. If you downloaded the full'' version of the Movable Type distribution, it came with all of the necessary modules, except for DB_File, DBD::mysql, and Image::Magick (these modules can not be distributed with Movable Type because they require compilation). To determine whether these modules are installed on your serverand to install them, if they are not already installedfollow the steps below.
For the function of several optional features, Movable Type needs some optional Perl modules. These optional modules will be listed in Step 1 (below) under the heading CHECKING FOR OPTIONAL MODULES; if your webserver does not have an optional module, its purpose will be explained in relation to the Movable Type feature for which it is required. If you decide that you want to use these features, you will need to install these modules, as well; however, if you do not wish to use these features, you can ignore the missing modules.
Open your web browser and point it at the URL for mt-check.cgi on your site. For example, if your site is http://www.your-site.com/, and you uploaded the Movable Type files into the /mt directory, you'd type http://www.your-site.com/mt/mt-check.cgi.
mt-check.cgi is a Perl script that checks whether the required modules are installed on your server. If you get a 500 Internal Server Error when running this script, first check that you set the permissions to 755 (see above for what this means), and that you uploaded the file in ASCII mode. If these suggestions don't help, refer to Troubleshooting.
If the script runs successfully, it will say CHECKING FOR REQUIRED MODULES and so on. If the script reports that your server has all of the required modules installed, you can skip to Initializing the System.
If you need to install any required modules, or if you wish to require some of the optional modules, install them now, using the following instructions:








