Tag Archives: debian

i want more space…

The default Debian installation puts lots of documentation with various locale on /usr. These files are not used most of the time but end up eating lot of disk space.

Debian provides localepurge and deborphan to remove unwanted files from hard disk and to retain disk space.

Installation
# aptitude install localepurge deborphan

Configuration of localepurge
# dpkg-reconfigure localepurge

Cleanup disk space
# localepurge

Following command finds unwanted and independent packages, which are no longer required and removes them
# deborphan

When packages are installed using online Debian repository, APT downloads them and stores all .deb files in /var/cache/apt/archives/. After the installation, generally these files are no more required. Following command cleans up these unwanted files and reclaims disk space.
# aptitude clean

be on time my friends… with ntp

It’s very important to keep your system clock aligned to the exact timezone you reside. Following commands help to keep it in sync.

First select appropriate timezone
# dpkg-reconfigure tzdata

Above command actually copies your zoneinfo file from /usr/share/zoneinfo/ to /etc/localtime
So you can manually copy the file from zoneinfo directory to /etc/localtime on non-debian systems.

Now install following package to sync your system clock with Time Servers using Network Time Protocol (NTP)

# aptitude install ntpdate
# aptitude install openntpd

The ntpdate OpenNTPD keeps on checking time periodically to keep system time in sync with time servers.

OpenNTPD is a secure NTP daemon developed by OpenBSD Developers. (Theo de Raadt you r0ck ;))
You can also install ntp – a local ntp daemon as an alternative to OpenNTPD.

Thanks poisonbit for pointing out that ntpdate is now unmaintained and NTP or OpenNTPD is preferred over it. Check out first comment.

How to set fqdn (fully qualified domain name) on debian system?

let’s assume our desired fqdn is foobar.example.com. Now
$ hostname
should display “foobar”
$ hostname -d
should display “example.com”
$ dnsdomainname
should display “example.com”

$ cat /etc/hosts
should have following 2 lines

127.0.0.1 localhost
127.0.1.1 foobar.example.com foobar

debian turns 15

A message posted by Ian Murdock announcing a new Linux Project, on August 16, 1993 6:09:59 PST

Newsgroups: comp.os.linux.development
Path: gmd.de! Xlink.net! Howland.reston.ans.net! Vixen.cso.uiuc.edu! Sdd.hp.com! Portal! Imurdock
From: imurd ... @ shell.portal.com (Ian Murdock A)
Subject: New release under development; suggestions requested
Message-ID: <CBusDD.MIK@unix.portal.com>
Sender: n. .. @ unix.portal.com
Nntp-Posting-Host: jobe.unix.portal.com
Organization: Portal Communications Company - 408/973-9111 (voice) 408/973-8091 (data)
Date: Mon, 16 Aug 1993 13:05:37 GMT
Lines: 86

Fellow Linuxers,

This is just to announce the imminent completion of a brand-new Linux release,  which I’m calling the Debian Linux Release. This is a release that I have put  together basically from scratch, in other words, I did not simply make some changes to SLS and call it a new release. I was inspired to put together this release after running SLS and generally being dissatisfied with much of it, and after much altering of SLS I decided that it would be easier to start from scratch. The base system is now virtually complete (though I’m still looking around to make sure that I grabbed the most recent sources for everything), and I’d like to get some feedback before I add the “fancy” stuff.

Please note that this release is not yet completed and may not be for several more weeks, however, I thought I’d post now to perhaps draw a few people out  of the woodwork. Specifically, I’m looking for:

1) someone who will eventually be willing to allow me to upload the To release their anonymous FTP site. Please contact me. Be warned that it will be rather large:)

2) comments, suggestions, advice, etc.. from the Linux community. This is your chance to suggest specific packages, series, or anything you’d like to see part of the final release.

Do not assume that because a package is in SLS that it will necessarily be included in the Debian release! Things like ls and cat are a given, but if there’s anything that’s in SLS that you could not live without please let me know!

I’d also like suggestions for specific features for the release. For example, a friend of mine here suggested that undesired packages should be selected BEFORE the installation procedure begins so the installer does not have to babysit the installation. Suggestions along that line are also welcomed. What will make this release better than SLS? This:

1) Debian will be sleeker and slimmer. No more multiple binaries and Manpages.
2) Debian will contain the most up-to-date of everything. The System will be easy to keep up-to-date with a ‘upgrading’ script in the base system which will allow complete integration of Upgrade packages.
3) will contain a Debian installation procedure that does not need to be babysat; simply install the basedisk, copy the distribution disks to the harddrive, answer some question about what packages you want or do not want installed, and let the machine install the release while you do more interesting things.
4) Debian will contain a system setup procedure that will attempt to setup and configure everything from fstab to Xconfig.
5) Debian will contain a menu system that WORKS … menu-driven package installation and upgrading utility, menu-driven system setup, menu-driven help system, and menu-driven System administration.
6) Debian will make Linux easier for users who do not have access to the Internet. Currently, users are stuck with whatever comes with SLS. Non-Internet users will have the option of receiving periodic upgrade packages to apply to their system. They will also have the option of selecting from a huge library of additional packages that will not be included in the base System. This library will contain packages like the S3 X-server, and nethack Seyon; basically packages that you and I Can ftp non-netters can not access.
7) Debian will be extensively documented (more than just a few READMEs).
8) As I put together Debian, I am keeping a meticulous record of Where I got everything. This will allow the end-user to not only know where to get the source, but whether or not The most recent version is a part of Debian. This record will help to keep the Debian release as up-to-date as possible.
9) Lots more, but I’ll detail later …

Anyway, I’ll provide more specifics in a week or so after I receive enough replies.

Please, all replies by mail. I’ll post a reply. If you wish to discuss this in the newsgroup, please do not turn it into a flamewar. 🙂

Until later,

Ian

Ian Murdock Internet: imurd … @ shell.portal.com
The Linux Warehouse

Please mail me for more information on the status of the Debian Linux Release.