Sunday, May 2, 2010
Install jboss App server in Ubuntu
jey@jey-laptop:~$ sudo useradd -d /usr/local/jboss -s /bin/sh jboss
[sudo] password for jey:
jey@jey-laptop:~$ sudo passwd jboss
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ubuntu shortcut url
https://help.ubuntu.com/community/PartitioningSchemes
Change the default OS in grub using Ubuntu 9.10
How to change the default OS to windows.(Whenever a new version of Ubuntu is installed, the bootloader will always point to Ubuntu itself.
You switch on the computer and come across with number of weird options in GRUB starting with Ubuntu, memtest, something else and last option is reserved for windows.
Here is how you can change the default OS to windows:
1. Login to Ubuntu
2. open the terminal => Alt+F2 => type gnome-terminal
3. at the prompt,type
sudo gedit /etc/default/grub
4. The system will ask for an admin password as you are trying to make changes to one of the important files
5. in the editor, search for the parameter GRUB_DEFAULT, It will be set to 0(for Ubuntu) by default
6. change the value to 2,3,4 (wherever the option of windows is indexed at in the GRUB). Typically, it is 4 in a dual boot.
7. save the file
8. you will return back to the terminal
9. type in
sudo update-grub
This will regenerate the file /boot/grub/grub.cfg
You are done. The next time you see the GRUB, the default pointer will be at windows OS.
Saturday, May 1, 2010
Installing Inter wirelss drive to ubuntu
your module is part of compat-wireless. So you will have to try to compile compat-wireless on your system. This way you'll get newest iwlagn module.
1. You have to get compat-wireless snapshot from the latest dated tarball in the compat-wireless-2.6 download directory. or
a. http://wireless.kernel.org/en/users/Download - section "Where to download bleeding edge"
2. Install package build-essential
3. Unpack driver using command: tar -jxvf compat-wireless-2.6.tar.bz2
4. enter newly created directory and type:
./scripts/driver-select iwlwifi
if no errors then type: make
if no errors then type: sudo make install
just to be certain: sudo depmod -a
5. reboot