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身份和新设置密码登录系统
二.备份EMMC内的安卓系统
输入ddbr命令
ddbr
显示:
DO YOU WANT TO BACKUP OR RESTORE ?
BACKUP=(b) RESTORE=(r)
输入:b
显示:
AVAILABLE DEVICES: mmcblk0 mmcblk1
YOU ARE RUNNING stretch FROM mmcblk0
INTERNAL EMMC IS: mmcblk1 SIZE: 7634944
ROOT (mmcblk0) FREE SPACE IS: 12959076
DO YOU WANT COMPRESSION ?
YES=(y) NO=(n)
输入:y
显示:
SAVING AND COMPRESSING mmcblk1 TO /ddbr/Amlogic-emmc.img.gz...
45MiB 0:00:07 [2.58MiB/s] [> ] 0% ETA 0:19:13
Welcome to ARMBIAN 5.44 user-built Debian GNU/Linux 9 (stretch) 3.14.29
System load: 1.08 0.61 0.25 Up time: 2 min
Memory usage: 13 % of 766MB IP: 192.168.2.214
Usage of /: 47% of 4.8G
root@amlogic:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
1.换源:
nano /etc/apt/sources.list
将原内容全部用#注释掉,将以下内容复制到文件尾部:
#中科大
#debian10
deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
保存退出:Ctrl+O、Enter、Ctrl+X
apt update
显示:
Err:2 https://mirrors.ustc.edu.cn/debian buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
Err:3 https://mirrors.ustc.edu.cn/debian buster-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Err:4 https://mirrors.ustc.edu.cn/debian buster-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Err:5 https://mirrors.ustc.edu.cn/debian-security buster/updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 112695A0E562B32A NO_PUBKEY 54404762BBB6E853
#中科大
#debian10
deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
deb 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 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
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)
Retry : Re-run the last command that failed
DietPi-Config : Edit network, APT/NTP mirror settings etc
Open subshell : Open a subshell to investigate or solve the issue
Send report : Uploads bugreport containing system info to DietPi
●─ Devs only ──────────────────●
Change command : Adjust and rerun the command
通常都选择:Retry : Re-run the last command that failed ,按Ok。
当出现以下提示,表示安装完成。
/lib/modules:
total 4.0K
drwxr-xr-x 3 root root 4.0K Jun 1 2018 3.14.29
[ 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@amlogic:/home#
4.重新启动前的准备工作
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 existing unix user passwords?
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
还可以选:[ ] 86 Roon Extension Manager: manage extensions from within Roon
在Media Systems下面共有29个软件,可以根据自己需要选择安装。
选好要安装的软件后,按Ok
显示
DietPi-Software
[ INFO ] Mount NFS/Samba shares via DietPi-Drive_Manager
DietPi-Drive_Manager is a powerful tool which vastly simplifies the mounting of NFS and Samba shares.
Once DietPi-Software has finished installation, simply run 'dietpi-drive_manager' to setup required network mounts
按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.10.2 : 21:05 - Wed 10/26/22
─────────────────────────────────────────────────────
- Device model : Generic Amlogic S905 (aarch64)
- CPU temp : N/A
- LAN IP : 192.168.2.214 (eth0)
curl: (28) Resolving timed out after 3016 milliseconds
─────────────────────────────────────────────────────
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