Welcome to ARMBIAN 5.44 user-built Debian GNU/Linux 9 (stretch) 3.14.29
System load: 1.24 0.72 0.29 Up time: 3 min
Memory usage: 8 % of 766MB IP: 192.168.2.43
Usage of /: 13% of 15G
[ General system configuration (beta): armbian-config ]
New to Armbian? Check the documentation first: https://docs.armbian.com
Changing password for root.
(current) UNIX password:
输入root的旧密码:1234
显示
Enter new UNIX password:
输入root的新密码:67773240
显示:
Retype new UNIX password:
再次输入root的新密码:67773240
显示:
Thank you for choosing Armbian! Support: www.armbian.com
Creating a new user account. Press <Ctrl-C> to abort
Desktop environment will not be enabled if you abort the new user creation
Please provide a username (eg. your forename):
输入新用户名:cqzhangjunhua
显示:
Creating home directory `/home/cqzhangjunhua' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
输入cqzhangjunhua的密码:67773240
显示:
Retype new UNIX password:
再次输入cqzhangjunhua的密码:677732340
显示:
passwd: password updated successfully
Changing the user information for cqzhangjunhua
Enter the new value, or press ENTER for the default
Full Name []:
按回车
显示
Room Number []:
按回车
显示
Work Phone []:
按回车
显示
Home Phone []:
按回车
显示
Other []:
按回车
显示
Is the information correct? [Y/n]
输入:y
显示
Sucesfuul setup. Reboot system.
系统重启,表示安装完成。
重新以root身份和新设置密码登录系统
二.更新系统
1.nano /etc/apt/sources.list
#中科大
deb https://mirrors.ustc.edu.cn/debian/ stretch main non-free contrib
deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main non-free contrib
deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main non-free contrib
deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main non-free contrib
Reading package lists... Done
W: GPG error: https://mirrors.ustc.edu.cn/debian stretch-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
W: The repository 'https://mirrors.ustc.edu.cn/debian stretch-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Help Options:
-h, --help Show help options
显示帮助选项
--help-all Show all help options
显示全部帮助选项
--help-gstout Show GStreamer Output Options
显示GStreamer输出选项
--help-gst Show GStreamer Options
显示GStreamer选项
Application Options:
应用选项
--version Output version information and exit
输出版本信息并退出
-I, --interface-name The local interface name the service is running and advertised
该服务正在运行并公布的本地接口名称
-p, --port Port to listen to; [49152..65535] (libupnp does not use SO_REUSEADDR, so might increment)
监听的端口
-u, --uuid UUID to advertise
-f, --friendly-name Friendly name to advertise.
-o, --output Output module to use.
-P, --pid-file File the process ID should be written to.
-d, --daemon Run as daemon.
--mime-filter Filter the supported media types. e.g. Audio only: '--mime-filter audio'. Disable FLAC: '--mime-filter -audio/x-flac'.
--logfile Debug log filename. Use 'stdout' or 'stderr' to log to console.
--list-outputs List available output modules and exit
--dump-devicedesc Dump device descriptor XML and exit.
--dump-connmgr-scpd Dump Connection Manager service description XML and exit.
--dump-control-scpd Dump Rendering Control service description XML and exit.
--dump-transport-scpd Dump A/V Transport service description XML and exit.
2.设置gmediarender
2.1.设置系统默认声卡为:USB解码器
接上USB解码器,输入以下命令查看USB解码器信息
cat /proc/asound/cards
显示:
1 [H20 ]: USB-Audio - HU400 HiFi 2.0
Yunyue Audio HU400 HiFi 2.0 at usb-c9000000.dwc2_a-1, high speed
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#