Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

How-To set up a serial console on Debian

Posted by chantra on 3rd May 2008

This tutorial will go over the steps to go through in order to set up a serial console on Debian Linux.

Debian uses sysvinit to handle the booting process, amongst the different task, and as such, there is a few differences between most of the tutorial that you might find on the internet regarding how to set up a serial console.

A Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

Read the rest of this entry »

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

How-To set up a serial console on Ubuntu

Posted by chantra on 3rd May 2008

This tutorial will go over the steps to go through in order to set up a serial console on Ubuntu Linux.

Unlike most other distros, Ubuntu uses upstart instead of sysvinit and as such, there is a few differences between most of the tutorial that you might find on the internet regarding how to set up a serial console.

A Serial Console becomes handy when running a headless server (i.e no keyboard and screen) or if you cannot connect a a server because of a network issue.

Read the rest of this entry »

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

How-To: Import/Export GPG key pair

Posted by chantra on 15th April 2008

This tutorial will show how you can export and import a set of GPG keys from one computer to another.
This way, you can sign/encrypt the same way one different computer.

Read the rest of this entry »

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

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 »

Terminator: A multi-view terminal

Posted by chantra on 23rd February 2008

Terminator gives the possibility of having multiples terminal within the same window.

As such, it makes it easier to handle multiple terminal sessions as for instance, working in one console and monitoring another one without constantly switching from a window to another.

Read the rest of this entry »

Tags:
Posted in HowTo, News, Softwares, Softwares | 1 Comment »

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: getting VMware-server 2.0 beta MUI Remote Console to work with Firefox

Posted by chantra on 31st December 2007

Lately, I have been trying vmware-server 2.0 beta build 63231. It worked pretty well, but for the fact that the Remote Console to the VM was not working through the MUI.

This article will describe the step to take in order to get it working.

Read the rest of this entry »

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

How-To: Customize your Ubuntu Live CD — page 2

Posted by chantra on 22nd December 2007

This entry is part 2 of 2 in the series How-To: Customize your Ubuntu Live CD

3. Customizing our future live CD

3.1. Removing packages

First of all, we are going to remove non-english language pack, and in order to free some more space, we are going to remove gnome-games packages.

# apt-get remove --purge gnome-games*
# apt-get remove --purge `dpkg-query -W --showformat='${Package}\n' | grep language-pack | egrep -v '\-en'`

Read the rest of this entry »

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

How-To: Customize your Ubuntu Live CD

Posted by chantra on 22nd December 2007

This entry is part 1 of 2 in the series How-To: Customize your Ubuntu Live CD

Live CD are great, they let you try out a distribution without installing it. They allow you to run your favorite distribution on any computer and on the top of this, they become handy to recover a system.

Ubuntu live CD is already packed up with some pretty nifty software that allow you to do pretty much everything with the Live CD, but still, they might be some software you don't need that are include with it or, some software you need might be missing.

Another Pro for this is that by customizing your image, you will be able to install

This tutorial will show the steps to follow in order to customize an Ubuntu Live CD to your need by removing some component and adding some others.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, Softwares | 2 Comments »