Go to main content

Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.3

Exit Print View

Updated: December 2018

Locale, Timezone, and Console Keymap Configuration Changes

In Oracle Solaris 10, locale, timezone, and console keymap configuration is set in the /etc/default/init file. In Oracle Solaris 11, you manage this configuration through the following SMF services:

  • System locale – svc:/system/environment:init

  • Timezone – svc:/system/timezone:default

  • Console keymap – svc:/system/keymap:default

Use the nlsadm command to display and set these national language properties. The following examples show how to set these properties by using the nlsadm command.

Change the default locale to fr_FR.UTF-8 as follows:

# nlsadm set-system-locale fr_FR.UTF-8

Set the timezone to Europe/Paris as follows:

# nlsadm set-timezone Europe/Paris

Set the console keymap to US-English as follows:

# nlsadm set-console-keymap US-English

For other date and time configuration changes, see Reconfiguring Date and Time Before and After an Installation.