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在U盘的安装完成。
重要之处、重要之处、重要之处,要激活U盘的剩余空间,请登录armbian→输入命令:
armbian-tf
根据提示回车e将剩余空间扩展到当前系统分区和文件系统。
二.安装DietPi
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
Please select the Git branch the installer should use:
master : Stable release branch (recommended)
beta : Public beta testing branch
dev : Unstable development branch
选择:master : Stable release branch (recommended)
按Ok
提示二:
Please enter your name. This will be used to identify the image creator within credits banner.
You can add your contact information as well for end users.
NB: An entry is required.
输入:用户名(cqzhangjunhua),按Ok。
提示三:
Please enter the name or URL of the pre-image you installed on this system, prior to running this script. This will
be used to identify the pre-image credits.
EG: Debian, Raspberry Pi OS Lite, Armbian or "forum.odroid.com/viewtopic.php?t=123456" etc.
NB: An entry is required.
输入:Debian, 按Ok。
提示四:
Please select the current device this is being installed on:
- NB: Select "Generic device" if not listed.
- "Core devices": Fully supported by DietPi, offering full GPU acceleration + Kodi support.
- "Limited support devices": No GPU acceleration guaranteed.
在ARM的下拉列表中选:28 : Generic Amlogic S905,按Ok。
提示五:
Please select an option:
0 : I do not require WiFi functionality, skip related package install.
1 : I require WiFi functionality, install related packages.
选择:0 : I do not require WiFi functionality, skip related package install。按Ok。
提示六:
Please select a Debian version to install on this system.
Currently installed: buster (ID: 5)
6 : Bullseye (current stable release, recommended)
7 : Bookworm (testing, if you want to live on bleeding edge)
在上面出错提示框里选择 "Change command : Adjust and rerun the command"
在弹出的提示框里修改:rm /etc/apt/sources.list.d/* 为以下
rm /etc/apt/sources.list.d/sources.list
2.如果/etc/apt目录下的sources.list.d目录不存在(用WinSCP查看):
首先在/etc/apt目录下建立sources.list.d目录
mkdir /etc/apt/sources.list.d
然后在按照上面的步骤就可以。
当出现以下提示,表示安装完成。
/lib/modules:
total 4.0K
drwxr-xr-x 3 root root 4.0K Jul 30 06:51 5.15.58-flippy-75+o
[ OK ] DietPi-PREP | Completed, disk can now be saved to .img for later use, or, reboot system to start first run of DietPi.
[ OK ] DietPi-PREP | To create an .img file, you can "poweroff" and run the following command from the host/external DietPi system:
- bash -c "$(curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-imager)"
root@armbian:/home#
5.首次运行dietpi
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
Do you want to adjust the default global software password for
DietPi-Software installations? We especially recommend to change the default
password "dietpi". This does not affect any existing software passwords.
NB: This password will be saved and encrypted within
"/var/lib/dietpi/dietpi-software/.GLOBAL_PW.bin" to be useable by DietPi
scripts for e.g. web application and database logins. We highly recommend to
apply individual passwords for each software title after first login.
选择: <Cancel>
提示:
DietPi-Set_software
Change login password for "root" and "dietpi" users?
DietPi has two accounts by default "root" and "dietpi". On first boot, both
share the global password "dietpi", respectively the one set in
"dietpi.txt".
It is highly recommended to change this password, ideally, it should be
different than the global software password.
Would you like to change the login passwords for "root" and "dietpi"?
选择:Ok
输入以root身份登录的密码:67773240 选择:Ok
再次:输入以root身份登录的密码:67773240 选择:Ok
对之后的提示,可以选择:No
显示:
DietPi-Software
Help! : Links to online guides, docs and information
DietPi-Config : Feature-rich configuration tool for your device
●─ Select Software ─────────────────────────────●
Search Software : Find software to install via search box
Browse Software : Select software from the full list
SSH Server : [Dropbear]
Log System : [DietPi-RAMlog #1]
User Data Location : [SD/eMMC | /mnt/dietpi_userdata]
●─ Install or Remove Software ──────────────────●
Uninstall : Select installed software for removal
Install : Go >> Start installation for selected software
选择:DietPi-Config: Feature-rich configuration tool for your device 按Ok
CPU Governor : [schedutil]
CPU Frequency Limits : Max = [Off] | Min = [Off]
选择:CPU Governor : [schedutil] 按Ok
显示三个选择项:
schedutil : Scales CPU frequency between 1000 MHz and 1908 MHz
ondemand : Scales CPU frequency between 1000 MHz and 1908 MHz
performance : Forces CPU frequency to 1908 MHz
选择:performance : Forces CPU frequency to 1908 MHz 按Ok
显示:
CPU Governor : [performance]
CPU Frequency Limits : Max = [Off] | Min = [Off]
选择:CPU Frequency Limits : Max = [Off] | Min = [Off] 按Ok
显示:
Limit the maximum frequency that your processor can reach.
选择:1908 MHz 按Ok
显示:
Limit the minimum frequency that your processor can reach.
还可以选:[ ] 86 Roon Extension Manager: manage extensions from within Roon
在Media Systems下面共有29个软件,可以根据自己需要选择安装。
选好要安装的软件后,按Ok
显示省略,选择:Install: Go >> Start installation for selected software 按Ok
显示省略,按Ok
开始安装所选软件
显示:
Show : Show me the upload file content
1 : Opt IN and upload data
0 : Opt OUT and purge uploaded data
选择:0 按Ok
显示:
─────────────────────────────────────────────────────
DietPi v8.11.2 : 14:20 - Thu 12/08/22
─────────────────────────────────────────────────────
- Device model : Generic Amlogic S905 (aarch64)
- CPU temp : 40 °C / 104 °F : Optimal temperature
- LAN IP : 192.168.2.77 (eth0)
- MOTD : Check out the DietPi v8.11 release notes:
https://dietpi.com/docs/releases/v8_11/
─────────────────────────────────────────────────────
DietPi Team : https://github.com/MichaIng/DietPi#the-dietpi-project-team
Image by : cqzhangjunhua (pre-image: Debian)
Patreon Legends : Camry2731, Chris Gelatt
Website : https://dietpi.com/ | https://twitter.com/DietPi_
Contribute : https://dietpi.com/contribute.html
Web Hosting by : https://myvirtualserver.com
dietpi-launcher : All the DietPi programs in one place
dietpi-config : Feature rich configuration tool for your device
dietpi-software : Select optimised software for installation
htop : Resource monitor
cpu : Shows CPU information and stats