安装免费开源中文字体
sudo apt-get install ttf-wqy-zenhei

安装locales软件包
sudo apt-get install locales

配置locales软件包
sudo dpkg-reconfigure locales

界面中钩选上“zh_CN.UTF-8”
TIM截图20191019120713.jpg
空格键选择 回车确认

默认的区域选“zh_CN.UTF-8”
TIM截图201910191207132.jpg

安装中文输入法
sudo apt-get install scim-pinyin

最后重启
sudo reboot

安装
sudo apt-get install git

配置
git config --global user.name "用户名"
git config --global user.email "邮箱"

SSH公钥
ssh-keygen -t rsa -C "邮箱"

查看SSH公钥
cat fileName.pub

把SSH公钥添加到码云
https://gitee.com/profile/sshkeys

把私钥添加到ssh-agent
ssh-add id_rsa
若执行ssh-add出现
Could not open a connection to your authentication agent
先执行 ssh-agent bash

在Debian下删除文件一般用rm命令

删除文件夹用rmdir命令

如果想要屏蔽中间的询问,加上参数 -f

这些很简单,保是删除文件夹的rmdir命令总是要求只能删除空文件夹,怎么办呢,找到了!

还是用rm,所不同的是,这个时候要加上参数-r

格式 rm -r directory

1、手动安装apt-transport-https.deb
sudo dpkg -i apt-transport-https.deb
2、改中科大源和能用的PocketChip源
sudo nano /etc/apt/sources.list
deb http://chip.jfpossibilities.com/chip/debian/repo jessie main
deb http://chip.jfpossibilities.com/chip/debian/pocketchip jessie main
deb http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie main contrib non-free
deb http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
Ctrl+x
y
保存
3、安装openssh-server并启动
sudo apt install openssh-server
sudo systemctl start ssh.service
4、修改配置
nano /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
5、设置自启动
sudo systemctl enable ssh

1.Ubuntu系统真机(我用的版本18.04)

2.Ubuntu改国内源

备份源

cp /etc/apt/sources.list /etc/apt/sources.list.bak

改源

sudo nano /etc/apt/sources.list

中科大源

deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

更新

sudo apt-get update
sudo apt-get upgrade

3.https://github.com/Thore-Krug/Flash-CHIP
建议把需要的文件FQ下载到隐藏文件夹.dl下,Ctrl+h查看隐藏文件
2019-10-18 16-59-27屏幕截图.png

2019-10-15 17-08-48屏幕截图.png

2019-10-15 17-09-12屏幕截图.png

2019-10-15 17-08-29屏幕截图.png

刷完之后发现触摸屏方向是左右上下相反

1、在终端内输入:sudo nano /etc/X11/xorg.conf

2、将来以下这句添加到最后

Section "InputClass"
Identifier "calibration"
MatchProduct "1c25000.rtp"
Option "Calibration" "3980 226 3564 343"
Option "SwapAxes" "0"
EndSection

ctrl+X 退出
Y保存
回车确认

3、最后重启