侧边栏壁纸
博主昵称
郭

  • 累计撰写 21 篇文章
  • 累计收到 1 条评论
文章目录

更新网络重装,适配Oracle

Guo
Guo
2022-08-11 / 0 评论 / 558 阅读 / 耗时: 8 ms /

以下系统已通过测试(其他自测):
Debian: 9, 10, 11;
Ubuntu: 18.04, 20.04;
CentOS: 6.10;
以下平台已通过测试(其他自测):
Oracle、Do、Azure

示例:
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"

开机改密:

!/bin/bash

echo root:Vicer |sudo chpasswd root
sudo sed -i 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -c 7 -v 64 -a

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -c 8 -v 64 -a

你认为这篇文章怎么样?
  • 0
    点赞
  • 0
    踩
  • 0
    酷
  • 0
    滑稽
  • 0
    尴尬
  • 0
    睡觉

评论 (0)

取消