Debian

1.配置IP地址:

1)vi /etc/network/interface

添加 auto eth0

  iface eth0 inet static

  address 10.10.118.248

  netmask 255.255.0.0

  gateway 10.10.100.254

2)重新启动网络:/etc/init.d/networking reload

2.配置root登录ssh服务, vi /etc/ssh/sshd_config,  PermitRootLogin yes, 重启systemctl restart sshd.service

3.修改Debian 源 编辑/etc/apt/sources.list文件后apt update.

stretch  - debian 9.6

deb http://mirrors.163.com/debian/ stretch main non-free contrib
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib

4. 安装svn

apt-get install subversion

 

posted on 2017-02-13 09:59  rexhu  阅读(181)  评论(0编辑  收藏  举报

导航