标签:tar sshd pen source amd start server tin vimrc
从头开始安装debian9.8
debian-9.8.0-amd64-netinst.iso
vi /etc/vim/vimrc.tiny
set nocompatible
set backspace=2
apt-get install apt-transport-https
echo "deb https://mirrors.aliyun.com/debian stretch main contrib non-free" >> /etc/apt/sources.list
echo "deb-src https://mirrors.aliyun.com/debian stretch main contrib non-free" >> /etc/apt/sources.list
deb http://mirrors.aliyun.com/debian stretch main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main contrib non-free
apt-get update
apt-get install openssh-server
vi /etc/ssh/sshd.config
PermitRootLogin yes
service sshd restart
标签:tar sshd pen source amd start server tin vimrc
原文地址:https://www.cnblogs.com/createyuan/p/10760413.html