I recently got the following error when I tried to run ant on a fresh installed Ubuntu 12.04.1 LTS machine: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar The solution was to install the openjdk-6-jdk package as follows: #sudo apt-get install openjdk-6-jdk Hope this helps somebody…
Read more…Posts Tagged ‘Ubuntu’
fit-PC2 & Ubuntu 9.10: Configure Wi-Fi access for WPA2 protected WLAN
Here is a step-by-step tutorial how to configure a fit-PC2 running Ubuntu 9.10 to connect to a WPA2 protected WLAN. First, follow the instructions on http://www.fit-pc2.com/forum/viewtopic.php?f=43&t=1150 to install some fit-PC2 packages that ensure the hardware support. After rebooting, the system should use the fit-PC2 kernel: # sudo uname -r 2.6.31-34-fitpc2 Next, create the file /etc/wpa_supplicant/wpa_supplicant.conf [...]
Read more…Setup Dropbox on headless Ubuntu 9.10 server
Update 2012-06-07: A modified version of the dropbox init script available here https://gist.github.com/861875. With this version it is not longer required to edited the script for every user. Instead, one needs to create a linux group dropbox and add all users to the group the script should take into consideration. This post is a summary [...]
Read more…Ubuntu/Debian & Postfix: Increase attachment size limit
By default postfix limits the attachment size to about 10 MB. You can determine the current limit with the following command: # sudo postconf | grep message_size_limit message_size_limit = 10240000 To increase the limit add (or change) the following setting in the file /etc/postfix/main.cf: # 20MB message_size_limit = 20480000 After restarting the postfix service the [...]
Read more…XenServer 5.6: Kernel update for (paravirtualized) Ubuntu 10.04
I used jansipke’s great tutorial “Installing XenServer Tools on Ubuntu 10.04″ to set up a paravirtualized Ubuntu 10.04 guest system (to enable support for the XenServer Tools) on a XenServer 5.6 host system. Using this technique, it is important to update the host system after a kernel update in the guest system. In the simplest [...]
Read more…Debian/Ubuntu: Basic Apache 2 security
Update 2010-10-25: I’ve added “TraceEnable Off” to the configuration (which is not the default on Debian). If you run an Apache 2 web server on a production system, it is always a good idea to make some easy configuration changes in /etc/apache2/conf.d/security to increase the server’s security: # Disable access, directory indexing and .htaccess files [...]
Read more…