Is there a "regedit" in CentOS to configure NLS_LANG?

Installation and support for Oracle DB on CentOS.
vnavas
Posts: 1
Joined: 2012/05/18 08:19:10

Is there a "regedit" in CentOS to configure NLS_LANG?

Postby vnavas » 2012/05/18 08:31:32

I found that if I want to configure in WINDOWS the Oracle's NLS_LANG, all I need to do is going to REGEDIT and configure the Key HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME0. But I need to do the same thing in CentOS, so I wonder if there is a similiar way to configure the NLS_LANG in CentOS.

Thanks!

Unrealized
Posts: 1
Joined: 2012/05/18 08:58:27

Re: Is there a "regedit" in CentOS to configure NLS_LANG?

Postby Unrealized » 2012/05/18 09:00:24

You can use export NLS_LANG="language" in terminal.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Is there a "regedit" in CentOS to configure NLS_LANG?

Postby pschaff » 2012/05/18 15:31:54

Welcome to the CentOS fora to both vnavas and Unrealized. Please see the recommended reading for new users linked in my signature.

The Enterprise Linux approach to setting a global value for all users is to create scripts in /etc/profile.d/. The existing files there should provide some examples of the techniques for sh/bash and csh/tcsh shells. It you want to set the values for only a single user, then the changes should be made to the "dot" files in the home directory, for instance ~/.bashrc for bash shell users. If you have questions please show what you have tried and any errors you encountered in trying to implement setting the environment variables.