Fix postgresql encoding issus

This commit is contained in:
Rei
2014-03-06 21:08:28 +08:00
parent 48c88a7927
commit 5a5395eb05
2 changed files with 5 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ if [ ! -z "$1" ]; then
cd $1
fi
# Fix postgresql default encoding
sudo update-locale LC_ALL="en_US.utf8"
# Fix postgresql default encoding because update-locale not effect without logout
export LC_ALL=en_US.UTF-8
sudo apt-get update
sudo apt-get install -y curl postgresql libpq-dev redis-server memcached git-core openjdk-7-jre-headless nodejs imagemagick
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y postfix