鱼跃 大佬有话说 :
Oracle dd系统小手册
本帖最后由 鱼跃 于 2020-12-2 13:58 编辑
最近有不少MJJ在发帖问,聪明的MJJ肯定知道怎么切换版本或32位,脚本及命令是引用各位大佬的:lol :lol
前提:初始化版本是Canonical Ubuntu 16.04,避免乱七八糟bug
把下面脚本扔进CLOUD-INIT即可,除了系统,其他不更改
#!/bin/bash
echo root:Abc123456 |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 service sshd restart
不需要密钥 直接用root账号登录 初始账号root 密码Abc123456
centOS 6.9 64bit:
bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -c 6.9 -v 64 -a
debian 10 64bit(推荐):
bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -d 10 -v 64 -a
Ubuntu 16.04 64bit:
bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -u 16.04 -v 64 -a
dd时间大概15分钟左右 初始账号root 密码MoeClub.org
至于有MJJ说oracle看不了全球最大教育网站p站,应该是dns问题,直接更改resolv.conf不行,reboot后文件会被恢复,暂时用以下解决办法
debian:
apt-get install resolvconf
vim /etc/resolvconf/resolv.conf.d/head
然后加入以下,再reboot即可
nameserver 1.1.1.1
nameserver 8.8.8.8
zdszf 大佬有话说 :
https://moeclub.org
想念萌咖大佬的3650天
藏镜人 大佬有话说 :
不是只能dd debian9吗?
linjz 大佬有话说 :
藏镜人 大佬有话说 : 2020-12-2 13:38
不是只能dd debian9吗?
我DD过 debian10 正常使用https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif
鱼跃 大佬有话说 :
藏镜人 大佬有话说 : 2020-12-2 13:38
不是只能dd debian9吗?
大便10也可以啊 照样dd:lol:lol
木易酱 大佬有话说 :
只能基于Ubuntu 16.04进行DD吗?https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif
cchhuuaann1 大佬有话说 :
你少了一个参数 会失联的
kittyy487 大佬有话说 :
谢谢分享呀:lol
鱼跃 大佬有话说 :
zdszf 大佬有话说 : 2020-12-2 13:39
https://moeclub.org
想念萌咖大佬的3650天
甚是想念:lol
KACA7 大佬有话说 :
Mark贴,以后留用。