Download source
|
tar -xf dpkg_1.17.6.tar.xz cd dpkg-1.17.6 # Ubuntu # sudo apt-get install libncurses5-dev libncursesw5-dev sudo yum install ncurses-devel ncurses ./configure make cd utils make cc start-stop-daemon.c -o start-stop-daemon sudo cp start-stop-daemon /usr/local/bin |
Done!
If you got a warning message from linode :
Your system’s clock is fast. Please ensure that ntp is installed and running.
How to solve the problem?
1. Change Time Zone (TZ)
$ sudo cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
$ sudo vim /etc/sysconfig/clock
change Etc/UTC
to Asia/Taipei
or yourself
2. Install NTP
|
$ sudo yum install ntp $ sudo service ntpd start $ sudo chkconfig ntpd on |
$ sudo vim /etc/ntp/step-tickers
:
|
0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org |
$ sudo service ntpd restart
Done!