Today: 10/10/2008
 

Configuring Ubuntu Linux After Installation

This tutorial assumes that you have already installed Ubuntu Linux Server on your computer. Ubuntu version used for this tutorial is Ubuntu Linux Server 6.06.1 (Dapper Drake).

After installation, you should have a user that gets root privileges by pre pending "sudo" (super user do) with all commands requiring root privileges. Let’s say you want to run the following command, "nano /etc/apt/sources.list". But, in order to get root privileges (for modification) you’ll run the same command as follows: "sudo nano /etc/apt/sources.list".

How to get rid of "sudo":

sudo is used for better security. Google "sudo" for more info. Although, I do not recommend so, but, in case, you want to get rid of sudo and use your Ubuntu Linux Server machine the old-fashioned way then give password to the root user. Do the following:

sudo passwd

You’ll be prompted for password and confirmation. Enter root’s password here. When you’re done, run the following.

su -

You'll be prompted for root’s password. Enter the password that you had entered before. If the password is correct you'll be given access to root’s account.

root@<hostname>:~#

You'll see something like above, where,<hostname> is the hostname of your computer. If you see a "$" instead of "#" that means you still don’t have root access. Please repeat the steps above.

 

Configuring "apt" - Package Manager

If you want to use the Internet to download software you should now comment out the CDROM section by adding a "#" (w/o quotes) at the beginning of the line that reads "deb cdrom: ..." in /etc/apt/sources.list. Do the following, to open up /etc/apt/sources.list in a text editor.

With sudo,

sudo nano /etc/apt/sources.list

Without sudo,

nano /etc/apt/sources.list

 

Updating and Upgrading Ubuntu Linux Server

After running the command above, you’ll run the following commands for updates and upgrades.

With sudo,

sudo apt-get update
sudo apt-get upgrade

Without sudo,

apt-get update
apt-get upgrade

 

Installing GCC tools

Now, you’ll install the very essential packages by running the following command. This package installs compilers and related libraries and programs required for compilation and installation of software from source code. See http://packages.ubuntu.com/dapper/devel/build-essential, for a list of softwares that come with this package.

With sudo,

sudo apt-get install build-essential

Without sudo,

apt-get install build-essential

Run the update command again.

With sudo,

sudo apt-get update

Without sudo,

apt-get update

 

Installing OpenSSH on Ubuntu Linux Server

If you want remote access to your server (recommended) then you need to install openssh-server package too.

With sudo,

sudo apt-get install openssh-server

Without sudo,

apt-get install openssh-server

Commands above install and run the Open SSH Server on Ubuntu. Now, you can access your Linux machine from a remote computer using an SSH client, such as, PuTTY (for Windows).

=======================================================================================

Support Techs Worldwide:

Link to us:

You can support us by putting a link to our website on your blog or website (code is below).

<a href="http://www.techsww.com">
Techs Worldwide - Tutorials about Software Installation,
Configuration, Administration, Monitoring, Tools, Tips &
Tricks
</a>

OR a simple one.

<a href="http://www.techsww.com">
Techs Worldwide - IT related Tutorials
</a>

Feedbacks:

We appreciate feedbacks and suggestions about our tutorials and Techs Worldwide from readers. Please contact us using the form here and let us know what you think about the tutorial and the website in general.

Bookmark Us:

We are working on new features for the website, please keep visiting or bookmark us using your favourite bookmarking service.

Subscribe to RSS:

You can subscribe to our RSS feed here.

 
 
Creative Commons License   Valid XHTML 1.0 Transitional Valid CSS