odroid-xu4:software:ubuntu_nas:01_basic_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
odroid-xu4:software:ubuntu_nas:01_basic_settings [2017/10/18 15:07]
joshua [Create a user]
odroid-xu4:software:ubuntu_nas:01_basic_settings [2018/03/09 10:47] (current)
joshua [Set timezone/locale data]
Line 1: Line 1:
 ====== Basic Settings ====== ====== Basic Settings ======
 <WRAP help round> <WRAP help round>
-  * If you use a CloudShell series, **activate** a LCD display and a fan of the machine.+  * If you use a [[odroid-xu4:software:ubuntu_nas:CloudShell]] series, **activate** a LCD display and a fan of the machine.
     * [[accessory:add-on_boards:xu4_cloudshell:lcd_config|Cloudshell LCD Configuration]]     * [[accessory:add-on_boards:xu4_cloudshell:lcd_config|Cloudshell LCD Configuration]]
     * [[accessory:add-on_boards:xu4_cloudshell2:xu4_cloudshell2#enable_lcd_and_fan|CloudShell2 LCD/Fan Configuration]]     * [[accessory:add-on_boards:xu4_cloudshell2:xu4_cloudshell2#enable_lcd_and_fan|CloudShell2 LCD/Fan Configuration]]
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
 </code> </code>
 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
 </code> </code>
Line 23: Line 23:
 Set locale.\\  Set locale.\\ 
 <code bash target> <code bash target>
-sudo locale-gen "en_US.UTF-8" +sudo locale-gen "en_US.UTF-8" 
-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 "en_US.UTF-8" for all of the steps. # Select "en_US.UTF-8" for all of the steps.
 </code> </code>
-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="en_US.UTF-8" 
 +LC_NUMERIC="en_US.UTF-8" 
 +LC_TIME="en_US.UTF-8" 
 +LC_COLLATE="en_US.UTF-8" 
 +LC_MONETARY="en_US.UTF-8" 
 +LC_MESSAGES="en_US.UTF-8" 
 +LC_PAPER="en_US.UTF-8" 
 +LC_NAME="en_US.UTF-8" 
 +LC_ADDRESS="en_US.UTF-8" 
 +LC_TELEPHONE="en_US.UTF-8" 
 +LC_MEASUREMENT="en_US.UTF-8" 
 +LC_IDENTIFICATION="en_US.UTF-8" 
 +LC_ALL=en_US.UTF-8 
 +</code>
  
 ===== 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 your-group-name+$ sudo groupadd your-group-name
 </code> </code>
 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:
Line 57: Line 77:
 $ sudo service sshd restart $ sudo service sshd restart
 </code> </code>
-**Restart** the shell and login again with your new account.\\ +**Restart the shell** and login again with your new account.\\ 
  • odroid-xu4/software/ubuntu_nas/01_basic_settings.1508308625.txt.gz
  • Last modified: 2017/10/18 15:07
  • by joshua