Thursday, September 27, 2007

Advanced Packaging Tool

Advanced Packaging Tool, or APT, is a front-end for the package management system used by Debian GNU/Linux and its derivatives (quoted from wikipedia). This tool should be very familiar for ubuntu/debian users as we need it to install application by using the command below:

$ sudo apt-get install package

When we run the command, debian will look for the package from the repositories. And the sources of the repositories can be found on /etc/apt/sources.list. We can edit this file to the closest server from our workstation or any server that we prefer to improve the speed of downloading the package.

Wednesday, September 26, 2007

Ubuntu, unable to compile

I’m quite new with Ubuntu and used to work with RedHat before. Using this new distro, made experiencing a lot of new thins such as what I got today. I was unable to compile several application from source code. The C compiler is installed, but not the essential headers. Therefore, I got the error message below whenever I compiled an application:

C compiler cannot create executables

To allow me compiling the source, here what I need to do:

#sudo apt-get install build-essential

Voila, I’m now able to compile the sources

Network Troubleshooting on Ubuntu

# ifconfig <– to see the network interface

# ethtool ethX <– to see if the NIC is disconnected or not

# ethtool -S ethX <– any error on NIC ?

More ? Click here

Sunday, September 16, 2007

First post while testing

This is my first post. I'm trying to see if it is possible to create posting categories on this blog.