Linux System Administration

The Timezone under Linux as just a symbolic link to an appropriate timezone file in the /usr/share/zoneinfo. It may happen that your time within GUI applications is correct, however time on the command line is wrong. One of the possible reasons could be that your system's timezone is not set correctly. To set you correct time zone first investigate what file from /usr/share/zoneinfo would be appropriate for your timezone. For example if you are from Europe/Slovakia you would set your symlink as follows:

# ln -sf /usr/share/zoneinfo/Europe/Bratislava /etc/localtime

Now you can set correct time with ntpdate command:

# ntpdate pool.ntp.org

If you do not have an internet avaiable to set your time to NTP server you can also set your time from you hardware time ( assuming hardware time is correct )

# hwclock --hctosys

Confirm correct time with:

$ date

Here is a quick installation of HP officejet printer on Ubuntu linux jauntu:
# apt-get install hplib
Enable X-window to root
$ xhost +
# hp-setup
If the automatic discovery does not work tick a manual selection and enter IP address of your printer. If its USB go for USB option. All done.

Grub boot verbose modeGrub Boot Silent mode

Install Prerequisites

apt-get install linux-source-2.6.18 kernel-package \
linux-patch-bootsplash bootsplash libc6-dev

Patching Linux kernel

Uncompress Linux Kernel Source

cd /usr/src
tar xjf linux-source-2.6.18.tar.bz2

Uncompress Linux Kernel Source

Read more ...

Page 58 of 72



Free Linux eBooks

Go to top