Ubuntu
How to Change DNS server settings on Ubuntu to Use Google Public DNS
In the System menu, click Preferences, then click Network Connections. Select the connection for which you want to configure Google Public DNS. For example: To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0. To change the settings for a wireless connection, select the Wireless tab, [...]
How to fix sound in VMWare Server under Ubuntu
What worked for me (and probably should for a lot of users) is to replace libsdl1.2debian-alsa with libsdl1.2debian-all. This enables OSS support which VMWare seems to need. To do the replacement, just copy and paste this line into a terminal: Code: sudo aptitude install libsdl1.2debian-all Sound now works perfectly for me in Ubuntu and XP [...]
How to Install PHP5 and Apache on Ubuntu
If you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu box. From a command shell, you will run the following commands: sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 [...]
How to Kill a Process by Process Name from Ubuntu Command Line
There are a number of ways to kill a process if you know the name of the process. Here’s a couple different ways you can accomplish this. We are going to assume that the process we are trying to kill is named irssi kill $(pgrep irssi) killall -v irssi pkill irssi kill `ps -ef | grep [...]
How to Set up a 32-bit chroot environment in Ubuntu
A chroot environment is essentially a complete self-contained Linux installation that is nested within the main system. There are several reasons one might want to do this. It can be used to try out new (or old) Ubuntu or Debian releases, for development or packaging for other releases, or for running software that’s designed for [...]
How to Install Skype on Ubuntu
1. Go to System>Administration>Software Sources and enter your password 2. Under the Third Party tag click Add to add the skype repositry and in the text box that comes up, 3. Type (or paste) deb http://download.skype.com/linux/repos/debian/ stable non-free 4.  Allow the software to update its listings, and then open a terminal window 5.   Type “sudo [...]
How to reinstall ubuntu after the first installation fails
 What to do if an installation fails in Ubuntu If you stop an installation half-way through, a lock file is created that prevents you from installing anything else. Before you can try again you need to manually unlock the download cache. 1. Open a root terminal and type nautilus /var/cache/apt/archives 2. Right click on the file [...]
How to Set up NFS Server in Ubuntu
NFS Server The first thing I need to do is set up the NFS server module on the server machine. 1. Type sudo apt-get install nfs-kernel-server 2. Type sudo dpkg-reconfigure portmap and it asks whether I want to bind to loopback and I select no. It then informs me I need to restart the service. 3. Restart using sudo /etc/init.d/portmap restart and [...]
How to Clean up unwanted files in Ubuntu
This is based on a tutorial found on the Ubuntu forums here and is a summary of the steps needed. For more explanation see the origina; 1. Go to System>Administation>Synaptic Package Manager 2. Click the Status button (bottom left) then click Residual config. 3. If anything comes up in the right hand window, select it and Mark for Complete Removal, [...]
How to Install Citrix Receiver 11 on Ubuntu
By the way. Citrix Receiver is the new name for Citrix ICA client. Renaming products, without changing too much of it’s code, is one of Citrix favorite things to do. Anyway, let’s install. 1. Download the client: http://www.citrix.com/English/ss/dow…186&c1=sot2755 2. Unpack the tar.gz: tar xfvz linuxx86-11.0.140395.tar.gz 3. Execute the install script: sudo ./setupwfc 4. Accept the [...]
How to remotely connect from Ubuntu to a Windows machine
 Looking around Ubuntu, you might come across an application called Remote Desktop Viewer. This will happily connect between Ubuntu machines and computers running VNC servers. But it doesn’t do RDP (Remote desltop protocol) which you need to connect to Windows. What you need is the rdesktop command line utility or the Terminal Server Client, [...]
How to Set Up SMART Monitoring in Ubuntu – Smartmontools
The first thing to do is to install the smartmontools package which contains everything you need. How you do this varies but it’s usually pretty straightforward. If it’s already installed, just run the second command to make sure it starts when you boot up the computer. Code: # Ubuntu: apt-get install mailx smartmontools # install [...]
How to Install Webmin on Ubuntu
sudo apt-get install libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl Download Webmin: wget http://prdownloads.sourceforge.net/webadmin/webmin_1.350_all.debIf this does not work, there is probably a newer version of Webmin. Get the link to the latest *.deb file from the Webmin site. Install it: sudo dpkg -i webmin_1.350_all.deb You will get the following output: Webmin install complete. You can now login [...]
