Archive for the ‘linux’ Category

My Linux changed eth0 with eth1…

Wednesday, December 10th, 2008

This is happening, for instance, when moving a Virtual Machine from one Server to another or when changing the physical network adapter of a server. The reason is that NIC's MAC Address changes, therefore Linux perform a new HW detection and creates new adapter definition, ending in situation where ...

Apache VirtualHost and Certificates for HTTPS

Tuesday, December 9th, 2008

I've finally managed to get this working, so now I need to write some note in case I have to redo it in the future :) This is short howto about enabling https and multiple virtual hosts on Apache 2.0. Much of the instructions are copypasted from Debian ...

What does it need to have graphical XFCE4 environment at startup in Ubuntu 8.10 (intrepid)

Friday, November 14th, 2008

Taking short note so I'll never forget this again ;) apt-get install x11-common (if not already there) apt-get install xfce4-session apt-get install xfce4 ...and naturally ;) apt-get install xdm Should you need to set runlevel 3 by default (I wanted it), edit /etc/rc-default and replace lines running telinit 2 with telinit 3. Reboot.

How to clean all cache for yum

Tuesday, October 14th, 2008

Use the easy command yum clean all

How to update from Ubuntu 7.10 to 8.04 LTS

Friday, July 18th, 2008

$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install update-manager-core $ sudo do-release-upgrade As easy as it seems ;)

Installing VMWare Server 1.0.5 tools on CentOS 5.1 guest

Tuesday, April 22nd, 2008

Running vmware-config-tools.pl script on a guest CentOS 5.1 virtual machine in a VMWare Server 1.0.5 environment will not find the proper kernel modules, so it will prompt you to compile the modules. To do this you need a compiling environment (namely gcc) and the C kernel headers installed. If your machine is ...

Installing support for NTFS filesystem on Debian Etch

Wednesday, April 9th, 2008

Short article about how to enable a Debian Etch (stable version at moment of writing) to have access in read/write to NTFS filesystems. Since there is not package available in standard Etch repositories, packages needs to be retrieved and installed by "Etch Backports" repositories as follows: wget http://www.backports.org/debian/pool/main/f/fuse/fuse-utils_2.7.1-2~bpo40+1_i386.deb wget http://www.backports.org/debian/pool/main/f/fuse/libfuse2_2.7.1-2~bpo40+1_i386.deb wget http://www.backports.org/debian/pool/main/n/ntfs-3g/libntfs-3g2_1.516-1~bpo.1_i386.deb wget ...

How to check version and codename on Linux Distro?

Wednesday, February 13th, 2008

Simple way is by checking contents of file /etc/lsb-release, showing something like: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=7.10 DISTRIB_CODENAME=gutsy DISTRIB_DESCRIPTION="Ubuntu 7.10" Some Linux Distros have also command lsb-release  to provide such info...

Creating Debian 4.0r2 (etch) bootable USB disk that remembers modifications (not LiveCD)

Tuesday, February 5th, 2008

It took to me quite a while before I found a good, well documented, idiot-proof guide to this... that's why I decided to save it in my own library. All credits go to Dave Vehrs, and original article with all comments can be found here. Also, one person nicknamed bombocat made a ...

SMS – Slack Mini Server Project

Monday, February 4th, 2008

Excellent project, run by a Greek guy (very responsive in Project Forum) to build a no-graphic server quickly with live Cd. Site is http://sms.it-ccs.com/ and server ISO (minimal, only 233 MB) is available here. Perfect way to build up a Home Headless Server, since the bundled software includes all of ...