fixing “perl: warning: Setting locale failed” error

for ubuntu 8.04LTS through 10.04LTS you can resolve the problem which creates the error message:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "en_US:en",
 LC_ALL = (unset),
 LANG = "en_US"
 are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

with the following two commands:

% sudo locale-gen fr_FR fr_FR.UTF-8 en_US en_US.UTF-8
% sudo dpkg-reconfigure locales

ubuntu in the cloud

ubuntu 9.10 server install screenshot


phpmyadmin with lighttpd on ubuntu

original reference:

Just execute the following commands as root (access can be gained through sudo /bin/bash)

sudo aptitude install lighttpd mysql-client mysql-server php5-mysql php5-cgi phpmyadmin
sudo lighty-enable-mod fastcgi userdir
sudo /etc/init.d/lighttpd start
sudo /etc/init.d/mysql start

That is it, you now have a fully functional web development environment (well, not including the editor) right on your Ubuntu installation. You can access your webpage through http://localhost or http://localhost/~user for contents of user’s public_html file. Also phpMyAdmin, a great web based manger for MySQL databases is accessible through http://localhost/phpmyadmin

ubuntu 9.04 to 9.10 upgrade on a dell latitude x1


Make sure the APT repository is updated:

sudo apt-get update

Make sure Update Manager is installed and up to date (which it should be):

sudo apt-get install update-manager

Now run the Update Manager from Terminal:

sudo update-manager -d

You will see an option “New distribution release ‘9.10′ is available”. Click the Upgrade button to upgrade and follow the prompts to upgrade your distribution.

Powered by WordPress | Designed by Elegant Themes