place to discuss Linux
Tutorials
Enable Automatic Login in Ubuntu Server
Jan 20th
Ubuntu makes it easy to enable automatic login if you’re using a login manager such as GDM. But what to do in case you don’t have GDM. Here’s how to enable automatic login.
Note: This was tested on Ubuntu 9.10. Previous versions of Ubuntu require different procedures because of changes to the way Ubuntu boots.
Open /etc/init/tty1.conf as root:
sudo nano /etc/init/tty1.conf
Change the last line of this file to (where USERNAME is the username of the user you want to log in):
exec /bin/login -f USERNAME < /dev/tty1 > /dev/tty1 2>&1
Reboot, and the user you chose should be logged in automatically after boot. If something More >
How to Keep Your Ubuntu System Clean
Jan 20th
If you are an geeky user who keeps installing various software and updates then with the passage of time you will feel that your system is messed up. Ubucleaner is a shell script which lets you clean your Ubuntu system by removing the following:
- apt cache
- Config file for Uninstalled .deb packages
- Unused Kernels
First lets discuss the different items which this script removes.
APT Cache
APT is the package management tool which is used to install/upgrade and remove packages in your Ubuntu system. If you use it often then it’s cache consumes a lot of space. By removing the apt cache you get plenty of free More >
How to retain changes in Backtrack 4 installed on USB
Sep 19th
In this article we will describe how we can create a bootable Backtrack 4 USB Drive that will save all the changes we make on the USB itself. In this scenario we will use 2 USB Drives. One USB drive of 1GB and the 2GB USB drive which will hold our changes.
Firstly we need to create a bootable USB Drive on the 1GB USB Drive and boot our machine (A DVD Drive can be used also)
Instructions on how to do this can be found on the following link: http://www.itsolutionskb.com/2009/04/how-to-make-backtrack-4-boot-from-usb/
Secondly we will need to to prepare our 2GB USB Drive with More >
Converting ext3 to ext4 Filesystem
Apr 7th
Some time ago ext4 was released and available for Linux kernel. ext4 provides some additional benefits and perforce over ext3 file system. You can easily convert ext3 to ext4 file system. The next release of Fedora, 11, will default to the ext4 file system unless serious regressions are seen. In this quick tutorial you will learn about converting ext3 to ext4 file system.
ext4 Filesystem FeaturesThe ext4 filesystem has more features and generally better performance than ext3, which is showing its age in the Linux filesystem world. Features include:
Delayed allocation & mballoc allocator for better on-disk allocation
- Sub-second timestamps
- Space preallocation
- Journal checksumming
- Large More >
Increase Swap Memory in Linux
Apr 7th
In Linux, as in most other Unix-like operating systems, it is common to use a whole partition of a hard disk for swapping. However, with the 2.6 Linux kernel, swap files are just as fast as swap partitions, although Red Hat recommends using a swap partition. The administrative flexibility of swap files outweighs that of partitions; since modern high capacity hard drives can remap physical sectors, no partition is guaranteed to be contiguous. You can add swap file as a dedicated partition or use following instructions to create a swap file.
Procedure to add a swap fileYou need to use More >