Server re-installation checklist

From ThinkServer
Revision as of 15:30, 5 February 2013 by >Samthecrazyman (Saved so far)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Before installation

  • Backup home directory
  • Backup htdocs directory
  • Backup tftpboot directory
  • Export mysql databases:
  1. mysql -u root -p hpserver -c > /storage/Backup/hpserver.sql
  2. mysql -u root -p sam_wiki -c > /storage/Backup/sam_wiki.sql
  3. mysql -u root -p wordpress -c > /storage/Backup/wordpress.sql

During installation

  • Make sure Language is English (UK) and resolution is 1280x1024 at boot.
  • Partition setup:
Layout
  • sda1: Linux RAID, 74.04 GB
  • sda2: Linux swap, 509.00 MB
  • sdb2: Linux RAID, 74.04 GB
  • sdb2: Linux swap, 509.00 MB
  • sdc1: Linux RAID, 931.51 GB - NO CHANGE
  • sdd1: Linux RAID, 931.51 GB - NO CHANGE
Changes
  • RAID > delete md126 (auto) > Add RAID > sda1 + sdb1, RAID 1 (mirror) > Format ext4, Options: Disable Regular Checks, Directory Index Feature > Mount / > Finish
  • RAID > md127 > Mount /storage
  • sda2 > Format Swap > Mount swap
  • sda2 > Format Swap > Mount swap


  • Time zone: Change > Add NTP server uk.pool.ntp.org
  • Boot loader: Boot Loader Options: Timeout in seconds 3, VGA 1024x768, 24-bits (mode 0x318), console resolution 1280x1024
  • Software packages:
Remove the following:
  • htdig
  • myspell-american
  • ispell-american
  • Patterns > Games (whole catergory)
  • NetworkManager (including KDE entries)
  • Libreoffice themes (all except Oxygen) + letter templates
  • KDE: amarok, kmix, kscd, apper, marble, choqok, kopete, konversation, kruler, kmousetool, kmag, bluedevil, kaffeine, kwalletmanager
  • Pulse Audio (All except libpulse)
  • xf86: input (All except evdev, keyboard, mouse, void), video (All except dummy, fbdev, nv, vesa
Add the following
  • KDE: oxygen-icons-scalable, kdeartwork4-wallpapers-large, kdebase4-wallpapers, gos-wallpaper
  • Apache2: acpache2, apache2-mod_php5 (Automatically adds PHP5 packages)
  • PHP5: php5-bz2, php5-curl, php5-devel, php5-exif, php5-gd, php5-gettext, php5-intl, php5-mbstring, php5-mysql, php5-pear, php5-posix, php5-zip
  • tftp
  • Yast: yast2-httpd, yast2-sshd, yast2-tftp
  • gcc, gcc-c++
  • make
  • kernel-source


  • Disable firewall, enable and open port for SSH
  • Start install