Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

Archive for the 'System' Category

How Tos on running a debian/ubuntu linux system from getting over troubles, configuring X, bash scripting… Anything related to your local system.

How-To: Customizing SSH client

Posted by chantra on 12th April 2008

SSH is great. There is so many thing you can do with it other than just a remote secure shell like X forwarding, port forwarding, authenticate using a private/public key, compress the transmitted stream....

If you have different account that you use on an every day basis, it becomes quickly cumbersome to type those lengthly command lines.

One could work around this by using aliases, the right way would be to use ~/.ssh/config

This tutorial will show some customization examples that should cover most ssh use cases.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, System | No Comments »

How To: booting another Grub from Grub

Posted by chantra on 15th March 2008

Chainloading an operating system allows grub to boot an opearating system's boot loader. This is commonly used to boot Windows for instance.

I personnaly use it to be able to have my "production" system's grub on the MBR, and address other distros'grub install on their root partition. The advantage is that kernel updates are real easy to handle. Each testing distro modifying their own grub won't interfere with my main OS bootloader.

This tutorial will explain how to configure grub's menu.lst from the main OS to boot other OSes bootloader through an example.

Read the rest of this entry »

Tags: ,
Posted in General, HowTo, System | No Comments »

How-To: email notification upon available package updates with cron-apt

Posted by chantra on 2nd February 2008

cron-apt is a tool run by a cron job at regular interval that will check for package updates and optionally do some actions.

cron-apt will by default download the packages without installing them.

This tutorial will explain how to set up cron-apt in order to have it send an email to a specified address when updates are ready to be installed.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, System | 1 Comment »

How-To: Find files on your computer with find

Posted by chantra on 17th November 2007

A standard Linux system has an incredible amount of files installed. Looking for a file location can be a painful task to do though a file browser.

Fortunately, there is a nifty command line available by default on any Linux distribution: find.

find can virtually find anything on your computer and comes with a lot of options. This tutorial will introduce a basic use of it and show how you can search your filesystem for file names matching a name pattern.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | No Comments »

How-To: Find missing packages with apt-file

Posted by chantra on 14th October 2007

apt-file is a command line tool for searching packages in Debian/Ubuntu repositories.
Unlike apt-cache search, apt-file can find files in uninstalled or can list the content of uninstalled packages.

This tutorial will show how to install apt-file, update and search or list packages and files.

Read the rest of this entry »

Tags:
Posted in HowTo, Softwares, System | No Comments »

How-to Create a Filesystem within another partition’s file

Posted by chantra on 23rd September 2007

Filesystems are usually created on a partition. When all your hard drive is already partitioned, creating a new partition can become a pain and creating a new filesystem within another filesystem file can save you a lot of hassles.

This tutorial will show the few steps required to have a new filesystem layout set within another filesystem.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | 1 Comment »

How-To: create a self-signed certificate

Posted by chantra on 20th August 2007

This tutorial will explain how to create a self-signed certificate that you will be able to use with apache in order to provide ssl support.

A self signed certificate won't provide as much security guarantees than a CA-signed certificate, but at least you will be able to use encrypted connection to your server.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, System | No Comments »

How-To: Install Ubuntu on LVM partitions

Posted by chantra on 28th July 2007

LVM (Logical Volume Manager) is a great piece of software which allow you to deal with Logical Volumes. Using LVM along with ext3 filesystem, you are allowed to extend the size of your logical drives which is pretty handy when running out of space.

Distributions like Fedora, Suse and Debian have a LVM aware installer. Unfortunately, at the time this article was written, Ubuntu does not offer such settings with the Desktop Install CD.

This article will cover how to create LVM partitions and how-to generate your partitions from this LVM volume.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, System | No Comments »

How-To: Managing services with update-rc.d

Posted by chantra on 5th July 2007

Linux services can be started, stopped and reloaded with the use of scripts stocked in /etc/init.d/.

However, during start up or when changing runlevel, those scripts are searched in /etc/rcX.d/ where X is the runlevel number.

This tutorial will explain how one can activate, deactivate or modify a service start up.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, Softwares, System | 8 Comments »

How-To: Unattended Ubuntu Deployment over Network — page 5 — Preseed File

Posted by chantra on 23rd June 2007

This entry is part 4 of 5 in the series How-To: Unattended Ubuntu Deployment over Network

5. Preseed: Installation automation:

Like Red Hat's kickstart file, Debian based distribution can use a preseed file. The preseed file will contain the different information that the installer will require in order to proceed with the installation.

Read the rest of this entry »

Tags: ,
Posted in Administration, HowTo, Networking, System | No Comments »