修改源:
vi /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
设置时区、语言,安装OMV
armbian-config
手动设置
locale
locale -a
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
echo "export LC_ALL=zh_CN.UTF8" >> ~/.bashrc
打印机共享:
airprint共享需要安装 cups-browsed avahi-daemon
安装cups-browsed后可以网络发现打印机
外网打印需要配置cupsd.conf
\\如果ios无法打印,需要在配置页面开启 Allow printing from the Internet
cupsd.conf配置,web配置页面有详细说明。
安装打印驱动:(包含大部分驱动)
apt-get install foomatic-db-engine
apt-get install foomatic-db-gutenprint
也可以直接用PPD文件驱动
打印驱动相关资料:
https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems#CAPT
MFC-7470D 用Brother HL-2240D Foomatic/hl1250(en) 600*600,电脑手机双面打印都OK
联想LJ2200用hBrother HL-2140 Foomatic/hl1250(en) 600*600 电脑 手机完美 电脑 用的HL2140驱动
手工配置网络:
vi /etc/network/interfaces
source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto eth0
iface eth0 inet dhcp
transmission汉化:
wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh
bash install-tr-control-cn.sh
xshell在vim中复制粘贴
编辑文件(默认没有这个文件)vim ~/.vimrc
set mouse=c
syntax on
说明:
第一行:设置成命令行模式,设置完成后代码高亮会消失;
第二行:设置代码高亮。
xshell小键盘不能输入数字
替换dtb
直接把dtb文件复制到/boot/dtb文件夹下,修改nEnv.ini中dtb路径指向就好了!