User:ILebedev: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Ilebedev (talk | contribs)
No edit summary
Ilebedev (talk | contribs)
No edit summary
Line 7: Line 7:
#instaleerin ntp teenuse ja lisab serveriks ntp.eenet.ee
#instaleerin ntp teenuse ja lisab serveriks ntp.eenet.ee
apt-get install ntp
apt-get install ntp
echo "server ntp.eenet.ee" >> /etc/ntp.conf</code>
echo "server ntp.eenet.ee" >> /etc/ntp.conf
service ntp restart</code>

Revision as of 11:23, 19 February 2014

Quest 1 (5p)

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

  1. !/bin/bash
  2. instaleerin ntp teenuse ja lisab serveriks ntp.eenet.ee

apt-get install ntp echo "server ntp.eenet.ee" >> /etc/ntp.conf service ntp restart