Server re-installation checklist: Difference between revisions
>Samthecrazyman Saved so far |
>Samthecrazyman m Saved so far |
||
Line 12: | Line 12: | ||
* Make sure Language is English (UK) and resolution is 1280x1024 at boot. | * Make sure Language is English (UK) and resolution is 1280x1024 at boot. | ||
* Partition setup: | * 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 <code>uk.pool.ntp.org</code> | * Time zone: Change > Add NTP server <code>uk.pool.ntp.org</code> | ||
* Boot loader: Boot Loader Options: Timeout in seconds 3, VGA 1024x768, 24-bits (mode 0x318), console resolution 1280x1024 | * Boot loader: Boot Loader Options: Timeout in seconds 3, VGA 1024x768, 24-bits (mode 0x318), console resolution 1280x1024 | ||
Line 37: | Line 42: | ||
* xf86: input (All except evdev, keyboard, mouse, void), video (All except dummy, fbdev, nv, vesa | * xf86: input (All except evdev, keyboard, mouse, void), video (All except dummy, fbdev, nv, vesa | ||
: '''Add the following''' | : '''Add the following''' | ||
KDE: oxygen-icons-scalable, kdeartwork4-wallpapers-large, kdebase4-wallpapers, gos-wallpaper | * KDE: oxygen-icons-scalable, kdeartwork4-wallpapers-large, kdebase4-wallpapers, gos-wallpaper | ||
Apache2: acpache2, apache2-mod_php5 (Automatically adds PHP5 packages) | * 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 |
Latest revision as of 15:30, 5 February 2013
Before installation
- Backup
home
directory - Backup
htdocs
directory - Backup
tftpboot
directory - Export mysql databases:
mysql -u root -p hpserver -c > /storage/Backup/hpserver.sql
mysql -u root -p sam_wiki -c > /storage/Backup/sam_wiki.sql
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