码迷,mamicode.com
首页 > 其他好文 > 详细

debian

时间:2019-04-24 09:21:38      阅读:175      评论:0      收藏:0      [点我收藏+]

标签: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

debian

标签:tar   sshd   pen   source   amd   start   server   tin   vimrc   

原文地址:https://www.cnblogs.com/createyuan/p/10760413.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!