Jack Posted February 26, 2022 Share Posted February 26, 2022 (edited) ---------------------------------------------------------- DD Rocky Linux ---------------------------------------------------------- 在阿里雲輕量雲 2G RAM,安裝LNMP一鍵安裝包,容易掛在安裝MariaDB 進度 x %,卡在 x % 超過30分鐘就沒救了 你就需要用DD方式,更換為Rocky Linux DD之前,先將你的輕量雲 reinstall 為 CentOS 7 再來SSH安裝這些 yum install -y xz openssl gawk file glibc-common wget screen yum -y install epel-release yum -y install tar zip unzip yum makecache yum -y update sudo reboot 你可以做个三网测速 此時到阿里雲控制台做一個快照 -------------------- DD腳本 -------------------- wget --no-check-certificate https://cdn.jsdelivr.net/gh/fcurrk/reinstall@master/NewReinstall.sh chmod +x /root/NewReinstall.sh ./NewReinstall.sh -------------------- 進入DD流程 -------------------- Using DHCP to configure network automatically? [Y/n]: 選擇 n IP: 172.x.x.x Gateway: 172.x.x.x Netmask: 255.255.x.0 Confirm? [Y/n]: 選擇 Y Please select an OS: 5) Rocky 8 [X64-Legacy-cxthhhhh] 6) Rocky 8 [X64-UEFI-cxthhhhh] 7) Rocky 8 [ARM64-UEFI-cxthhhhh] 選擇 5 敲任意鍵繼續 Press any key to continue... 等待一下,SSH將斷線 瀏覽器到阿里雲輕量 -> 远程连接 -> 救援 -> 救援连接 下一步 -> 重置救援连接密码 -> 輸入自定義密碼 -> 確定 救援连接密码 -> 輸入你的自定義密碼 -> 連接 可以看到DD過程 Starting up the partitioner 0% Please wait... 等待DD完成,約30分鐘 ~ 1小時 完成之後,SSH登入 用户名:root 默认密码:cxthhhhh.com 更改root密碼,指令 passwd 輸入你的新密碼與再次確認新密碼 離開 exit 再SSH登入,使用新的root密碼 接下來,可以開始CentOS更新與配置 Edited December 5, 2022 by Jack Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now