谷歌云(GCP)等开启密码与root用户登陆
sudo -i //切换到root用户
vi /etc/ssh/sshd_config //编辑文件
# Authentication:
PermitRootLogin yes //默认为no,需要开启root用户访问改为yes
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes //默认为no,改为yes开启密码登陆
service sshd restart
Linux宝塔面板安装命令
curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.sh
设置root密码登录
passwd root
s-s-r 一键脚本
yum -y install wget
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh
b-b-r 等加速一键脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh
chmod +x tcp.sh
./tcp.sh
卸载内核脚本命令
dpkg --list|grep linux-image //内核镜像列表
sudo apt-get purge linux-image-4.4.0-81 //删除内核镜像文件