Articles tagged with: debian
Tomcat »
I’ve been starting work on getting JASIG CAS (Central Authentication Server) to work with all my applications. One of the requirements for JASIG is that it needs to run on Apache Tomcat. Following the instructions on http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html I was able to get the basics running on the Tomcat 5.5 server. However, I did encounter issues when trying to add in a *.WAR application to the server. I copied the files in the correct place /var/lib/tomcat5.5/webapps but for some reason the files weren’t getting deployed. I figured out the simple fix for getting these applications to work in the webapps folder:
Linux »
If you get a GPG error when doing an apt-get update, here’s the quickest way to fix it.The error message looks similar to:
W: GPG error: http://security.debian.org etch/updates Release:
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXX: There is no public key available for the following key IDs: W: You may want to run apt-get update to correct these problems
By default, it says “You may want to run apt-get update to correct these problems”. The problem is, apt-get update doesn’t fix the keys automagically. To fix, you will need to update the debian keyring by …
Linux, VMWARE »
Why install VMWARE Tools?
Improved display support with SVGA driver
Cut and paste from host onto the VMWare guest
Automation of guest operating system commands
Sync time
Shrinking disk space
Startup and shutdown scripts
In order to install VMWARE tools on Debian, you will need to make sure you have the package “linux-headers-[kernel version]” installed.
If not, you will get a prompt during the configuration asking for the path of the C header files.
To find the version of your kernel, type in:
uname -a
It should say something like Linux infomine 2.6.26-2-amd64 (with your current CPU architecture at the end)
****
NOTE: Do this at your own risk. If you put the …
Linux, VMWARE »
Ever change the Network MAC address setting in VMWARE and you can’t get the network to work?
Here’s a quick how-to on changing the MAC address on a Linux VM. This is useful if you want to clone an existing machine and want to have both machines running with network at the same time. I am using VMWARE Server 2.0. (free version)
Linux »
I’ve done multiple Debain upgrades from Etch to Lenny and have noticed there are some issues with grub breaking. The upgrade somehow puts the wrong hard drive information in the default grub file. Here’s some recommendations on how to perform the Lenny upgrade
Featured, Linux »
I was helping one of the staff today with their Debian setup. KDE somehow broke after they did an apt-get update. Turns out there must have been like 40-50 packages that must have been in the update and thus one of them broke during the upgrade.
Upon startup, there was a unique error message that came up with KDE during the startup phase — “No greeter widget plugin loaded. Check the configuration.” with an OK box. Clicking the OK box would lead to KDE exiting to shell. Reinstalling kdm had no effect. The fix? Read the article to see…
Apache, Linux »
Installing awstats in Debian with GeoIP caching
First, use apt-get to get the software:
apt-get install awstats
Configure awstats:
Instead of using the awstats configure tool (written in Perl), manually add in the awstats Apache configuration. Using the tutorial from debuntu, make a file inside your apache config folder called awstats.conf with the following lines.
Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Inside the Apache2.conf file (or virtual host conf file inside the sites-available folder) add this to the end of the file:
Include /etc/apache2/awstats.conf
Next, copy the /usr/lib/cgi-bin/awstats.pl file to the apache cgi-bin folder. If you have virtual hosts enabled, copy it to …
