內容選單標籤

2019年5月19日 星期日

CentOS 7.6.1810 - 20190518 安裝與網路


主機板ASUS P8H61 MLX PLUS
BIOS Advanced Mode:
Advanced--->CPU Configuration--->Intel Virtualization Technology--->Enabled


CentOS-7-x86_64-Minimal-1810.iso


VMware Workstation Player 15
設定:
Memory:2GB
Number of processor cores:2
Network Adapter Bridged

安裝:






中文顯示:

# date
Mon May 20 11:06:50 EDT 2019

先設定pietty


# echo $LANG
en_US.UTF-8

# localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us


顯示所有可用語系
# localectl list-locales | grep zh
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_HK
zh_HK.big5hkscs
zh_HK.utf8
zh_SG
zh_SG.gb2312
zh_SG.gbk
zh_SG.utf8
zh_TW
zh_TW.big5
zh_TW.euctw
zh_TW.utf8


# localectl set-locale LANG=zh_TW.utf8


# echo $LANG
en_US.UTF-8

# localectl status
   System Locale: LANG=zh_TW.utf8
       VC Keymap: us
      X11 Layout: us

# locale
LANG=en_US.UTF-8
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=


# date
Mon May 20 11:17:56 EDT 2019


---------------------
# reboot now
---------------------


# echo $LANG
zh_TW.utf8

# localectl status
   System Locale: LANG=zh_TW.utf8
       VC Keymap: us
      X11 Layout: us

# locale
LANG=zh_TW.utf8
LC_CTYPE="zh_TW.utf8"
LC_NUMERIC="zh_TW.utf8"
LC_TIME="zh_TW.utf8"
LC_COLLATE="zh_TW.utf8"
LC_MONETARY="zh_TW.utf8"
LC_MESSAGES="zh_TW.utf8"
LC_PAPER="zh_TW.utf8"
LC_NAME="zh_TW.utf8"
LC_ADDRESS="zh_TW.utf8"
LC_TELEPHONE="zh_TW.utf8"
LC_MEASUREMENT="zh_TW.utf8"
LC_IDENTIFICATION="zh_TW.utf8"
LC_ALL=


# date
一  5月 20 11:23:44 EDT 2019









設定網路:

















安裝過程沒設定網路:
#nmtui






#systemctl restart network.service
#ip addr show


或者修改設定檔
# vi /etc/sysconfig/network-scripts/ifcfg-ens33

#systemctl restart network.service
#ip addr show

沒有留言:

張貼留言