Loading...
一键开启sshCentOS系列,通过NoVNC连接后执行以下命令yum -y install openssh-server && systemctl restart sshd Debian系列,通过NoVNC连接后执行以下命令cat >> /etc/ssh/sshd_config << EOF PasswordAuthentication yes Pe...
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...
备份现有源:sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak 一般情况下,将 /etc/apt/sources.list 文件中 Debian 默认的源地址 http://deb.debian.org/ 替换为国内源即可#中国科技大学 sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' ...
这几天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 試驗...