Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
odroid-xu4:software:ubuntu_nas:01_basic_settings [2017/10/25 10:00] – ↷ Links adapted because of a move operation luke.go | odroid-xu4:software:ubuntu_nas:01_basic_settings [2018/03/09 10:47] (current) – [Set timezone/locale data] joshua | ||
---|---|---|---|
Line 9: | Line 9: | ||
Type the command lines below to update your ODROID.\\ | Type the command lines below to update your ODROID.\\ | ||
<code bash target> | <code bash target> | ||
- | $ sudo apt-get update && sudo apt-get dist-upgrade | + | $ sudo apt update && sudo apt full-upgrade |
</ | </ | ||
And install latest kernel.\\ | And install latest kernel.\\ | ||
<code bash target> | <code bash target> | ||
- | $ sudo apt-get install linux-image-xu3 | + | $ sudo apt install linux-image-xu3 |
$ reboot | $ reboot | ||
</ | </ | ||
Line 23: | Line 23: | ||
Set locale.\\ | Set locale.\\ | ||
<code bash target> | <code bash target> | ||
- | $ sudo locale-gen " | + | sudo locale-gen " |
- | $ sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | + | sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 |
- | $ sudo dpkg-reconfigure locales | + | sudo dpkg-reconfigure locales |
# Select " | # Select " | ||
</ | </ | ||
- | To take effect, you should **re-connect** your shell.\\ | + | To take effect, you should **re-connect** your shell and you can check using following command.\\ |
+ | <code bash target> | ||
+ | $ locale | ||
+ | |||
+ | # results | ||
+ | LANG=en_US.UTF-8 | ||
+ | LANGUAGE= | ||
+ | LC_CTYPE=" | ||
+ | LC_NUMERIC=" | ||
+ | LC_TIME=" | ||
+ | LC_COLLATE=" | ||
+ | LC_MONETARY=" | ||
+ | LC_MESSAGES=" | ||
+ | LC_PAPER=" | ||
+ | LC_NAME=" | ||
+ | LC_ADDRESS=" | ||
+ | LC_TELEPHONE=" | ||
+ | LC_MEASUREMENT=" | ||
+ | LC_IDENTIFICATION=" | ||
+ | LC_ALL=en_US.UTF-8 | ||
+ | </ | ||
===== Create a user ===== | ===== Create a user ===== | ||
Line 43: | Line 63: | ||
<code bash target> | <code bash target> | ||
# Enter prefer group name | # Enter prefer group name | ||
- | $ sudo addgroup | + | $ sudo groupadd |
</ | </ | ||
And to join a new user into a new group, enter the command lines below: | And to join a new user into a new group, enter the command lines below: |