安装完debian后的vim配置网卡配置和下载源配置
来源:互联网 发布:js如何实现上传文件 编辑:程序博客网 时间:2024/05/17 07:07
1:vim /etc/network/interface 配置上网参数(如果实在虚拟机上,需要指定为桥接网卡才能分配固定ip)
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 172.16.0.67
netmask 255.255.255.0
gateway 172.16.0.254
network 172.16.0.0
/etc/init.d/networking restart 重启网络服务
2:vim /etc/resolv.conf 配置DNS域名解析
search in.linx
nameserver 172.31.255.3
3 :vim /etc/apt/source.list 配置163 debian 8 下载源
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
deb http://mirrors.rd.in.linx/debian-newer/debian-jessie jessie main non-free contrib 这两个为我们公司自己的源
deb-src http://mirrors.rd.in.linx/debian-newer/debian-jessie jessie main non-free contrib 如上
4:vim ~/.vimrc 配置常用的vimrc参数
set ts=4
set sw=4
set nu
set autoindent
set backspace=2
set nocompatible
set expandtab
set shiftwidth=4
syntax on
- 安装完debian后的vim配置网卡配置和下载源配置
- Debian下VIM的安装和配置
- debian的vim配置
- 网络版最小化安装Debian后的配置
- 网络版最小化安装Debian后的配置
- 最小化安装debian后的配置
- qemu安装debian后的网络配置
- Debian 8 安装后的使用配置
- 安装Debian后的基本配置
- Debian安装完成后的一些配置
- debian安装和配置
- linux (debian) vim的配置
- debian下配置网卡
- Debian配置网卡
- centos安装后的网卡配置
- VIM的安装和配置
- debian 配置nano改vim安装visudo
- Debian安装和配置mod_python
- CentOS 7 设置开机直接进入命令行界面
- route add -net x.x.x.x netmask x.x.x.x dev eht0
- QT5.7在VS2015中的使用(3)
- Binary Tree Level Order Traversal II
- JS toLowerCase()方法 toUpperCase()方法
- 安装完debian后的vim配置网卡配置和下载源配置
- Hadoop3.0的新特性
- 论软件外包
- x86体系SSE介绍
- IDEA过期了怎么办
- 浅谈Hadoop(一)——hadoop简介
- GBDT要点简介
- mysql 常用语句整合
- 寻找设计模式--前言