User:ILebedev

From ICO wiki
Revision as of 11:37, 19 February 2014 by Ilebedev (talk | contribs)
Jump to navigationJump to search

Quest 1 (5p)

Loo skript, mis paigaldab ntp teenuse ja seab serveriks ntp.eenet.ee <source lang=bash>

  1. !/bin/bash

export LC=ALL_C

  1. installeerin ntp teenuse, vastated promptides yes

sudo apt-get -y install ntp

  1. Lisan "server ntp.eenet.ee" ntp confi faili lõppu

echo "server ntp.eenet.ee" >> /etc/ntp.conf

  1. teeb teenusele restardi

service ntp restart