This page (revision-39) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:06 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
39 23-Apr-2022 17:06 8 KB Harry Metske to previous
38 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
37 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
36 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
35 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
34 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
33 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
32 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
31 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
30 23-Apr-2022 17:06 9 KB HarryMetske to previous | to last
29 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
28 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
27 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
26 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
25 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
24 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
23 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
22 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last backup
21 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links
Jspwiki-vm...nobody

Version management

Difference between version and

At line 15 changed one line
|/etc/init/[tomcat1.conf]|upstart bootstrap script
|/etc/init.d/tomcat1|bootstrap script
|/etc/init.d/tomcat2|bootstrap script
At line 18 added one line
|/usr/local/tomcat2| tomcat home dir (symlink to ./apache-tomcat2-x.y.z)
At line 18 changed one line
|/usr/local/tomcat1/lib|contains jspwiki property files
|/usr/local/tomcat2/logs|log files tomcat2
At line 23 added 2 lines
|/var/jspwiki/doc/pages|wiki pages and attachments of doc
|/var/jspwiki/doc/logs|wiki pages and attachments of doc
At line 30 changed one line
* JSPWiki v2.10.0-svn-49
* [jspwiki 2.9.1-incubating|http://www.apache.org/dist/incubator/jspwiki/2.9.1-incubating/]
At line 33 removed 4 lines
* logwatch
* mailutils
At line 39 removed one line
* __Default apache site configuration ? __ : /etc/apache2/sites-enabled/[000-default]
At line 46 changed 4 lines
* __create tomcat~[1/2~] webapp dirs__ : with user tomcat~[1/2~]: ''cd /usr/local/tomcat~[1/2~]/webapps && mv ROOT ROOT.old && mkdir ROOT && cd ROOT && jar -xf /tmp/ff/JSPWiki-bin/JSPWiki.war''
* %%strike __patch wiki vanilla jspwiki.properties__ : created ~tomcat1/jspwiki/jspwiki.properties.patch and run: ''patch /usr/local/tomcat1/webapps/wiki/WEB-INF/jspwiki.properties ~tomcat1/jspwiki/jspwiki.properties.patch''/%
* %%strike __patch doc vanilla jspwiki.properties__ : created ~tomcat2/jspwiki/jspwiki.properties.patch and run: ''patch /usr/local/tomcat2/webapps/wiki/WEB-INF/jspwiki.properties ~tomcat2/jspwiki/jspwiki.properties.patch''/%
* created /usr/local/tomcat~[1/2~]/lib/jspwiki-custom.properties (see attached files)
* __create tomcat1 webapp dirs__ : with user tomcat1: ''cd /usr/local/tomcat1/webapps && mkdir wiki && cd wiki && jar -xf /tmp/ff/JSPWiki-bin/JSPWiki.war''
* __create tomcat2 webapp dirs__ : with user tomcat2: ''cd /usr/local/tomcat2/webapps && mkdir doc && cd doc && jar -xf /tmp/ff/JSPWiki-bin/JSPWiki.war''
* __patch wiki vanilla jspwiki.properties__ : created ~tomcat1/jspwiki/jspwiki.properties.patch and run: ''patch /usr/local/tomcat1/webapps/wiki/WEB-INF/jspwiki.properties ~tomcat1/jspwiki/jspwiki.properties.patch''
* __patch doc vanilla jspwiki.properties__ : created ~tomcat2/jspwiki/jspwiki.properties.patch and run: ''patch /usr/local/tomcat2/webapps/wiki/WEB-INF/jspwiki.properties ~tomcat2/jspwiki/jspwiki.properties.patch''
At line 52 changed one line
* modify /etc/apache2/sites-available/[000-default]
* create /etc/apache2/conf.d/jspwiki :
%%prettify
{{{
ProxyPreserveHost on
<VirtualHost *:80>
ServerName jspwiki.apache.org
ProxyPass /wiki ajp://localhost:8009/wiki
ProxyPassReverse /wiki ajp://localhost:8009/wiki
ProxyPass /doc ajp://localhost:8109/doc
ProxyPassReverse /doc ajp://localhost:8109/doc
</VirtualHost>
}}}
%%
At line 55 removed 7 lines
* __install spam filter__ [filters.xml] to /usr/local/tomcat~[1/2~]/lib''
* __install jspwiki security policy__ [jspwiki-custom.policy] to /usr/local/tomcat~[1/2~]/lib'' (anonymous users can only view)
* __redirect root mail__ : %%strike /etc/aliases : direct "root" to harry.metske@gmail.com (and run newaliases)/% ==> puppet reverts it \\
==> edit __/etc/cron.weekly/00logwatch__ : ''logwatch --mailto harry.metske@gmail.com''
* create the /etc/logrotate.d/[tomcats] file to truncate catalina.out
* create the /etc/cron.daily/[cleanTomcatLogs] file to get rid of old log files
* create the /etc/cron.daily/[backupWikis] file to arrange the backup
At line 63 removed 2 lines
At line 76 changed 5 lines
* %%strike housekeeping (log cleaning) cron jobs/%
* %%strike get the proper userdatabase.xml (start with empty one)/%
* %%strike create the admin group and put your self in/%
* %%strike mail config => installed mailutilx/%
* %%strike backup ?/%
** http://jspwiki.apache.org/manager => http://jspwiki-vm.apache.org/manager
** https://jspwiki.apache.org/manager => http://jspwiki-vm.apache.org/manager
* housekeeping (log cleaning) cron jobs
* get the proper userdatabase.xml (start with empty one)
* create the admin group and put your self in
* mail config ? ==> default is probably sufficient
* backup ?
At line 82 changed one line
* %%strike fail2ban monitoring/%
* fail2ban monitoring
At line 84 removed 2 lines
* %%strike place (apache) /var/www/favicon.ico/%
* %%strike place /var/www/[robots.txt]/%
At line 90 added one line