Intrepid²: logboek

Logging van al de kleine en minder kleine configuratiewijzigingen op intrepid².

  • 20090610
    • Locales configureren:
      sudo dpkg-reconfigure locales
      en_US.UTF-8 UTF-8
      nl_BE ISO-8859-1
      nl_BE.UTF-8 UTF-8
      nl_BE@euro ISO-8859-15
    • Geen locale voor root:
      sudo echo export LANG="C" >> /root/.bashrc
    • Software installeren:
      sudo aptitude install bash-completion bzip2 curl di \
           elinks dnsutils htop less localepurge lynx mc nano \
           ncdu netselect-apt patch rsync screen telnet \
           txt2regex
    • Webserver (Apache en aanverwanten) installeren
  • 20090615
    • Hetzner Aptitude mirror instellen (alleen voor packages, niet voor source). De uiteindelijke versie van /etc/apt/sources.list is nu:
      # Packages and Security Updates from the Hetzner Debian Mirror
      deb     ftp://mirror.hetzner.de/debian/packages  lenny          main contrib non-free
      deb     ftp://mirror.hetzner.de/debian/security  lenny/updates  main contrib non-free
       
      # Debian sources for lenny
      deb-src http://ftp.de.debian.org/debian/         lenny          main contrib non-free
      deb-src http://security.debian.org/              lenny/updates  main contrib non-free
      Reden:
      • Snellere downloads
      • Interne traffiek wordt niet aangerekend bij Hetzner.
      Meer informatie: http://wiki.hetzner.de/index.php/Hetzner_Aptitude_Mirror
  • 20090616
    • Users toevoegen:
      sudo useradd -m -s /bin/bash username
    • Wachtwoorden instellen:
      sudo passwd username
    • Mezelf toevoegen aan de sudoers met visudo:
      amedee  ALL=(ALL) ALL
  • 20090618
    • Dagelijks updates binnenhalen, maar niet installeren + wekelijks opkuis cache:
      amedee@intrepid:~$ sudo crontab -u root -e
      # m h  dom mon dow   command
        0 1  *   *   *     /usr/bin/aptitude --quiet update && /usr/bin/aptitude --quiet --download-only safe-upgrade
       10 1  *   *   1     /usr/bin/aptitude --quiet autoclean
  • 20090620
  • 20090628
    • Data versassen van oude server naar nieuwe server:
      sudo mkdir -p /home/oldserver
      sudo rsync -aczhP --stats --exclude dev --exclude proc --exclude sys --exclude tmp -e ssh root@intrepid.warp.be:/ /home/oldserver
  • 20090630
http://amedee.be/intrepid2-logging-monitoring

Nieuwe reactie inzenden

  • Textual smileys will be replaced with graphical ones.
  • Toegelaten HTML-tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <strike>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo], [[foo]].
  • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
  • You may quote other posts using [quote] tags.
  • Regels en paragrafen worden automatisch gesplitst.