网站背景图
博主

6月17日在线

技术资料日志录
歌曲封面 未知作品

提供加速/存储服务

桂ICP备20004815号

网站已运行 5 年 130 天 20 小时 25 分

Powered by Typecho & Sunny

0 online · 1.314 s

Title

Rock 5b快速配置

Abin

·

Article
⚠️ 本文最后更新于2022年11月14日,已经过了993天没有更新,若内容或图片失效,请留言反馈
♾️ text 代码:
dd if=/dev/zero od=/dev/nvme0n1 bs=4k status=progress
♾️ text 代码:
apt install nvme-cli
nvme list
nvme format -s1 /dev/nvme0n1 -f
lsblk
sync;
ls
dd if=./Armbian_22.11.0-trunk_Rock-5b_sid_legacy_5.10.72.img of=/dev/nvme0n1 bs=4M status=progress;sync;
sync;
lsblk
poweroff
♾️ text 代码:
apt install  g++
g++ main.cpp -o fan
systemctl start fan.service
systemctl enable fan.service
unzip ./out.zip 
lsblk
dpkg -l | grep rock
apt autoremove linux-5.10-rock-5-latest linux-headers-5.10.66-27-rockchip-gea60d388902d linux-image-5.10.66-27-rockchip-gea60d388902d
cd out/
ls
cd packages/
ls
apt install ./*deb
sync;reboot
apt update
apt install nftables
nft -f /etc/nftables.conf 
lsmod
apt install wireguard
export DOWNLOAD_URL="https://mirrors.bfsu.edu.cn/docker-ce"
curl -fsSL https://get.docker.com/ | sh
apt-get install ntpdate
tzselect
echo "export TZ='Asia/Shanghai'" >> /etc/profile
source /etc/profile
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
cat /etc/default/ntpdate
>>>
#Configuration script used by ntpdate-sync script

NTPSERVERS="ntp1.aliyun.com"

#Set to "yes" to write time to hardware clock on success
UPDATE_HWCLOCK="yes"
>>>
reboot
date -R
apt install screen
apt install -y vim git gcc wget screen
screen -S bt
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
bt 6
bt 5
bt 11
echo “” > /www/server/panel/script/site_task.py
chattr +i /www/server/panel/script/site_task.py
rm -rf /www/server/panel/logs/request/*
chattr +i -R /www/server/panel/logs/request
apt install aria2
mkdir /etc/aria2
touch /etc/aria2/aria2.session 
chmod 777 /etc/aria2/aria2.session
#nano /etc/aria2/aria2.conf 
aria2c --conf-path=/etc/aria2/aria2.conf
chmod 755 /etc/init.d/aria2c
update-rc.d aria2c defaults
service aria2c start
docker run -d --name=xunlei --hostname=mynas --net=host -e XL_WEB_PORT=8156 -v /home/www/xunlei:/xunlei/data -v /home/share/downloads:/xunlei/downloads --restart=unless-stopped --privileged cnk3x/xunlei:latest
docker pull jellyfin/jellyfin
docker run -d -p 8096:8096 -v /jellyfin/config:/config -v /home/share:/share jellyfin/jellyfin
docker run -d --restart=always -v /home/www/alist:/opt/alist/data -p 5244:5244 --name="alist" xhofe/alist:latest
docker run -dt --name bark -p 6543:8080 -v `pwd`/bark-data:/data finab/bark-server
#docker  update --restart=always ID
#docker exec -it ID /bin/sh
apt get install locales
dpkg-reconfigure localesnano /etc/systemd/system/qbt.service
systemctl enable qbt
systemctl start qbt
systemctl status qbt
现在已有 164 次阅读,0 条评论,0 人点赞
Author:Abin
作者
Rock 5b快速配置
当前文章累计共 2820 字,阅读大概需要 0 分钟。
口腔白斑病
2024年1月5日 · 0评论
牙的组成
2024年1月5日 · 0评论
地图舌
2024年1月5日 · 0评论
Comment:共0条
发表
搜 索 消 息 足 迹
你还不曾留言过..
你还不曾留下足迹..
博主 不再显示
博主
博主 立即安装