LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to change the Red Hat ENV LANG? (https://www.linuxquestions.org/questions/linux-general-1/how-to-change-the-red-hat-env-lang-146857/)

zhgalaxy 02-16-2004 04:32 PM

how to change the Red Hat ENV LANG?
 
I am trying to install and run MRTG in my Red Hat, after having installed it, I created a configuration file under /home/mrtg/cfg/mrtg.cfg

and by following the instruction, I type the command

mrtg /home/mrtg/cfg/mrtg.cfg

this command is supposed to query my router and also create my first mrtg traffic graphs and webpages. but I got an error message like this:

mrtg will most likely not working properly when the enviroment variable LANG is set to UTF-8. please run mrtg in an enviroment where this is not the case:
env LANG=C. /mrtg ...


so I figure: maybe I can the lang env into non UTF-8, then found I really dont know how and what effect will this lead to my system.

Thanks for any help

pedro_nf 02-16-2004 07:37 PM

to change the LANG env setting for everyone as root goto /etc/sysconfig/i18n

or you can change it for the current user by creating a file .i18n in the user's root directory.


All times are GMT -5. The time now is 06:28 PM.