Perl’s LWP package is a great way to get web pages and display the content of the resulting http header. Out of the box it does not support https, the following describes how to configure perl to access https pages. Configure CPAN The first thing to do is to setup perl to manage modules using […]
Monthly Archives: November 2006
Using Java Web Start with Opera
Out of the box the Opera web browser is not setup to run jnlp files, therefore java webstart will not run properly. To fix this a new mime-type needs to be added to the browser. Follow instructions at: http://www.opera.com/support/search/supsearch.dml?index=470
Adding LDAP Authentication to a Site
Add the following entry to the VirtualHost <Directory “/var/www/html”> order allow,deny allow from all AuthName “Staff only” AuthType Basic AuthLDAPURL ldap://localhost/dc=example,dc=com require valid-user </Directory>
Security failure. Data decryption error. When using IE on a Mac
On Mac OS X when opening a new IE window from a site running under https there is no content in the window and the following error message is displayed: This can be correct by changing the SSLSessionCache in the Apache httpd.conf file. The error shows up when SSLSessionCache is set to none. If it […]
Link down on RedHat Linux 3
On RedHat Enterprise 3 Linux on VMWare each interface link is always down. The following needs to be added to all the ifcfg-eth in /etc/sysconfig/networking-scripts/ check_link_down() { return 1; } See http://www.vmware.com/support/guestnotes/doc/guestos_redhat90.html for more information.
No output from the Console when connecting to a Server running on Linux
The problem is that the vmx file is not executable. Go to the VM directory and run: chmod 755 *.vmx Then restart the vmware server, output will then be displayed on the console.
Syslogd Stops working after installing VMWare Server
Seems that VMWare server adds a new service to the /etc/service file. If you have SELinux running the file’s security context changes. To fix run: /sbin/restorecon /etc/services For more information see http://www.vmware.com/community/thread.jspa?messageID=435464
Mounting ISO in Linux
To mount an ISO file in linux so it turns up as a directory structure do the following: mount -o loop -t iso9660 filename.iso /mnt/iso Simple as that.
Installing Java on Fedora Core 3 using JDK 1.4.2
Excellent Howto for setting up Tomcat5 from jpackage.org on RedHat Fedora Core3. http://www.mksearch.mkdoc.org/howto/jpackage-sun-fc3/ But required JDK 1.4.2 to be used in place of 1.5 Downloaded http://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS/java-1.4.2-sun-1.4.2.07-1jpp.nosrc.rpm rpm -Uvh java-1.4.2-sun-1.4.2.07-1jpp.nosrc.rpm Download the self extracting version j2dsk-1_4_2_07-linux-i586.bin from http://java.sun.com/products/archive/j2se/1.4.2_07/index.html Moved it into /usr/src/redhat/SOURCE cd /usr/src/redhat/SPECS rpmbuild -ba java-1.4.2-sun.spec Just need to install java and java-devel cd /usr/src/redhat/RPMS/i586 rpm -Uvh […]
Setting up sshd for Public Key Authentication
To create key only authentication the users public key needs to be put on the server in their home directory under .ssh/authorizated_keys. Create the users private key on their workstation: # ssh-keygen -t rsa Send the private key to the server: # cat .ssh/id_rsa.pub | ssh newmachine “cat >> .ssh/authorized_keys” Make sure the authorized_keys file […]