PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置
生活随笔
收集整理的這篇文章主要介紹了
PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
PHICOMM(斐訊)N1盒子 - Armbian5.77(Debian 9)基本配置
如需轉載請標明出處:http://blog.csdn.net/itas109
技術交流:129518033
文章目錄
- PHICOMM(斐訊)N1盒子 - Armbian5.77(Debian 9)基本配置
- 1. 配置國內源
- 2. 配置時區
- 3. 設置中文環境
1. 配置國內源
$ sudo vi /etc/apt/sources.list deb http://mirrors.ustc.edu.cn/debian stretch main contrib non-free deb http://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian stretch-backports main contrib non-free deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free $ apt update2. 配置時區
查看時間日期狀態
$ timedatectl查看時區列表
$ timedatectl list-timezones ... Asia/Shanghai ...設置中國時區
$ timedatectl set-timezone Asia/Shanghai結果
$ timedatectl Local time: Sat 2022-07-30 21:56:57 CSTUniversal time: Sat 2022-07-30 13:56:57 UTCRTC time: n/aTime zone: Asia/Shanghai (CST, +0800)Network time on: yes NTP synchronized: yesRTC in local TZ: no3. 設置中文環境
$ locale #查看環境變量 $ sudo nano /etc/locale.gen #開啟字庫,去掉zh_CN.UTF-8前面的#保存 $ sudo apt-get update #更新程序列表 $ sudo apt-get upgrade #更新程序 $ sudo apt-get install ttf-wqy-zenhei #安裝中文字體 $ sudo fc-cache -v #更新字體列表 $ sudo nano ~/.profile #在文件末尾添加相應內容: #全中文環境增加export LC_ALL=zh_CN.UTF-8#半中文環境增加LC_CTYPE=zh_CN.UTF-8 和 LANG=en_US.UTF-8 #Ctrl+O保存 Enter確認 Ctrl+X退出 $ sudo locale-gen #生成locale文件 $ sudo rebootLicense
License under CC BY-NC-ND 4.0: 署名-非商業使用-禁止演繹
如需轉載請標明出處:http://blog.csdn.net/itas109
技術交流:129518033
Reference:
NULL
總結
以上是生活随笔為你收集整理的PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 国外广告联盟,别被人当傻子割了
- 下一篇: VMware导出ovf和ova格式文件