Created
May 3, 2023 08:23
-
-
Save sangheonhan/9c7d542a024a00992bb6b4df63cb4b92 to your computer and use it in GitHub Desktop.
Set Ubuntu to the Korean locale.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
export DEBIAN_FRONTEND=noninteractive | |
export DEBCONF_NONINTERACTIVE_SEEN=true | |
export LANG=ko_KR.UTF-8 | |
export LC_MESSAGES=POSIX | |
sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list | |
apt update -y | |
apt install -y locales language-pack-ko tzdata | |
echo "Asia/Seoul" > /etc/timezone | |
ln -fs /usr/share/zoneinfo/`cat /etc/timezone` /etc/localtime | |
locale-gen ko_KR.UTF-8 | |
update-locale LANG=ko_KR.UTF-8 | |
dpkg-reconfigure --frontend noninteractive locales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment