1.登录到服务器,执行 date 命令,查看当前时间

2016年 03月 03日 星期四 09:59:12 CST

2.执行 sudo su -,切换到root命令

3.用 date  -s "2016-3-3 10:11:40"  更改时间

结果如下:



Logo

更多推荐