Themenwahl

Freitag, 17 November 2017 17:19

Time-Server (Zeit-Server)

geschrieben von
Artikel bewerten
(1 Stimme)

Folgende Anweisungen installiert ein Time-Server der über das lokale Netzwerk erreichbar ist. Mit diesem lassen sich alle Client Uhren synchronisieren bzw einstellen.

sudo apt-get -y install ntp   # Installiert den Time-Sever

nano /etc/ntp.conf   # Konfigurationsdatei der NTP-Servers (Network Time Server)

Folgende Einstellungen wurden in der Konfigurationsdatei vorgenommen:

#Schweizer Time-Server
server 0.ch.pool.ntp.org
server 1.ch.pool.ntp.org
server 2.ch.pool.ntp.org
server 3.ch.pool.ntp.org


restrict 192.168.1.1 mask 255.255.255.0 nomodify notrap  
# Netzwerkbereich, Zeitanfragen erlaubt, Keine Änderungen durch den Client.
# Alle Clients in diesem Adressbereich können eine Zeitanfrage an den Server stellen.

broadcast 192.168.1.255  
# Auf dieser IP-Adresse ist der NTP-Server erreichbar.
# Der NTP-Server ist unter der Adresse 192.168.1.140 (Netzwerk-Adresse des Servers) erreichbar.

Andere Einstellungen wurde nicht verändert.

Starten, Status, Reload usw. des NTP-Servers:

/etc/init.d/ntp start  #start, stop, restart usw des NTP-Server Dienstes.

Mit dem folgenden Befehl kann der NTP-Server Status und deren Time-Server Verbindungen angezeigt werden:

ntpq -p  # Status Anzeige.

ntpq -p -w  # Erweiterte Anzeige.

ntpq -q -n  # IP-Adressen anzeigen.

Der Time-Server holt sich die aktuelle Zeit von einem Server im Internet. Diese wird von einer Atom-Uhr gemessen und dem Server zur Verfügung gestellt.


Gelesen 2324 mal Letzte Änderung am Mittwoch, 06 März 2019 18:10

37 Kommentare

  • Kommentar-Link Catalina Samstag, 16 Januar 2021 02:41 gepostet von Catalina

    Hey there! Do you know if they make any plugins to assist with SEO?
    I'm trying to get my blog to rank for some targeted keywords
    but I'm not seeing very good success. If you know of any
    please share. Thank you!

  • Kommentar-Link Monserrate Freitag, 15 Januar 2021 01:37 gepostet von Monserrate

    We stumbled over here different page and thought I may as well check things out.
    I like what I see so now i'm following you. Look forward to looking into your
    web page again.

  • Kommentar-Link Porfirio Montag, 11 Januar 2021 23:22 gepostet von Porfirio

    Hello! I'm at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading through your blog and look forward to all your posts!
    Carry on the excellent work!

  • Kommentar-Link Maricruz Montag, 11 Januar 2021 16:10 gepostet von Maricruz

    Peculiar article, totally what I wanted to find.

  • Kommentar-Link Guadalupe Donnerstag, 07 Januar 2021 13:54 gepostet von Guadalupe

    Quality posts is the important to attract the viewers
    to pay a visit the website, that's what this web site is providing.

  • Kommentar-Link Tristan Mittwoch, 06 Januar 2021 16:20 gepostet von Tristan

    hey there and thank you for your information – I've certainly picked
    up anything new from right here. I did however expertise a few technical points using this web
    site, as I experienced to reload the website many times previous to I could get
    it to load properly. I had been wondering if your web hosting is
    OK? Not that I'm complaining, but sluggish loading instances times
    will very frequently affect your placement in google and could damage your high-quality score if ads and marketing
    with Adwords. Anyway I am adding this RSS to my e-mail and can look out for much more of your respective interesting content.
    Ensure that you update this again soon.

  • Kommentar-Link Jenifer Mittwoch, 06 Januar 2021 16:15 gepostet von Jenifer

    When I initially commented I appear to have clicked the -Notify
    me when new comments are added- checkbox and now each time a
    comment is added I recieve four emails with the exact same comment.
    Perhaps there is a way you can remove me from that service?
    Thanks a lot!

  • Kommentar-Link Louvenia Mittwoch, 06 Januar 2021 14:27 gepostet von Louvenia

    Hey there, I think your blog might be having browser compatibility issues.
    When I look at your blog site in Ie, it looks fine but when opening in Internet Explorer, it
    has some overlapping. I just wanted to give you a quick heads up!
    Other then that, amazing blog!

  • Kommentar-Link Magda Dienstag, 05 Januar 2021 23:21 gepostet von Magda

    Hi there to all, the contents existing at this website
    are actually awesome for people knowledge, well, keep up the good work fellows.

  • Kommentar-Link Temple Run Hack Full Dienstag, 05 Januar 2021 00:24 gepostet von Temple Run Hack Full

    Hello there, I discovered your website by means of Google whilst searching
    for a comparable subject, your web site came up, it appears
    good. I've bookmarked it in my google bookmarks.
    Hello there, simply was alert to your weblog via Google, and located that it's truly informative.
    I'm gonna be careful for brussels. I will be grateful if you proceed
    this in future. A lot of people will probably be benefited from your writing.
    Cheers!

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.