修改源:
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
打印机共享:
airprint共享需要安装 cups-browsed avahi-daemon
安装cups-browsed后可以网络发现打印机
外网打印需要配置cupsd.conf <Location />上方增加一行:ServerAlias * *代表所有域名,不太安全,建议指定当前域名
\\如果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
原文地址:https://www.cnblogs.com/wxfy/p/10550596.html
时间: 2024-10-29 18:08:36