|
Literature
Africa |
PSI Group Server - Other thingsSee also PSI group Server. JED editor (for FC4)sudo yum --enablerepo extras install jed Enabling restart after power failure for Apple PowerPC machines
# activate automatic restart after power failure echo "server_mode=1" > /proc/pmu/options YUM and authentication proxy
[main] proxy=http://proxy.wits.ac.za:80/ proxy_username=XXXXXXXXXXXXXX proxy_password=XXXXX cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest and do not forget to chmod go-r /etc/yum.conf, else everybody will see the password! Install minimal X11 + GnomeUsed for emacs and for the graphical admin tools Install elinksText mode browser, used for GroupMeetingMail [root@psi bin]# crontab -l # every Monday at 6h00, send Group Meeting mail 00 6 * * 1 /root/bin/Mail_PSIgroup_Meeting.sh Configuring Apachesudo 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
</Directory>
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
</Directory>
# Uncomment the following line, replacing www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).
# Force clients to use HTTPS
RedirectMatch ^/mailman[/]*$ https://psi.phys.wits.ac.za/mailman/listinfo
RedirectMatch ^/pipermail[/]*$ https://psi.phys.wits.ac.za/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
</Directory>
S.M.A.R.T. disk checkingEnable 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 |