Debian 最小化安装后基本设置
2014-02-26 14:00
597 查看
1. vi /etc/apt/sources.list
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb http://mirrors.sohu.com/debian wheezy main non-free contrib
deb http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.sohu.com/debian wheezy main non-free contrib
deb-src http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
如果要加入cdrom源
mount /dev/cdrom /media/cdrom0
apt-cdrom -m -d=/media/cdrom0 add
apt-get update
2. apt-get install vim openssh-server
3. vi /etc/hosts
remove or comment the line beginning with 127.0.1.1
vi /etc/hostname
vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.44.13
netmask 255.255.255.0
gateway 192.168.44.200
dns-nameservers 210.22.84.3
service networking restart
![](https://www.google.com/favicon.ico)
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1363739
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
deb http://mirrors.sohu.com/debian wheezy main non-free contrib
deb http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.sohu.com/debian wheezy main non-free contrib
deb-src http://mirrors.sohu.com/debian wheezy-proposed-updates main contrib non-free
deb http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.sohu.com/debian-security wheezy/updates main contrib non-free
如果要加入cdrom源
mount /dev/cdrom /media/cdrom0
apt-cdrom -m -d=/media/cdrom0 add
apt-get update
2. apt-get install vim openssh-server
3. vi /etc/hosts
remove or comment the line beginning with 127.0.1.1
vi /etc/hostname
vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.44.13
netmask 255.255.255.0
gateway 192.168.44.200
dns-nameservers 210.22.84.3
service networking restart
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1363739
相关文章推荐
- centos最小化安装系统后的基本调优及安全设置
- openSUSE12.1安装及基本设置
- Linux下安装 Posgresql 并设置基本参数
- AIX安装后的基本系统设置
- Git for Windows安装和基本设置
- debian系统下MySQL的安装及设置
- 安装 ubuntu-14.04.5-desktop-amd64 之后的基本设置
- 第1章 Java基本概念及环境配置——FAQ1.14 JDK安装时设置PATH和CLASSPATH环境变量有何作用?
- Linux运维学习笔记之四:安装后的基本调优及安全设置(系统基础优化)
- virtualbox下最小化安装centos7后上网设置
- CentOS 6 最小化安装后的设置
- maven学习系列(一)—maven安装和基本设置
- debian 基本系统安装关键技术
- 安装完Router OS后的几个最基本设置
- Git for Windows 安装和基本设置
- 一个完整的Installshield安装程序实例—艾泽拉斯之海洋女神出品(一)---基本设置一
- 网络设置初始密码配置/基本安装配置
- debian下安装 locale 并设置 zh_CN.UTF-8 [转]
- centos7.2 KVM基本安装+嵌套虚拟化参数设置
- Ubuntu下Postfix邮件服务器安装及基本的设置