Ubuntu

Recursively add files to subversion (SVN) from command line

To recursively add files to subversion (SVN) control from the command line use:

Using approx to install Google Chrome

To install the latest stable version of Google Chrome using an approx caching server first create an entry in your /etc/approx/approx.conf file:

Restart approx to load the new approx entry:

sudo /etc/init.d/approx restart

Using approx to install Virtualbox in Ubuntu

In some workplace situations I use approx to act as a proxy server for Ubuntu packages. Using a proxy makes for rapid updates within the local LAN across multiple machines.

To install the latest version of Virtualbox (as of this date 3.2) create an entry in your /etc/approx/approx.conf file:

Restart approx to load the new virtualbox entry:

sudo /etc/init.d/approx restart

Keyboard number pad stopped working

The numeric keypad stopped working after upgrading from Ubuntu 8.04 to 10.04. To enable the numeric keypad goto System->Preferences->Keyboard and click on the Mouse Keys tab. Uncheck the Allow to control pointer using the keyboard and you should be back in business.

Command to switch Java version in Ubuntu

In the case where multiple versions of Java are installed the following command will allow you to set the Java Runtime Engine (JRE) to a version of your choice:

sudo update-alternatives --config java

To update the Java compiler run:

sudo update-alternatives --config javac
Syndicate content