Category: Linux

  • Windows service failure while running in a QEMU virtual instance

    If you are running Windows under QEMU and see Event ID 7000’s like these below– If you get this Description: “The Parallel port driver service failed to start due to the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” Then you…

  • Setting the Session Timeout in Tomcat

    You can specify the timeout of a session in the deployment descriptor of your web application (web.xml): <web-app> <session-config> <session-timeout>60</session-timeout> </session-config> … </web-app> The number within the session-timout element must be expressed in minutes. Be sure to restart Tomcat to take the new setting.

  • Using QEMU for operating system virtualization

    Fortunately, it’s not the only game in town. Different ways of tackling virtualization have led to a number of different software packages including VMware, Xen, VirtualPC, and Usermode Linux. Another virtualization program is called QEMU and it’s a lot like VMware in concept. The first step is to grab QEMU from the project Web site.…

  • How to mount a Windows share in Linux

    Here is an example of how to connect to a Windows share from Linux: >mkdir -p /mnt/winShare >mount -t cifs //192 over at this website.168.x.x/e$ /mnt/winShare -o username=Administrator First put in the connection information in Linux style notation //IP/ShareName. The share can be a root directory, like the e$ above, or it can be any…

  • Slow SSH in Ubuntu

    If you are experiencing long delays when connecting to Ubuntu through SSH, this is most likely a protocol issue investigate this site. In your SSH_CONFIG file, set: GSSAPIAuthentication no Restart the ssh daemon, and you should be quickly connecting to your Ubuntu server from now on.

  • Jasper Server timezone issue

    In Jasper Server 2.x and greater, there is an issue where reports will appear to off by one day. This is most likely a timezone configuration issue with your datasource. To avoid this problem, when you configure a data source, be sure to leave the time zone information blank. That’s right, don’t select your local…

  • How to copy Subversion repositories to another server

    Ensure you have a working Subversion installation with Apache installed on your system. On the source machine, dump each repository: > svnadmin dump /path/to/repository > repository-name.dmp Copy repository-name.dmp to the target server. Load the repository into the new server: > cd /path/to/new-repository > svnadmin create repository-name > svnadmin load repository-name < repository-name.dmp Reassign apache permissions:…

  • How to install Subversion with Apache HTTPD

    Ensure you have Apache installed on your system. Ensure you have mod_dav_svn installed: > yum -y update mod_dav_svn Install ssl support to enable https: > yum install mod_ssl Edit /etc/httpd/conf.d/subversion.conf and append the following lines to the end of your config file: <Location /svn> DAV svn SVNParentPath /var/svn AuthType Basic AuthName “Subversion repository” AuthUserFile /etc/svn-auth-file…

  • How to install Virtualmin on Ubuntu Linux

    First install Ubuntu 8.04-1 LTS. It’s the only version VirtualMin supports. Towards the end of the install, Ubuntu will ask what servers you want to add. Only choose OpenSSH server. No apache, bind, ftp, etc. ONLY OpenSSH. Reboot, login, and get the file install-virtualmin-3.642.sh from the network. Run > sudo sh install-virtualmin-3.642.sh and type in…