Set linux server time using ntp server
1 – Install ntpdate package
apt-get install ntpdate
2 – Configure time using ntpdate command
ntpdate pool.ntp.org
3 – Configure ntpdate on cron
crontab -e
@reboot /usr/sbin/ntpdate pool.ntp.org
@daily /usr/sbin/ntpdate pool.ntp.org
Apt error Could not get lock /var/lib/apt/lists/lock
sudo fuser -vik -TERM /var/lib/apt/lists/lock
Mais vistos
-
A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell Dfsdiag /TestDCs D...
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike "*" -and En...