todo after fresh ubuntu server vps install


apt-get install nano -y

echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
echo "export LANG=en_US.UTF-8" >> ~/.bashrc
echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc
echo "export LC_ALL=en_US.UTF-8" >> ~/.profile
echo "export LANG=en_US.UTF-8" >> ~/.profile
echo "export LANGUAGE=en_US.UTF-8" >> ~/.profile

sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales

apt-get install htop


How i fix local issues on my ubuntu server

put these lines in your ~/.bashrc and ~/.profile files:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8


reboot 1 // can be re-login but reboot is so fast for my vps servers that i just reboot lol, less typing :)

sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales