computers:server:archon:slack13x64
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:server:archon:slack13x64 [2010/03/02 22:13] – david | computers:server:archon:slack13x64 [2012/12/06 22:31] (current) – [dokuwiki] david | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Upgrade TODO List ====== | ====== Upgrade TODO List ====== | ||
| + | |||
| + | |||
| + | ====== Original System Changes ====== | ||
| + | |||
| + | ===== Partition Layout ===== | ||
| + | |||
| + | |||
| + | Original hard drive partitioning scheme. | ||
| + | |||
| + | < | ||
| + | david@archon: | ||
| + | Filesystem | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | df: `/ | ||
| + | 10.0.0.2:/ | ||
| + | 209G 166G | ||
| + | 10.0.0.2:/ | ||
| + | 1.8T 1.8T 6.5G 100% / | ||
| + | 10.0.0.3:/ | ||
| + | </ | ||
| + | |||
| + | **NOTE: | ||
| + | |||
| + | ===== Early Steps ===== | ||
| + | |||
| + | - Installed the Slackware 13.0 x64 DVD on the drive using the same partition scheme as before (making var twice as bit) | ||
| + | - Disabled sendmail so we won't get clobbered. | ||
| + | - Installed slap-get | ||
| + | - Make SOURCE=http:// | ||
| + | - --update and --upgrade | ||
| + | - kernel was: Linux archon 2.6.29.6 #2 SMP Mon Aug 17 11:58:18 CDT 2009 x86_64 AMD Opteron(tm) Processor 240 AuthenticAMD GNU/Linux | ||
| + | - lilo | ||
| + | - reboot | ||
| + | - kernel is: Linux archon 2.6.29.6 #3 SMP Mon Dec 7 15:01:06 CST 2009 x86_64 AMD Opteron(tm) Processor 240 AuthenticAMD GNU/Linux | ||
| + | |||
| + | ===== Hard Drive Mirror ===== | ||
| + | |||
| + | - Mounted the old drive in **/ | ||
| + | - **rsync**' | ||
| + | - The /root and /var were put in /var/local | ||
| + | - / | ||
| + | |||
| ====== Configuration ====== | ====== Configuration ====== | ||
| + | |||
| + | ===== Backups ===== | ||
| + | |||
| + | ===== Cron Jobs ===== | ||
| ====== Daemons ====== | ====== Daemons ====== | ||
| + | |||
| + | ===== Apache ===== | ||
| + | |||
| + | - Changed **ServerAdmin** directive | ||
| + | - Enabled the following line at the bottom of **httpd.conf**: | ||
| + | # Virtual hosts | ||
| + | Include / | ||
| + | </ | ||
| + | |||
| + | ==== Moving Websites ==== | ||
| + | |||
| + | - Copying everything to the new **httpd** directory. < | ||
| + | rsync -vaP / | ||
| + | rsync -vaP / | ||
| + | rsync -vaP / | ||
| + | </ | ||
| + | - Add our common log file definition so we don't have to comment that out of all the virtual host definitions. | ||
| + | - | ||
| + | |||
| + | ==== Gallery Software ==== | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | ==== dokuwiki ==== | ||
| + | |||
| + | === latest upgrade === | ||
| + | |||
| + | --- // | ||
| + | |||
| + | All of this done as root: | ||
| + | |||
| + | * move the directory to your unzip path < | ||
| + | cd / | ||
| + | mv wiki dokuwiki-2012-10-13 | ||
| + | tar -zxvf dokuwiki-2012-10-13.tgz | ||
| + | </ | ||
| + | * rm the install.php < | ||
| + | rm dokuwiki-2012-10-13/ | ||
| + | </ | ||
| + | * set permissions properly < | ||
| + | chgrp -R apache dokuwiki-2012-10-13/ | ||
| + | chmod -R g+w dokuwiki-2012-10-13/ | ||
| + | chgrp -R apache dokuwiki-2012-10-13/ | ||
| + | chmod -R g+w dokuwiki-2012-10-13/ | ||
| + | </ | ||
| + | * move the wiki back < | ||
| + | mv dokuwiki-2012-10-13 wiki | ||
| + | </ | ||
| + | * clear the cache < | ||
| + | touch wiki/ | ||
| + | </ | ||
| + | |||
| + | === upgrade === | ||
| + | |||
| + | - Make a backup of the current wiki < | ||
| + | mkdir ~/ | ||
| + | rsync -vaP ~/ | ||
| + | </ | ||
| + | - Download the latest version < | ||
| + | cd ~/ | ||
| + | </ | ||
| + | - Uncompress the latest version right on top of the current one < | ||
| + | cd ~/ | ||
| + | tar -xzvf ~/ | ||
| + | </ | ||
| + | - Remove the " | ||
| + | rm ~/ | ||
| + | </ | ||
| + | - Touch the local configuration (which invalidates your cache) < | ||
| + | touch ~/ | ||
| + | </ | ||
| + | - Remove files as directed. | ||
| + | ===== mysql ===== | ||
| + | |||
| + | - Should have exported the entire data base first. | ||
| ===== Sendmail ===== | ===== Sendmail ===== | ||
| Line 14: | Line 139: | ||
| ===== Hard Drive ===== | ===== Hard Drive ===== | ||
| - | | + | Nope, the new drive is a PATA (Old standard IDE drive) because I already used my SATA slots for other drives in this Opteron original machine. |
| - | * Model: WD6401AALS | + | |
| - | * Serial: WCASY7500179 | + | * Primary (**/ |
| - | * MDL: WD6401AALS-00L3B2 | + | * WDC WD3200AAJB-00J3A0, |
| + | |||
| + | | ||
| ====== Software ====== | ====== Software ====== | ||
| + | ===== 32bit Compatibility Libraries ===== | ||
| + | |||
| + | In order for the Never Winter Server (and any other 32 bit software) to run on this new machine, I had to follow the steps in this article: [[http:// | ||
| + | |||
| + | Following the instructions, | ||
| + | - Download the multilib libraries: | ||
| + | wget --mirror http:// | ||
| + | </ | ||
| + | - Install these packages: | ||
| + | upgradepkg --reinstall --install-new *.t?z | ||
| + | </ | ||
| + | - Downloaded the ISO of 32bit Slackware 13.0 and mounted the image as a looped image: | ||
| + | mount -o loop / | ||
| + | </ | ||
| + | - Create the compatbility libraries using the **massconvert32.sh** script: (I did this in **/ | ||
| + | massconvert32.sh -i / | ||
| + | </ | ||
| + | - Install these new libraries: | ||
| + | installpkg *-compat32/ | ||
| + | </ | ||
computers/server/archon/slack13x64.1267568006.txt.gz · Last modified: by david
