mang0 is still raw…

January 1, 2010

i want more space…

Filed under: GNU/Linux, debian — Tags: , , , , , , , — greenmang0 @ 12:35 pm

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

Filed under: GNU/Linux, debian — Tags: , , , , , , , , , , — greenmang0 @ 12:25 pm

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.

June 23, 2009

bot… me?… not

Filed under: Uncategorized — greenmang0 @ 4:52 pm

[16:35] <– dpkg has left this server (Client Quit).
[16:35] <greenmang0> !seems mr. bot has left this server
[16:35] <greenmang0> :)
[16:35] <enouf> mine is set to =365 .. i’m a packrat :-p
[16:35] <greenmang0> enouf: :D
[16:36] –> dpkg has joined this channel (n=dpkg@unaffiliated/dpkg).
[16:36] –> Spami|Thug_ has joined this channel (n=Spami|Th@sal69-3-88-163-16-20.fbx.proxad.net).
[16:36] <– richardjh has left this server (“Leaving”).
[16:36] <greenmang0> !mr. bot joined again
[16:36] <JyZyXEL> would be cool to have a tmp purging script in case the feds show up to confiscate your hardware
[16:36] <enouf> !where were you?
[16:36] –> The_Coffe_Maker has joined this channel (n=damian@190.245.0.161).
[16:36] <dpkg> I was getting some action with the botchicks! WooYEAH! I got me some NOOKIE!

Older Posts »

Blog at WordPress.com.