🔧🕒How to install NTP Server on Ubuntu 🐧: Sync Time Locally 🖥️ & Publicly🌐 (Cybersecurity Beginners📘)
Автор: Chanura De Silva
Загружено: 21 апр. 2025 г.
Просмотров: 26 просмотров
🔗 Check it out on LinkedIn - [https://www.linkedin.com/posts/activi...]
🔗 Check it out on Medium - [ / how-to-install-ntp-server-on-ubuntu-sync-t... ]
🕒 In this step-by-step tutorial, learn how to set up your own NTP (Network Time Protocol) server on Ubuntu using Chrony! Whether you're syncing with public time servers 🌐 or creating a local time server for your internal network 🖥️, this guide has got you covered.
💻 What You’ll Learn:
✔️ Installing Chrony on Ubuntu
✔️ Syncing time with public NTP servers (like pool.ntp.org)
✔️ Configuring your Ubuntu system as a local NTP server
✔️ Allowing other devices on your network to sync from your server
✔️ Verifying synchronization status with chronyc commands
✔️ Checking network connectivity to NTP servers
📍 IP used in this demo: 10.0.2.15
🔥 Perfect for students, system admins, and anyone diving into network time management or preparing for cybersecurity labs!
🔔 Don’t forget to like, comment, and subscribe for more Linux and Cybersecurity content!
#NTP #UbuntuServer #Chrony #LinuxTutorial #CyberSecurity #TimeSync #UbuntuNTP #ChronyConfig
🕒 NTP Server Setup on Ubuntu (Using Chrony)
My IP: 10.0.2.15
1️⃣ Synchronizing Time with Public NTP Servers
Install Chrony (if not already installed):
sudo apt update
sudo apt install chrony
sudo systemctl status chrony
Edit Chrony Configuration:
sudo nano /etc/chrony/chrony.conf
Add the following line:
server pool.ntp.org iburst
Restart Chrony:
sudo systemctl restart chrony
Check Synchronization Status:
chronyc tracking
chronyc sources
2️⃣ Synchronizing with a Local NTP Server
Edit Chrony Configuration:
sudo nano /etc/chrony/chrony.conf
Replace or add the line:
server 10.0.2.1 iburst
3️⃣ Allowing Other Machines to Sync from Your Ubuntu Machine
Edit Chrony Configuration:
sudo nano /etc/chrony/chrony.conf
Add this line to allow your subnet:
allow 10.0.2.0/24
Restart Chrony:
sudo systemctl restart chrony
4️⃣ Checking Network Connectivity
Test NTP server reachability:
ping pool.ntp.org

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: