User:ILebedev
From ICO wiki
Quest 1 (5p)
Loo skript, mis paigaldab ntp teenuse ja seab serveriks ntp.eenet.ee
<source lang=bash>
- !/bin/bash
export LC=ALL_C
- installeerin ntp teenuse, vastated promptides yes
apt-get -y install ntp
- Lisan "server ntp.eenet.ee" ntp confi faili lõppu
echo "server ntp.eenet.ee" >> /etc/ntp.conf
- teeb teenusele restardi
service ntp restart