On Saturday I moved Tombuntu to a new virtual private server at Linode (the computer in my basement just wasn’t enough anymore). I chose
Linode (referral link) because they sell unmanaged Linux VPS systems, so I can continue to run whatever software I like.
I used Linode’s control panel to install Ubuntu 8.04 64 bit. Their Ubuntu images are not exactly the same as an installation from a CD, so I learned a few things while setting up.
Install a more comfortable environment
The Linode Ubuntu system is extremely minimal, things like man pages and tab-completion are not installed to save space. Install the ubuntu-standard metapackage to get a more comfortable command line environment:
apt-get install ubuntu-standard
Setting up users
A Linode Ubuntu system comes configured for only the root user. I prefer the Ubuntu way of using sudo instead of logging in as root.
Create a new user:
adduser myuser
This new user doesn’t have permission to use sudo yet. Open the sudo configuration file (let’s use the simpler nano editor instead of vi):
EDITOR=/usr/bin/nano visudo
Add this line to allow users in the
admin group to use sudo:
%admin ALL=(ALL) ALL
Save and close the editor. The
admin group may not exists yet, so create it:
groupadd admin
And add the new user to the group:
usermod -g admin myuser
Fix locale warnings
While installing updates and starting some programs, I noticed warnings similar to this one:
perl: warning: Setting locale failed.<br />perl: warning: Please check that your locale settings:<br />LANGUAGE = (unset),<br />LC_ALL = (unset),<br />LANG = "en_CA.UTF-8"<br />are supported and installed on your system.<br />perl: warning: Falling back to the standard locale ("C").<br />locale: Cannot set LC_CTYPE to default locale: No such file or directory<br />locale: Cannot set LC_MESSAGES to default locale: No such file or directory<br />locale: Cannot set LC_ALL to default locale: No such file or directory
Installing the language-pack-en package fixed these warnings:
apt-get install language-pack-en
(
Read more
)