From 2f6e372ad640deb384d936e9927cec7064f9dd58 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 20 Jun 2017 00:17:16 +0200 Subject: [PATCH] =?UTF-8?q?alignements=20et=20pr=C3=A9sentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reveal/sysadmin.html | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/reveal/sysadmin.html b/reveal/sysadmin.html index 0751ea9..fe0ea23 100644 --- a/reveal/sysadmin.html +++ b/reveal/sysadmin.html @@ -55,16 +55,16 @@

Les fichiers de cron

       
-        # systemctl status cron
+# systemctl status cron
       
       
-        # vim /etc/crontab
-        # vim /etc/default/cron
+# vim /etc/crontab
+# vim /etc/default/cron
       
     
     
-      # vim /etc/cron.d/example
+# vim /etc/cron.d/example
     
 30 05 * * 0 www-data /usr/local/adm/savelog-weekly
     
@@ -95,13 +95,13 @@ MAILTO=alert@example.com

Documentation et consultation

       
-        $ man 5 crontab
+$ man 5 crontab
       
       
-        $ crontab -l
+$ crontab -l
       
       
-        # crontab -u jdoe -l
+# crontab -u jdoe -l
       
     
@@ -114,13 +114,13 @@ MAILTO=alert@example.com
     
-    $ date
+$ date
     
     
-    # apt install ntp
+# apt install ntp
     
     
-    Fichier /etc/ntp.conf :
+# cat /etc/ntp.conf :
     
 server ntp.evolix.net
   
@@ -129,16 +129,16 @@ server ntp.evolix.net
   
-  # ntpq -p
+# ntpq -p
   
   
-  $ timedatectl
+$ timedatectl
   
   
-  # hwclock --show
+# hwclock --show
   
   
-  # hwclock --systohc
+# hwclock --systohc
   
   
@@ -209,7 +209,7 @@ server ntp.evolix.net

Installation


-      # apt install postfix
+# apt install postfix
     

Configuration

    @@ -220,7 +220,6 @@ server ntp.evolix.net
     # vim main.cf
    -
     smtpd_banner = $myhostname ESMTP mail server
     biff = no
     append_dot_mydomain = no
    @@ -236,7 +235,7 @@ recipient_delimiter = +
     inet_interfaces = all
     inet_protocols = ipv4
     disable_vrfy_command = yes
    -
    +