Virtualmin on a Debian Linode

Tags:

See also my comments of installation of Virtualmin on a Centos linode... these are just the additional issues.

GD under PHP not installed by default

Wordpress and other PHP systems were reporting errors about "imagecreatefromjpeg not defined" ... that's a PHP built-in function... what gives? Somehow I didn't have the GD image manipulation module loaded into PHP. Here's how to do that.

# sudo apt-get install php5-gd
# /etc/init.d/apache2 restart

Locales not installed by default

(reported solved in Debian 5.0.2)

Apt-get was reporting huge batches of errors like:

perl: warning: Falling back to the standard locale ("C").
/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct

The solution is to:

apt-get install locales
dpkg-reconfigure locales

and I added the locale: en_US.UTF-8 UTF-8

dpkg-reconfigure locales