Installation of SUSE 10.2 (29-12-2006)#

Base#

  • use /dev/hda6 as root, use existing /home on /dev/hda8 and existing swap partition
  • extra packages selected on top of "defaults" : lynx, locate, ntop, JDK5, mysql, apache2, and more of them, but I can't remember
  • change runlevels, disable NFS, Samba, and a few more, enable apache2, smartd
  • create users anneke, claudia, esther, tomcat, wim with correct UIDs and empty home
  • download and install NVidia video driver, according to instructions on the openSUSE site
  • hack openSUSE according to http://www.softwareinreview.com/cms/content/view/60/

Tomcat#

  • download and install Tomcat 6.0.2 in /usr/local/tomcat
  • cp -pR /mnt/suse10.1/usr/local/tomcat/webapps/JSPWiki /usr/local/tomcat/webapps
  • change WEB-INF/jspwiki.properties : baseURL : localhost:8080 instead of 88.211.133.30
  • "lsbinit" tomcat:
    • cp old /etc/init.d/tomcat
    • run YaST edit runlevels to enable it
  • cp old /usr/local/tomcat/conf/workers.properties

Apache2#

    • add the following to httpd.conf : # include all the required stuff for krm (kruimeltje) Include /etc/apache2/krm.conf Include /etc/apache2/tomcat-connector.conf Include /etc/apache2/user.conf ExtendedStatus On
    • cp /mnt/suse10.1/etc/apache2/{krm.conf tomcat-connector.conf user.conf} /etc/apache2
    • cp -R /mnt/suse10.1/etc/apache2/krm-ssl /etc/apache2
    • install extra apache mods with YaST sysconfig rewrite proxy status info jk (check : status info ssl)
    • /srv/www/htdocs: copy "old" index.html (cp /mnt/suse10.1//srv/www/htdocs/index.html /srv/www/htdocs)

mod_jk#

Installation of the apache mod_jk gives some problems, after the above configuration, the apache2 says during startup : Module "jk" is not installed, ignoring. Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Syntax OK In the previous linux I used (SUSE 10.1 with apache 2.2.0) I used the "old" AJP13 connector. When you search with YaST, you don't find the apache mod_jk anymore to install. I also cannot find a binary download at http://tomcat.apache.org/connectors-doc/ . Toch maar eens kijken of we het met mod_proxy / mod_proxy_ajp kunnen oplossen.

SSH#

  • customize SSH, change /etc/ssh/sshd_config : Protocol 2 PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys

TO DO (install and/or test)#

  • copy tomcat and apache logfiles (/var/log/apache2 /usr/local/tomcat/logs/krm)
  • mysql (for krm and Gallery)
  • install/test/check ntop (ntop -A -u wwwrun)
  • cupsd config, does printing work correctly ?
  • install gkrellm
  • install webmin, configure/copy fw config, check with http://www.grc.com
    • copy /etc/webmin/firewall/iptables.save ?
  • K3B suppoort for MP3 oke ?
  • ktorrent oke ?
  • ftp services
  • Gallery 2
  • sysconfig: cleanup tmp and tomcat dirs regularly (MAX_DAYS_IN_TMP MAX_DAYS_IN_LONG_TMP ?)