[시스템 사양점검]
# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
# arch
x86_64
[설치할 폴더]
# mkdir /usr/local/phantom
# cd /usr/local/phantom
[다운로드] http://phantomjs.org/download.html
# wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
[설치]
# yum install bzip2
# yum install fontconfig
# tar jxvf phantomjs-2.1.1-linux-x86_64.tar.bz2
# ln -s /usr/local/phantom/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
[테스트]
# phantomjs /usr/local/phantom/phantomjs-2.1.1-linux-x86_64/examples/hello.js
centos_phantomjs_install.txt
0.0MB
'기타' 카테고리의 다른 글
xampp vscode laravel(라라벨) 설치 설정 (0) | 2018.09.07 |
---|---|
POST 로 넘길시 배열이 짤리는 현상 (0) | 2018.08.10 |
토크온 녹음 방법 (0) | 2015.07.30 |
User Agent 리스트 (0) | 2015.03.18 |
유투브(youtube) 페이스북(facebook) 계정별 RSS 가져오기 (0) | 2014.10.21 |