zypper install java-1_6_0-sun-devel apache2 apache2-mod_jk mysql mysql-connector-java
rpm -Uvh time4u-server-<version>.noarch.rpm time4u-server-apache-<version>.noarch.rpm time4u-server-mysql-<version>.noarch.rpm
service mysql start mysql < /srv/time4u-with-jboss/time4u-mysql-init.sql
service time4u start
tail -f /srv/time4u-with-jboss/log/jboss.log
service apache2 start
The server should be now accessible with:
http://ip_or_servername/time4u
For synchronization you should use:
http://ip_or_servername
chkconfig --add apache2 chkconfig --add mysql chkconfig --add time4u
chown wwwrun:www /srv/time4u-with-jboss/server/time4u/deploy/time4u-ds.xml chmod 600 /srv/time4u-with-jboss/server/time4u/deploy/time4u-ds.xml
zypper install java-1_6_0-sun-devel apache2 apache2-mod_jk postgresql postgresql-server postgresql-jdbc
rpm -Uvh time4u-server-<version>.noarch.rpm time4u-server-apache-<version>.noarch.rpm time4u-server-postgres-<version>.noarch.rpm
service postgresql start su postgres -c "psql -f /srv/time4u-with-jboss/time4u-postgres-init.sql"
# TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all ident sameuser # IPv4 local connections: '''host time4u time4u 127.0.0.1/32 md5''' host all all 127.0.0.1/32 ident sameuser
service postgresql restart psql -h localhost -U time4u time4u Password will be simply time4u You can leave with \q
service time4u start
tail -f /srv/time4u-with-jboss/log/jboss.log
service apache2 start
http://ip_or_servername/time4u
http://ip_or_servername
chkconfig --add apache2 chkconfig --add postgresql chkconfig --add time4u
su postgres -c psql > alter role time4u with encrypted password '<some new time4u password>';
chown wwwrun:www /srv/time4u-with-jboss/server/time4u/deploy/time4u-ds.xml chmod 600 /srv/time4u-with-jboss/server/time4u/deploy/time4u-ds.xml
Important notice: The Time4U 0.9.7 will reject all https connection that do not have a certificate in the trust store of the JavaVM. In short: The following steps will most likely not work. The upcoming 0.9.8 release will allow https connections with self-signed certificates.
All the steps below a purely optional and only necessary if you actually want to expose the time4u-server to the internet (which is not recommented anyway, using VPN access for your road-runners is much more secure).
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c time4u -b 127.0.0.1"}
cp /etc/apache2/vhosts.d/vhost-ssl.template /etc/apache2/vhosts.d/vhost-ssl.conf
<IfModule mod_jk.c> JkMount /time4u ajp13 JkMount /time4u/* ajp13 JkMount /time4u-ws/* ajp13 JkMount /time4u-rest/* ajp13 </IfModule>
APACHE_SERVER_FLAGS="-D SSL"
https://ip_or_servername/time4u
https://ip_or_servername