Chỉnh local time cho VPS

mv /etc/localtime /etc/localtime.old
ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime
rdate -s rdate.cpanel.net

Nếu gặp lỗi khi chạy rdate, thì install rdate:

yum -y install rdate

  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

Setup & disable unused services on CentOS

Step 1: Now we will remove all software groups, to get Centos to a minimum Step 1.1: Run...

install g++ on CentOS

g++ is often necessary for building various packages. But It’s quite hard to install it in...

How to Compress and Uncompress Files with SSH

Login to SSH: 1) To compress files: Examples: tar cvf abc.tar a1.ps a2.tex adir/* # compress...

Repair all tables on server with SSH

Login to SSH. Try to run this command: mysqlcheck -A -h localhost -u root -r -p It asks mysql...

scp resume after got disconnected or timeout

I often use the UNIX command line tool scp (secure copy) to copy a file to a remote server....