!!! Installation of SUSE 10.2 (29-12-2006)
[{TableOfContents}]
!!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|http://en.opensuse.org/NVIDIA]
* 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 __==> remove again because we now use proxy_ajp__

!! 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 proxy_ajp status info__  (check : [status|http://localhost/server-status]  [info|http://localhost/server-info]  [ssl|https://88.211.133.30/manual/])
** /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.
Zie ook de Novell change info : [https://secure-support.novell.com/KanisaPlatform/Publishing/585/3744935_f.SAL_Public.html]
De /etc/apache2/tomcat-connector inhoud volledig vervangen door : {{{
ProxyPass /JSPWiki/ ajp://localhost:8009/JSPWiki/
ProxyPass /krm/ ajp://localhost:8009/krm/
}}}
Restart apache and __''off we go !''__ : [test with JSPWiki|http://localhost/JSPWiki]

!! SSH
* customize SSH, change /etc/ssh/sshd_config : {{{
Protocol 2
PubkeyAuthentication yes
AuthorizedKeysFile	.ssh/authorized_keys
}}}

!! MySQL


{{{
titanic:/tmp # /etc/init.d/mysql start
Creating MySQL privilege database... 
Installing all prepared tables
Fill help tables
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h titanic.computerhok.nl password 'new-password'
See the manual for more instructions.

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Updating MySQL privilege database... 
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.func                                         OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.host                                         OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK
ERROR 1060 (42S21) at line 22: Duplicate column name 'File_priv'
Starting service MySQL                                                done
}}}


!!!TO DO (install and/or test)
* 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'' ?)
* ? /srv/www/htdocs/robots.txt ?


!!! Steps for the "final step over"

* replace symlink /var/jspwiki with real directory with contents
* copy tomcat and apache logfiles (''/var/log/apache2 /usr/local/tomcat/logs/krm'')