Set NTP server on Linux

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

Add nginx repository Ubuntu

 Add nginx repository Ubuntu # 1. Download the NGINX signing key curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /u...

Mais vistos