Browsed by
Tag: ubuntu

Fixing the annoying “perl: warning: Setting locale failed” error message

Fixing the annoying “perl: warning: Setting locale failed” error message

I was getting really annoyed getting these messages while managing my Debian and Ubuntu VPSes perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = “en_US.utf8” are supported and installed on your system. perl: warning: Falling back to the standard locale (“C”). Turns out the solution is simply to run these commands export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 apt-get install locales dpkg-reconfigure locales The export lines above…

Read More Read More

Backing up your Debian/Ubuntu VPS to Rackspace Cloud Files

Backing up your Debian/Ubuntu VPS to Rackspace Cloud Files

There are quite a number of tutorials available on backing up to Amazon S3, which is popular due to its redundancy and low cost (15cents per gigabyte). I prefer Rackspace Cloud Files though due to its lower upload fees (8cents vs 10cents per gigabyte of bandwidth).  We will use duplicity to create the backups because it is bandwidth efficient and also allows us to encrypt our backups. We will also be setting up the cloudcity script to make it easier…

Read More Read More