PSI Group Server - Other things

See also PSI group Server.

1.  JED editor (for FC4)

sudo yum --enablerepo extras install jed

2.  Enabling restart after power failure for Apple PowerPC machines


# activate automatic restart after power failure
echo "server_mode=1" > /proc/pmu/options

3.  YUM and authentication proxy


and do not forget to chmod go-r /etc/yum.conf, else everybody will see the password!

4.  Install minimal X11 + Gnome

Used for emacs and for the graphical admin tools
yum install gdm gnome-panel system-config-display

5.  Install elinks

Text mode browser, used for GroupMeetingMail
yum install elinks
make /root/bin/
put in root's crontab:

[root@psi bin]# crontab -l
# every Monday at 6h00, send Group Meeting mail
00 6 * * 1 /root/bin/

6.  Configuring Apache

sudo yum install mod_ssl


ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
<Directory /usr/lib/mailman/cgi-bin/>
    SSLRequireSSL on # Force clients to use HTTPS
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /var/lib/mailman/archives/public>
    SSLRequireSSL on # Force clients to use HTTPS
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
# Uncomment the following line, replacing with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).
# Force clients to use HTTPS
RedirectMatch ^/mailman[/]*$
RedirectMatch ^/pipermail[/]*$


Alias /webmail /usr/share/squirrelmail
# a RedirectMatch causes a loop, so I have to use Rewrite
# Force clients to use HTTPS
RewriteEngine        on
RewriteCond          %{HTTPS} !=on
RewriteRule          (.*) https://%{SERVER_NAME}%{REQUEST_URI}
<Directory /usr/share/squirrelmail>
SSLRequireSSL on

7.  S.M.A.R.T. disk checking

Enable the smartd Hard Disk monitor to mail root if a disk develops a failure. See also this article on LJ and the BadBlockHowTo.


/dev/hda -H -m root@localhost.localdomain
/dev/hdc -H -m root@localhost.localdomain
chkconfig smartd on
service smartd restart