User Tools

Site Tools


computers:server:sage_config

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:sage_config [2008/11/13 12:43] davidcomputers:server:sage_config [2010/02/18 17:10] (current) david
Line 11: Line 11:
 ====== Automatic Processes ====== ====== Automatic Processes ======
  
-===== Daily Scripts =====+===== Hourly Scripts ===== 
 + 
 +These are put into **/etc/cron.daily/**:
  
 ==== Check NFS Mounts ==== ==== Check NFS Mounts ====
Line 41: Line 43:
 </code> </code>
  
-===== Raid Monitoring =====+===== Monitoring Daemons ===== 
 + 
 +==== Power Disruption ==== 
 + 
 +See the [[#apcupsd]] entry for what I did to monitor ups and power monitoring. 
 + 
 +==== Raid Monitoring ====
  
 Using **mdadm**, I have the following running from **/etc/rc.d/rc.local**: Using **mdadm**, I have the following running from **/etc/rc.d/rc.local**:
Line 133: Line 141:
   - Manually started it normally:  <code>   - Manually started it normally:  <code>
 service dhcpd start service dhcpd start
 +</code>
 +
 +===== dovecot =====
 +
 +  * Modified **/etc/dovecot.conf** so that only:  <code>
 +protocols = imaps
 +ssl_listen = *:993
 +</code>
 +  * Generate our self signed certificate:
 +    - Move the original one  <code>
 +mv /etc/pki/dovecot/certs/dovecot.pem /etc/pki/dovecot/certs/dovecot.pem.orig
 +mv /etc/pki/dovecot/private/dovecot.pem /etc/pki/dovecot/private/dovecot.pem.orig
 +</code>
 +    - Edit our configuration here: <code>
 +jed /etc/pki/dovecot/dovecot-openssl.cnf
 +</code>
 +    - Generate a new one: <code>
 +/usr/share/doc/dovecot-1.0.7/examples/mkcert.sh
 +</code>
 +    - Restart the imap service:  <code>
 +service dovecot restart
 </code> </code>
  
Line 492: Line 521:
  
  
 +===== gallery =====
 +
 +I wanted to install the newest Gallery BETA software to store photos and videos online.  I'm migrating this to sage as this is the faster, better machine at the moment (until Slackware 13 arrives and the big re-install on archon...)  This needed a more recent PHP, so I followed some instructions online to install a "testing" version of CentOS 5.
 +
 +  * Page where I found HOWTO: [[http://www.freshblurbs.com/install-php-5-2-centos-5-2-using-yum]]
 +  * Photo Repository:
 +
 +==== Update PHP ====
 +
 +  - Added the "testing" repository to sage by editing **** and putting this in it:  <code>
 +[c5-testing]
 +name=CentOS-5 Testing 
 +baseurl=http://dev.centos.org/centos/5/testing/$basearch/
 +enabled=0
 +gpgcheck=1
 +gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
 +</code>
 +  - Update just PHP by enabling the repository temporarily:  <code>
 +yum --enablerepo=c5-testing update php
 +</code>
 +  - Restart the webserver once PHP is installed:  <code>
 +service httpd restart
 +</code>
 +
 +==== Gallery 3 Beta 2 Install ====
 +
 +  - Download the .zip file
 +  - I made a virtual host to:  [[http://gallery.rabine.org]]
 +    - Modified the named configuration files and added **gallery.rabine.org**
 +    - Added **/etc/httpd/conf/sage_virtual_hosts.conf** and configured the remote named virtual host
 +  - Created a directory on the raid to store all the data
 +  - Had to disable SELinux (probably a rule I could have used to allow it... but I'm being lazy) for apache to see the raid drive directory!?  See this link [[http://forums.devshed.com/apache-development-15/documentroot-does-not-exist-when-it-does-526847.html]]
  
 ===== gcc ===== ===== gcc =====
computers/server/sage_config.1226580222.txt.gz · Last modified: 2008/11/13 12:43 by david