Loading...
下载脚本:wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh 一键运行:bash InstallNET...
Debian7:cp -r /etc/apt/sources.list /etc/apt/sources.list.bak;echo "deb http://archive.debian.org/debian/ wheezy main contrib non-free" > /etc/apt/sources.list;cat /etc/apt/sources.lis...
这几天Gullo小鸡做活动,买了个1.69刀的NAT小鸡儿,OpenVZ架构,但没有swap,我们添加一个,即便用不上也好看呀vi /etc/profile.d/swap-plus.sh 按 i 编辑(添加512M swap为例)#!/bin/bash SWAP="${1:-512}" NEW="$[SWAP*1024]"; TEMP="${...
关闭安全入口命令:rm -f /www/server/panel/data/admin_path.pl 附宝塔安装命令(专业版)Centos安裝命令:yum install -y wget && wget -O install.sh http://download.bt.sy/install/install_6.0.sh && sh install.sh 試驗...
最小化安装Linux系统后,ssh远程登录服务默认是关闭且禁止直接使用root账户进行登录一键开启:cat >> /etc/ssh/sshd_config << EOF PasswordAuthentication yes PermitRootLogin yes EOF service ssh restart