Ubuntu 14.04/Languages

Time configuration

Adjust time zone

The local time zone can be set with a simple text based dialog:

dpkg-reconfigure tzdata

NTP time synchronisation

(To deepen see also: Wiki)

Remark: If you run a virtual server, any NTP time synchronisation is obsolete. You are not allowed to set the hardware clock and synchronisation (hopefully) is done by the provider on the host system. You can skip this configuration step if you are on a virtual server!

In most cases the package is already installed. If not:

apt-get install ntp

To safeguard the server against outages of a time server, usually three of them are configured. If your provider does not have pre-configured own NTP servers, in Germany for example the "Physikalisch-Technische Bundesanstalt" in Braunschweig provides time servers. You may find better time servers, which are less far away from you as Germany.

Therefor edit the file /etc/ntp.conf with the following three lines:

server ptbtime1.ptb.de iburst
server ptbtime2.ptb.de iburst
server ptbtime3.ptb.de iburst

Restart of the NTP service as usual:

service ntp restart 

One-time the correct system time should be enforced manually, as NTP avoids system time leap. Otherwise the time adjustment could take a long time, because NTP in this case runs the clock a little bit slower or faster for a long time span until the system time fits the real time.

ntpd -q -g -x -n

Language configuration on the Server

(To deepen see also: Wiki)

Remark: If your language setting is "English (US)" and you do not want to change it, the rest of this page can be ignored.

First the package of the desired foreign language must be installed (here German as example).

apt-get install language-pack-de-base

The desired language settings can be adjusted in a simple text based dialog:

dpkg-reconfigure console-setup 

Example: The following settings fit good for German.
- UTF-8
- Latin1 and Latin5 - western Europe and Turkic languages
- VGA
- 16

Language settings in PuTTY (Windows)

- Terminal/Keyboard: Function Keys and keypad: "Linux"
- Window/Translation: Character Set UTF-8
- Window/Translation: Handling of drawing characters: "Use Unicode line drawing..."
- Connection/Data: Terminal-type string: "linux"



Continued: Configuring the firewall