ITeye博客

新装linux 系统后 基本的设置(ubuntu)

malixxx · 2010-05-13 14:55 · 操作系统 · Markdown

网络配置: sudo vi /etc/network/interfaces

auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.132 netmask 255.255.255.0 gateway 192.168.1.1

dns-nameservers 192.168.20.254 dns-nameservers 8.8.8.8

sudo /etc/init.d/networking restart

无线网卡用wlan0

查看DNS设置 vi /etc/resolv.conf 如果能看到 nameserver xxx.xxx.xxx.xxx

sudo apt-get update openssh安装配置: sudo apt-get install openssh-server

sudo vi /etc/ssh/sshd_config

sudo /etc/init.d/ssh restart

gcc安装: sudo apt-get install build-essential

安装man手册: sudo apt-get install manpages sudo apt-get install manpages-posix sudo apt-get install manpages-posix-dev

sudo apt-get install manpages-dev sudo apt-get install manpages-zh

安装gdb: sudo apt-get install gdb

开启root: sudo passwd

嗅探工具: sudo apt-get install ksniffer sudo aptitude install wireshark

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。