rdate : server waktu

26 Mar

Saya memiliki beberapa komputer linux client, saya berkeinginan agar
semuanya memiliki waktu yang sama, dimana nantinya semua komputer akan mengambil informasi waktu ke server (misal ip :172.20.140.32).

SISI SERVER
1. edit file /etc/xinetd.d/time
2. disable = yes menjadi disable = no
service time
{
type = INTERNAL
id = time-stream
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
}
3. restart service xinetd
# service xinetd restart
4. periksa dengan nmap
nmap 172.20.140.32
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
37/tcp open time

SISI CLIENT
5. butuh package rdate rpm
6. jalankan dari client
rdate -s 172.20.140.32

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: