Ubuntu

Logging kernel messages over the network using netconsole

I recently had to setup netconsole in order to diagnose some grsecurity-related suspend/resume problems. The idea is to have the broken machine send its kernel messages to a remote machine via the network.

As a prerequisite, the local machine (the one sending the console messages) must have the following kernel options turned on:

  • CONFIGFS_FS
  • NETCONSOLE
  • NETCONSOLE_DYNAMIC

(The first and last ones are required in order to be able to configure netconsole after boot, through the configfs interface.)

0
Source: Feeding the Cloud

Postfix Autoreply/Out-of-Office Virtual HOWTO

Imbattutomi nell’arduo problema di trovare un modo per configurare un autorisponditore sul server di posta di un cliente che usa account virtuali e non di sistema, ho finalmente risolto l’arcano ricordandomi della mitica funzione “pipe” di Postfix, ecco come fare:

Se avete Postfix configurato su mysql dovrete inanzitutto aggiungere un “transport” nella tabella appropriata del tipo:

Dominio: “autoreply.domain.tld” -> Transport: “autoreply:”

La stessa cosa puo’ essere fatta se usate i file invece del db:

/etc/postfix/transport:
autoreply.domain.tld autoreply:

0
Source: Michele's Blog

Hello world, Debian style


# apt-get install hello

# hello
Hello, world!

# hello --help
Usage: hello [OPTION]…
Print a friendly, customisable greeting.

-h, –help display this help and exit
-v, –version display version information and exit

-t, –traditional use traditional greeting format
-n, –next-generation use next-generation greeting format
-g, –greeting=TEXT use TEXT as the greeting message

0
Source: John Leach's Blog

Easy Hosting Control Panel for Ubuntu 0.26 (Default branch)

Screenshot
Easy Hosting Control Panel for Ubuntu is designed for hosting multiple domains on a single machine. It uses LAMP (Linux/Apache/MySQL/PHP). It aims to be easy to install and use, simple, and functional. It currently supports Apache, DNS, MySQL, FTP, and email configuration. It mainly uses the apt-get install system, so it can be installed on any Debian-based distribution, including Ubuntu.

License: GNU General Public License (GPL)

Changes:

0
Source: [SoftRatty]

Installing Second Life on an EEE PC

I've been playing with an EEE PC lately. This 299€ (in Portugal) GNU/Linux ASUS laptop is awsome, and I'm really happy that ASUS did it. They did some mistakes, like using Xandros Server 2.0 as base for their distro, making me think, for instance, that if I had one of these I would replace their Operating System with something like Debian Eee PC, eeexubuntu or even eeedora. I might write about my thoughts on EEE PC later, but for now, a quick HOWTO (because I think this isn't documented nowhere) on installing Second Life on EEE PC.

0
Source: Mind Booster Noori

Preventing accidental deletion of important files using safe-rm

Some weeks ago, I accidentally deleted half of my /usr/lib. I didn't lose anything important and was able to restore everything (thanks to my Ctrl+C'ing the process in time) but that user error did strike me as too easy to make (apparently, I'm not alone). So I started thinking about how I could prevent something like that from happening again.

0
Source: Feeding the Cloud

Create a Mac-Like Dashboard in Linux with Google Gadgets

gadgets_cropped.jpgThe Tombuntu blog details how to install and get more from the recently-released Google Gadgets for Linux in Ubuntu or other Debian-based Linux distributions. The non-compilation instructions alone are worth a read, but the post points out a pretty nifty Compiz tweak that adds puts Gadgets on an OS X-like switchable screen. Make sure you've got the compizconfig-settings-manager package installed in Ubuntu, and then:

0
Source: [SoftRatty]

DistroWatch Weekly #256

This week in DistroWatch Weekly:

Report: Computex 2008 - Linux ultra-portables galore
News: Debian “Lenny” freeze, Mandriva Cooker news, Ubuntu Netbook Remix, FreeBSD EoL notice, openSUSE package repositories, CentOS search resources, Gentoo release delays, interview with Red Hat CEO
Released last week: Damn Small Linux 4.4, Linux Mint 5, Zenwalk Linux 5.2
Upcoming releases: Ubuntu 8.10 Alpha 1
Site news: [...]

0
Source: [SoftRatty]

How to install Google Gadgets on Ubuntu Linux

Ecco la procedura per installare Google Gadgets sulla vostra Ubuntu Linux (testato su Hardy Heron e Intrepid Ibex).

Here is the full steps to install Google Gadgets on your Ubuntu Linux (tested on Hardy Heron and Intrepid Ibex)

0
Source: Michele's Blog

One A110 mini-laptop with pre-installed Linux for 199.- plus Debian installation HOWTO

One Mini A110 subnotebook

OK, so I've spent my last money on the One Mini A110 subnotebook recently. Yep, yet another ASUS Eee PC clone, but this one has the great benefit of costing only 199.- Euros and has similar specs as the Eee PC 2G Surf (700), I think.

0
Source: Uwe Hermann - debian

How to increase the screen resolutions available to Ubuntu 8.04 (Hardy Heron) while running in Parallels Desktop

Linux
Mac

This brief tutorial will explain how to increase the number of screen resolutions available to you when using Ubuntu 8.04 (Hardy Heron) in Parallels Desktop 3.x.

Thanks in large part go to Simple Help readers Fau and Jim for this fix. Using the method outlined below, you’ll be able to get screen resolutions much higher than the default maximum of 1024×768 (my MacBook Pro maxes out at 1440×900, but a Mac Pro with a better video card can probably go higher).

0
Source: [SoftRatty]

Choosing the right license for your new Free Software/Open Source project

Writing the software is only one component of a successful Free Software project. If you want to build a community around your pet project, there are a number of important things you need to do but which typically fall outside of the "coding" job. One of these tasks is choosing a license.

A license choice is very personal since it involves putting in writing the permissions and protections that you want to give with respect to your code. However, your choice of license will have a number of implications.

"A license can ruin a perfectly good piece of software"
- Jon Stevens

Whenever possible, try to avoid:

0
Source: Feeding the Cloud

Encrypting your home directory using LUKS on Debian/Ubuntu

Laptops are easily lost or stolen and in order to protect your emails, web passwords, encryption keys, etc., you should really think about encrypting (at least) your home directory.

If you happen to have /home on a separate partition already (/dev/hda5 in this example), then it's a really easy process:

  1. Copy your home directory to a temporary directory on a different partition:
    mkdir /homebackup
    cp -a /home/* /homebackup
  2. Encrypt your home partition:
    umount /home
    cryptsetup -h sha256 -c aes-cbc-essiv:sha256 -s 256 luksFormat /dev/hda5
    cryptsetup luksOpen /dev/hda5 chome
    mkfs.ext3 -m 0 /dev/mapper/chome
  3. Add this line to /etc/crypttab:

    5
    Source: Feeding the Cloud

Firefox 3 RC1 on Ubuntu Hardy Heron (and Intrepid Ibex)

Se non ce la fate piu’ ad aspettare i pacchetti ufficiali aggiornati per Firefox 3 RC1, potete aggiornare il vostro browser preferito con il seguente repository:

deb http://ppa.launchpad.net/fta/ubuntu hardy main

Aggiungete tale riga al vostro /etc/apt/sources.list e lanciate i seguenti comandi:

sudo aptitude update
sudo aptitude safe-upgrade

Ovviamente se avete gia’ Firefox3 installato altrimenti:

sudo aptitude install firefox-3.0

1
Source: Michele's Blog

Flyback Updates with Better Interface, Easier Scheduling

flyback_cropped.jpgLinux only: Flyback, the previously mentioned Linux backup utility that aims to mimic Mac OS X Leopard's Time Machine for set-and-forget usability, has a cutting-edge 0.5 version available in its Subversion repository that adds a good number of great things.

0
Source: [SoftRatty]