Creating a new user account. Press <Ctrl-C> to abort
Please provide a username (eg. your first name):
输入用户名:cqzhangjnhua
出现以下提示
Create user (cqzhangjunhua) password:
输入用户名为cqzhangjunhua的登录密码:67773240
出现以下提示
Repeat user (cqzhangjunhua) password:
再次输入用户名为cqzhangjunhua的登录密码:67773240
出现以下提示
Please provide your real name: Cqzhangjunhua
请提供您的真实姓名:Cqzhangjunhua
按回车
出现以下提示
Dear Cqzhangjunhua, your account cqzhangjunhua has been created and is sudo enabled.
Please use this account for your daily work from now on.
Detected timezone: Asia/Shanghai
Set user language based on your location? [Y/n]
输入:y
出现以下提示
Generating locales: zh_CN.UTF-8
root@armbian:~#
到此armbian在tf卡的安装完成。
二.换源
2.1.输入以下命令
nano /etc/apt/sources.list
将原有内容,用#注释掉原有内容,在尾添加以下内容
deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free
保存退出:Ctrl+O、Enter、Ctrl+X
apt-get update
apt-get upgrade
2.2.设置CPU全速运行
输入以下命令
armbian-config
显示
Warning: Configuration cannot work properly without a working internet connection. Press CTRL C to stop or any key to ignore and continue.
按任意键继续
弹出:armbian-config 窗口,选择 System 按回车,
弹出:Warning - firmware packages frozeh 窗口,选择 CPU 按回车
弹出:Select minimum CPU speed 窗口,选择 1536000 按回车
弹出:Select CPU governor 窗口,选择 performance 按回车
弹出:Apply and save changes 窗口,选择 OK 按回车,然后 选择 Back、选择 Exit。
Unpacking logitechmediaserver (8.3.1) ...
dpkg: dependency problems prevent configuration of logitechmediaserver:
logitechmediaserver depends on libio-socket-ssl-perl; however:
Package libio-socket-ssl-perl is not installed.
logitechmediaserver depends on libcrypt-openssl-rsa-perl; however:
Package libcrypt-openssl-rsa-perl is not installed.
dpkg: error processing package logitechmediaserver (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
logitechmediaserver
解决方法,输入以下命令
apt --fix-broken install
最后显示
Setting up logitechmediaserver (8.3.1) ...
Adding system user `squeezeboxserver' (UID 111) ...
Adding new user `squeezeboxserver' (UID 111) with group `nogroup' ...
Not creating home directory `/usr/share/squeezeboxserver'.
Created symlink /etc/systemd/system/multi-user.target.wants/logitechmediaserver.service → /lib/systemd/system/logitechmediaserver.service.
Processing triggers for man-db (2.9.4-2) ...
root@armbian:~# squeezelite -?
Squeezelite v1.9.8-1317, Copyright 2012-2015 Adrian Smith, 2015-2021 Ralph Irving. See -t for license terms
Usage: squeezelite [options]
使用方法: squeezelite [选项]
-s <server>[:<port>] Connect to specified server, otherwise uses autodiscovery to find server
连接指定服务器,否则使用自动发现功能查找服务器
-o <output device> Specify output device, default "default", - = output to stdout
指定输出设备,默认为 "默认",- = 输出到 stdout
-l List output devices
列出输出设备
-a <b>:<p>:<f>:<m> Specify ALSA params to open output device, b = buffer time in ms or size in bytes, p = period count or size in bytes, f sample format (16|24|24_3|32), m = use mmap (0|1)
指定 ALSA 参数以打开输出设备,b = 缓冲时间(毫秒)或大小(字节),p = 周期计数或大小(字节),f 样本格式 (16|24|24_3|32),m = 使用 mmap (0|1)
-a <f> Specify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)
使用 -o - 将采样输出到 stdout 时,指定输出文件的采样格式(16|24|32)(仅限交错小端)
-b <stream>:<output> Specify internal Stream and Output buffer sizes in Kbytes
以千字节为单位指定内部数据流和输出缓冲区的大小
-c <codec1>,<codec2> Restrict codecs to those specified, otherwise load all available codecs; known codecs: flac,pcm,mp3,ogg,aac,wma,alac,dsd (mad,mpg for specific mp3 codec)
仅限指定的编解码器,否则加载所有可用的编解码器;已知编解码器:flac、pcm、mp3、ogg、aac、wma、alac、dsd(mad,mpg 用于特定的 mp3 编解码器)
Codecs reported to LMS in order listed, allowing codec priority refinement.
编解码器按所列顺序向 LMS 报告,允许对编解码器的优先级进行调整。
-C <timeout> Close output device when idle after timeout seconds, default is to keep it open while player is 'on'
超时几秒后闲置时关闭输出设备,默认情况下在播放器 "打开 "时保持打开状态
-d <log>=<level> Set logging level, logs: all|slimproto|stream|decode|output|ir, level: info|debug|sdebug
设置日志级别,日志:all|slimproto|stream|decode|output|ir,级别:info|debug|sdebug
-e <codec1>,<codec2> Explicitly exclude native support of one or more codecs; known codecs: flac,pcm,mp3,ogg,aac,wma,alac,dsd (mad,mpg for specific mp3 codec)
明确排除对一种或多种编解码器的本地支持;已知编解码器:flac、pcm、mp3、ogg、aac、wma、alac、dsd(特定 mp3 编解码器为 mad、mpg)。
-f <logfile> Write debug to logfile
将调试信息写入日志文件
-i [<filename>] Enable lirc remote control support (lirc config file ~/.lircrc used if filename not specified)
启用 lirc 远程控制支持(如果未指定文件名,则使用 lirc 配置文件 ~/.lircrc)
-m <mac addr> Set mac address, format: ab:cd:ef:12:34:56
设置 mac 地址,格式为:ab:cd:ef:12:34:56
-M <modelname> Set the squeezelite player model name sent to the server (default: SqueezeLite)
设置发送到服务器的 SqueezeLite 播放器模型名称(默认值: SqueezeLite
-n <name> Set the player name
设置播放器名称
-N <filename> Store player name in filename to allow server defined name changes to be shared between servers (not supported with -n)
在文件名中存储播放器名称,以便在服务器之间共享服务器定义的名称更改(使用 -n 时不支持)
-W Read wave and aiff format from header, ignore server parameters
从文件头读取 wave 和 aiff 格式,忽略服务器参数
-p <priority> Set real time priority of output thread (1-99)
设置输出线程的实时优先级(1-99)
-P <filename> Store the process id (PID) in filename
在文件名中存储进程 ID (PID)
-r <rates>[:<delay>] Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms
支持的采样率,允许在 squeezelite 启动时关闭输出;采样率 = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; 延迟 = 以毫秒为单位切换采样率的可选延迟
-R -u [params] Resample, params = <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>,
重新采样,参数 = <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>、
recipe = (v|h|m|l|q)(L|I|M)(s) [E|X], E = exception - resample only if native rate not supported, X = async - resample to max rate for device, otherwise to max sync rate
recipe = (v|h|m|l|q)(L|I|M)(s) [E|X],E = 例外 - 仅在不支持本地速率的情况下重新采样,X = 异步 - 以设备的最大速率重新采样,否则以最大同步速率采样
flags = num in hex,
标记 = 十六进制中的数字
attenuation = attenuation in dB to apply (default is -1db if not explicitly set),
attenuation = 衰减,单位为 dB(如果没有明确设置,默认为-1dB)
precision = number of bits precision (NB. HQ = 20. VHQ = 28),
精度 = 位精度数(注:HQ = 20。 VHQ = 28)
passband_end = number in percent (0dB pt. bandwidth to preserve. nyquist = 100%),
passband_end = 以百分比为单位的数字(保留 0dB 点带宽,奈奎斯特 = 100%)
stopband_start = number in percent (Aliasing/imaging control. > passband_end),
stopband_start = 以百分比为单位的数字(别名/成像控制。 > passband_end)
phase_response = 0-100 (0 = minimum / 50 = linear / 100 = maximum)
phase_response = 0-100(0 = 最小值 / 50 = 线性值 / 100 = 最大值)
-D [delay][:format] Output device supports DSD, delay = optional delay switching between PCM and DSD in ms
输出设备支持 DSD, 延迟 = 在 PCM 和 DSD 之间切换的可选延迟(毫秒)
format = dop (default if not specified), u8, u16le, u16be, u32le or u32be.
格式 = dop(未指定时默认),u8, u16le, u16be, u32le or u32be.
-v Visualizer support
显示屏支持
-O <mixer device> Specify mixer device, defaults to 'output device'
指定混音器设备,默认为 "输出设备"
-L List volume controls for output device
列出输出设备的音量控制
-U <control> Unmute ALSA control and set to full volume (not supported with -V)
取消 ALSA 控制静音并设置为全音量(不支持 -V)。
-V <control> Use ALSA control for volume adjustment, otherwise use software volume adjustment
使用 ALSA 控制器调节音量,否则使用软件调节音量
-X Use linear volume adjustments instead of in terms of dB (only for hardware volume control)
使用线性音量调节而不是 dB(仅用于硬件音量控制)
-z Daemonize
守护进程化
-Z <rate> Report rate to server in helo as the maximum sample rate we can support
将采样率作为我们能支持的最大采样率报告给直升机上的服务器
-t License terms
许可条款
-? Display this help text
显示此帮助文本
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR DSD SSL LINKALL
#!/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.
#
# By default this script does nothing.