debian
Posted createyuan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debian相关的知识,希望对你有一定的参考价值。
从头开始安装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
以上是关于debian的主要内容,如果未能解决你的问题,请参考以下文章