MAMP로 Movable Type을 쉽게 설치합니다.
5320 단어 MacOSXmampinstallMovableType
1) MAMP 설치
MAMP을 다운로드하여 설치합니다.
Win/Mac 모두에서 사용할 수 있습니다. 무료 버전으로 Movable Type (MT)이 움직인다.
2) MT 설치
MT 다운로드.
/Applications/MAMP/cgi-bin/에 새 디렉토리 mt를 만듭니다. 거기에 파일을 넣어 둔다.
mt-static 디렉토리만/Applications/MAMP/htdocs/로 이동합니다.


앞으로 사용할 수 있게 될 준비입니다.
3) perl 파일 수정
MT는 MAMP의 perl 모듈을 사용하기 위해 터미널을 열고이 패치를 사용합니다 :
cd /Applications/MAMP/cgi-bin/mt/
find . -name "*.cgi" -exec perl -pi -e "s,\#\!\/usr\/bin\/perl -w,\#\!\/Applications\/MAMP\/Library\/bin\/perl -w," {} \;
find . -name "*.cgi" -exec perl -pi -e "s,\#\!\/usr\/bin\/env perl,\#\!\/Applications\/MAMP\/Library\/bin\/perl -w," {} \;
필요한 경우 perl 경로를 변경합니다. (플러그인 추가,...)
4) MAMP 설정 업데이트
일반 서버와 동일한 포트에서 시작합니다. (80과 3306)




5) 데이터베이스 생성
또한 터미널을 사용하면서 mt의 데이터 베이즈를 만든다.
Mysql에 로그인 (기본 암호는 "root"입니다)
/Applications/MAMP/Library/bin/mysql -u root -p
새 데이터베이즈 만들기
CREATE DATABASE mt DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
6) MT 설정
브라우저에서 http://localhost/cgi-bin/mt/mt.cgi 페이지에 가속하면 설치 페이지가 표시됩니다. 양식을 입력하면 끝입니다.
6-0) 소개

6-1) perl 모듈 확인

6-2) 데이터베이스 확인


6-3) 메일 확인
시스템 메일 주소는 「컴퓨터 사용자명」@「컴퓨터명」을 사용한다.
터미널을 열자마자 알 수 있습니다.

위의 이미지는 「②@①.localhost」라는 것입니다.

테스트 메일하지 않아도 괜찮습니다. LDAP를 사용하지 마십시오.

6-4) 완료

7) MT 설정 파일
여기에 놓여있다.
/Applications/MAMP/cgi-bin/mt/mt-config.cgi
예:
## Movable Type Configuration File
##
## This file defines system-wide
## settings for Movable Type. In
## total, there are over a hundred
## options, but only those
## critical for everyone are listed
## below.
##
## Information on all others can be
## found at:
## http://www.movabletype.org/documentation/config
#======== REQUIRED SETTINGS ==========
CGIPath /cgi-bin/mt/
StaticWebPath /mt-static/
StaticFilePath /Applications/MAMP/htdocs/mt-static
#======== DATABASE SETTINGS ==========
ObjectDriver DBI::mysql
Database mt
DBUser root
DBPassword root
DBHost localhost
DBPort 3306
#======== MAIL =======================
EmailAddressMain [email protected]
MailTransfer sendmail
SendMailPath /usr/sbin/sendmail
DefaultLanguage ja
#管理画面のWarningメッセージをトル
ImageDriver ImageMagick
SSLVerifyNone 1
Enjoy ! !
Reference
이 문제에 관하여(MAMP로 Movable Type을 쉽게 설치합니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/pierrehenri220/items/8a080a48783040907b47텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)