Category: Howto

  • Running FishEye & Crucible as a service in Linux

    Atlassian’s tools for supporting software development are great but they aren’t really admin friendly to start with. For example FishEye & Crucible doesn’t ship with scripts to start it at system boot time but with the help of Atlassian’s Wiki, sysadmin tasks and scripts you can run it as a normal service.… Jatka lukemista

  • JSF 1.2 and getting selected value from dropdown

    JSF 1.2 has some weird features which you just have to know if you haven’t read the documents. One example is getting a value from h:selectOneMenu dropdown after onchange event. The first what comes to mind is to use binding attribute with RichFaces’ a4j:support for rerendering elements after the event but it doesn’t work like you thought it would.… Jatka lukemista

  • Using CAcert.org signed certificates for TLS

    Setting up Transport Layer Security (TLS), or as previously known as Secure Sockets Layer (SSL), for Apache, Postfix and IMAP like Dovecot is fairly easy. You just need some digital certificates and configuration. If you don’t want to pay for certificates from trusted sources like Thawte or you just don’t need that kind of trust (for development purposes), you can always produce your own certificates.… Jatka lukemista

  • Installing Apache Tomcat 6 on CentOS

    CentOS is great substitute for Red Hat Enterprise Linux but is missing some useful packages like Apache Tomcat 6. Installing Apache Tomcat 6 on CentOS 5 from gzip-package is fairly easy. The following guide is at least for CentOS 5.4.

    Pre-Requirements
    First you need to install Sun JDK and you can follow the instructions given in Installing Sun JDK 1.6 on CentOS

    After Java is on place it’s time to get ready for Tomcat.… Jatka lukemista

  • Installing Sun JDK 1.6 on CentOS

    CentOS doesn’t have a package for Sun JDK so it has to installed manually. It’s fairly easy but there are some steps to do that. This guide has been tested on CentOS 5.4 x64_86.

    Step 1. Initial setup for building RPM
    -!- Do this with a non-root user

    1. Create ~/.rpmmacros
      • $ vim ~/.rpmmacros
    Jatka lukemista

  • Redirect HTTP and HTTPS traffic to Tomcat’s ports

    Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don’t have to put those pesky port numbers after the address. Of course you could just tell Tomcat to listen to those ports but it has some negative sides: hassle with the startup and running Tomcat as root.… Jatka lukemista