1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
| 安装 Armbian 到 EMMC: armbian-install 更新 Armbian 内核: armbian-update 安装常用软件: armbian-software 修改 Armbian 配置: armbian-config 为 Armbian 创建 swap: armbian-swap 1 控制 LED 显示: armbian-led 备份/还原 EMMC 原系统: armbian-ddbr 在 Armbian 中编译内核: armbian-kernel 一键更新服务到最新版本:armbian-sync TF/USB 中使用 Armbian: armbian-tf
sudo apt update && sudo apt full-upgrade && sudo apt autoremove
apt-get update wget https://soft.lnmp.com/lnmp/lnmp2.1.tar.gz -O lnmp2.1.tar.gz && tar zxf lnmp2.1.tar.gz && cd lnmp2.1 && ./install.sh lnmp cd /root/lnmp2.1 && ./pureftpd.sh lnmp ftp add && /home/wwwroot/default/wp-content /home/wwwroot/default apt-get install ufw ufw allow 80,443,22,7100,8800,4530,45310:45350/tcp
sudo firewall-cmd --permanent --add-port={80,443,31296,40206,7100,45310-45350}/tcp sudo firewall-cmd --reload
sudo adduser xjf sudo passwd xjf sudo usermod -aG root xjf echo "xjf ALL=(ALL) ALL" | sudo tee -a /etc/sudoers
chmod +x /opt/software/S5-armbian/aria2c/* ln -s /opt/software/S5-armbian/aria2c/aria2c.service /etc/systemd/system/aria2c.service sudo systemctl start frpc sudo systemctl status frpc sudo systemctl enable frpc.service
apt install systemd sudo ln -s $(pwd)/dufs.service /etc/systemd/system/dufs.service sudo systemctl daemon-reload sudo systemctl start 1panel sudo systemctl enable 1panel sudo systemctl disable 1panel sudo systemctl status 1panel
https://nodejs.org/en/download/ npm config set prefix "D:\work\node-v22.12.0-win-x64\node_global" npm config set cache "D:\work\node-v22.12.0-win-x64\node_cache" npm root -g
npm install -g npm --registry=http://registry.npmmirror.com npm install --registry=http://registry.npmmirror.com
cnpm install -g hexo-cli npm install -g npm-check-updates ncu -u npm update
|