本文详细介绍Ubuntu-Server 6.10 防火墙系统安装
Now do:
apt-get update
apt-get install openssh-server
Edit /etc/network/interfaces and add the following at the bottom:
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0Note that the rest of this tuto assumes that you actually make the settings for eth1 as shown.
My full/etc/network/interfaces looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0As you can see my eth0 gets its settings using DHCP.
Save the file. Next do:
/etc/init.d/networking restart
You can do the rest of this tuto from your workstation, either linux or the other one (must have putty), so you can actually copy and paste. Just login to 192.168.1.1 as root and get on with it.
Make sure that the network settings of your workstation match the settings of your server's eth1
来源:howtoforge 责编:豆豆技术应用
正在加载评论...
- Linux/Unix新闻
- Linux/Unix入门
- Linux/Unix命令
- Linux/Unix安装
- Linux/Unix编程
- Linux/Unix管理
- Linux/Unix桌面
- Linux/Unix内核
- Linux/Unix软件
- Linux/Unix发行版
- redhat/Fedora
- IBM AIX
- FreeBSD
- Solaris
- NetBSD
- SCO Unix
- Ubuntu下智能拼音输入法
- Ubuntu Linux下WPA无线上网
- Ubuntu Linux系统的目录结构
- Locale下使用中文输入法
- 使用QQ、MSN的方法
- Ubuntu下安装AVG杀毒
- Ubuntu自启动选项的设置方法
- Ubuntu操作系统进行彻底优化
- 在Ubuntu系统下安装*.bin程序
- 找不到Makefile的解决办法
- find基本用法
- ldd命令原理及用法例子
- su和sudo命令的区别与使用技巧
- Linux操作系统下的dd命令技巧
- 关于Top命令的参数详解
- 关于Tar命令的使用
- SSH实用技巧及常用命令使用
- Linux后台执行命令
- VI命令使用技巧集锦
- Vmstat命令列出的属性详解
- 如何查看及修改文件读写权限
- 最大可存储的单文件容量
- ext2/ext3文件系统介绍
- 常用压缩格式的压缩解压方法
- Linux系统的引导过程详细解析
- Configure参数解释说明
- Linux下硬盘和分区的命名方法
- 硬链接与软链接的区别
- 权限和所有权模型
- 存储设备的两种表示方法