-
Notifications
You must be signed in to change notification settings - Fork 2
Sysadmin grodoudou lamp 07062012
Yannouk edited this page Jul 5, 2012
·
1 revision
- user : root
- host : grodoudou.seizam.com
- date : 06/07/12 20:20
- curpath : /home/yannouk
When installing LAMP, a warning message about "locale" config appeared. Tryed to fix the problem, but this fix may have to be completed.
[email protected]# apt-get update [email protected]# apt-get install apache2 php5 mysql-server mysql-client php5-mysql php5-gd php-apc php5-intl php-mail imagemagick
[email protected]# locale [email protected]# unset LANG [email protected]# set LANG=en_GB [email protected]# export LC_ALL=en_GB
- Edit /root/.bashrc, see [1]
[email protected]# dpkg-reconfigure locales [email protected]# locale
LANG=en_GB LANGUAGE=en_GB:en LC_CTYPE="en_GB" LC_NUMERIC="en_GB" LC_TIME="en_GB" LC_COLLATE="en_GB" LC_MONETARY="en_GB" LC_MESSAGES="en_GB" LC_PAPER="en_GB" LC_NAME="en_GB" LC_ADDRESS="en_GB" LC_TELEPHONE="en_GB" LC_MEASUREMENT="en_GB" LC_IDENTIFICATION="en_GB" LC_ALL=en_GB
- [1] Edit /root/.bashrc
--- old 2012-06-08 12:22:58.000000000 +0200 +++ new 2012-06-08 12:23:17.000000000 +0200 @@ -18,2 +18,3 @@ # alias mv='mv -i' +export LC_ALL=en_GB.UTF-8 source ${HOME}/.shlog.sh