top
本文目录
Download phantomjs from the URL below:
Enable ntp service start at boot up
add params“-g -x”,Enable ntp service works with delay
Restart ntp service
Set the time zone to Shanghai +800 (CST Time Zone)
check the time now

Install phantomjs for CentOS 7

 

http://phantomjs.org/download.html

 

uncompress tar jxvf package.tar.bz2

pwd to get the path

ln -sf phantomjs's path/bin/phantomjs /usr/local/bin/phantomjs

phantomjs --version

 

 

 

Download phantomjs from the URL below:

http://phantomjs.org/download.html

Enable ntp service start at boot up

systemctl enable ntpd

add params“-g -x”,Enable ntp service works with delay

sudo vi /etc/sysconfig/ntpd

Restart ntp service

sudo service ntpd restart

Set the time zone to Shanghai +800 (CST Time Zone)

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

check the time now

date

THE END
icon
0
icon
打赏
icon
分享
icon
二维码
icon
海报
发表评论
评论列表

赶快来坐沙发