Archive for the ‘Linux’ Category

Setting a default charcode for an Apache2 webserver

Monday, February 2nd, 2009

If you have problems in your Apache (or Apache2) server not showing ISO characters in your webpages, even if the charset is set in the pages, it’s probably a missing line in your httpd.conf file.

In Apache2 servers, the file is at /etc/apache2/apache2.conf

Open it and look for

#AddDefaultCharset ISO-8859-1"

and remove the # character. (this means uncommenting the line, for the newbies :)

Restart the server by typing:

sudo /etc/init.d/apache2 restart

And your webpages shoud now look good.

how to mount ext2 / ext3 filesystems under Windows?

Sunday, February 1st, 2009

I needed to mount an ext3 filesystem in my windows, in order to share some files (my development scripts and databases) from my Windows setup and my Debian install.

Falko Timme has presented us another great tutorial about this:
http://www.howtoforge.com/access-linux-partitions-from-windows

Debian Etch “io scheduler cfq registered (default)”

Saturday, January 31st, 2009

I am installing a Debian 4.0 Etch into my notebook, and it hung loading “io scheduler cfq registered (default)”.

The solution was to type after boot: “install noapic acpi=off fb=false”  without quotes, and it then started installing the system.

Just for reference, I found this tip at LinuxQuestions. Thanks, guys!