User Tools

Site Tools


computers:server:archon:slack13x64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:archon:slack13x64 [2010/03/07 00:16] davidcomputers:server:archon:slack13x64 [2012/12/06 22:31] (current) – [dokuwiki] david
Line 2: Line 2:
  
  
-====== Original System ======+====== Original System Changes ======
  
-  * Original Wiki Configuration: [[archonconfig|Archon slamd64 Configuration]]+===== Partition Layout ===== 
 + 
 + 
 +Original hard drive partitioning scheme.
  
 <code> <code>
Line 24: Line 27:
 **NOTE:**  So vault and mirror, mirror each other daily. **NOTE:**  So vault and mirror, mirror each other daily.
  
-====== Early Steps ======+===== Early Steps =====
  
   - Installed the Slackware 13.0 x64 DVD on the drive using the same partition scheme as before (making var twice as bit)   - Installed the Slackware 13.0 x64 DVD on the drive using the same partition scheme as before (making var twice as bit)
Line 36: Line 39:
     - 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     - 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 ======+===== Hard Drive Mirror =====
  
   - Mounted the old drive in **/mnt/old/** with /home, /nofadz, /root, and /var   - Mounted the old drive in **/mnt/old/** with /home, /nofadz, /root, and /var
Line 53: Line 56:
  
 ===== Apache ===== ===== Apache =====
 +
 +  - Changed **ServerAdmin** directive
 +  - Enabled the following line at the bottom of **httpd.conf**:  <code>
 +# Virtual hosts
 +Include /etc/httpd/extra/archon-httpd-vhosts.conf
 +</code>
 +
 +==== Moving Websites ====
 +
 +  - Copying everything to the new **httpd** directory. <code>
 +rsync -vaP /usr/local/archon/var/www/htdocs/hosted/ /var/www/htdocs/hosted/
 +rsync -vaP /usr/local/archon/var/www/htdocs/locals/ /var/www/htdocs/locals/
 +rsync -vaP /usr/local/archon/var/www/htdocs/secure/ /var/www/htdocs/secure/
 +</code>
 +  - Add our common log file definition so we don't have to comment that out of all the virtual host definitions.
 +  - 
  
 ==== Gallery Software ==== ==== Gallery Software ====
  
   * [[http://coppermine-gallery.net/]] Coppermine Gallery looks to be a good software set for putting up images.   * [[http://coppermine-gallery.net/]] Coppermine Gallery looks to be a good software set for putting up images.
 +
 +==== dokuwiki ====
 +
 +=== latest upgrade ===
 +
 + --- //[[david@lattice.net|David Lloyd Rabine]] 2012/12/06 17:30//
 +
 +All of this done as root:
 +
 +  * move the directory to your unzip path <code>
 +cd /home/david/public_html
 +mv wiki dokuwiki-2012-10-13
 +tar -zxvf dokuwiki-2012-10-13.tgz
 +</code>
 +  * rm the install.php <code>
 +rm dokuwiki-2012-10-13/install.php
 +</code>
 +  * set permissions properly <code>
 +chgrp -R apache dokuwiki-2012-10-13/conf/
 +chmod -R g+w dokuwiki-2012-10-13/conf/
 +chgrp -R apache dokuwiki-2012-10-13/data/
 +chmod -R g+w dokuwiki-2012-10-13/data/
 +</code>
 +  * move the wiki back <code>
 +mv dokuwiki-2012-10-13 wiki
 +</code>
 +  * clear the cache <code>
 +touch wiki/conf/local.php
 +</code>
 +
 +=== upgrade ===
 +
 +  - Make a backup of the current wiki <code>
 +mkdir ~/public_html/wikibackups/20110612
 +rsync -vaP ~/public_html/wiki/ ~/public_html/wikibackups/20110612/
 +</code>
 +  - Download the latest version <code>
 +cd ~/down/dokuwiki/
 +</code>
 +  - Uncompress the latest version right on top of the current one <code>
 +cd ~/public_html/wiki
 +tar -xzvf ~/down/dokuwiki/dokuwiki-xxxx-xx-xx.tgz --strip-components=1
 +</code>
 +  - Remove the "install" page <code>
 +rm ~/public_html/wiki/install.php
 +</code>
 +  - Touch the local configuration (which invalidates your cache) <code>
 +touch ~/public_html/wiki/conf/local.php
 +</code>
 +  - Remove files as directed.  I have my permissions set wrong so had to sudo this to make it happen.  Paste the list of files, and use the shell commands provided to remove the extra files.
 +===== mysql =====
 +
 +  - Should have exported the entire data base first.  I'll boot it on another machine and do it to a memory stick.
  
 ===== Sendmail ===== ===== Sendmail =====
Line 67: Line 139:
 ===== Hard Drive ===== ===== Hard Drive =====
  
-  * New primary drive is a Western Digital 640GB (with 32MB cache) SATA-2 +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.  It is really time for a new machine, but not yet... 
-    * MDL: WD6401AALS-00L3B2 + 
-    * Model: WD6401AALS +  * Primary (**/dev/hda**) hard drive is a Best Buy from Baltimore: 
-    * Serial: WCASY7500179+    * WDC WD3200AAJB-00J3A0, ATA DISK drive 
 + 
 +  <del>New primary drive is a Western Digital 640GB (with 32MB cache) SATA-2</del>
  
  
 ====== 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://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib]]
 +
 +Following the instructions, I went ahead and did the following:
 +  - Download the multilib libraries:  <code>
 +wget --mirror http://connie.slackware.com/~alien/multilib/13.0/
 +</code>
 +  - Install these packages:  <code>
 +upgradepkg --reinstall --install-new *.t?z
 +</code>
 +  - Downloaded the ISO of 32bit Slackware 13.0 and mounted the image as a looped image:  <code>
 +mount -o loop /home/david/temp-dvd/slackware-13.0-install-dvd.iso /mnt/tmp
 +</code>
 +  - Create the compatbility libraries using the **massconvert32.sh** script: (I did this in **/home/compat32**)<code>
 +massconvert32.sh -i /mnt/tmp/slackware/
 +</code>
 +  - Install these new libraries:  <code>
 +installpkg *-compat32/*.t?z
 +</code>
computers/server/archon/slack13x64.1267920975.txt.gz · Last modified: 2010/03/07 00:16 by david