第一章 代理接入服务器
&1.2.1 所需包
redhat6.2 服务器模式安装
&1.2.2 所需配置文件
/etc/conf.modules 系统自带,管理员配置
/etc/sysconfig.network 系统自带,管理员配置
/etc/sysconfig.network-scripts/ifcfg-eth0系统自带,管理员配置
&1.2.3 相关工具
1. iptraf
说明:一个监控所有接入服务设备的工具,当然包括网卡
下载网址:ftp://ftp.freesoft.cei.gov.cn/.mirror2/ftp.redhat.com/contrib/libc6/i386/iptraf-2.0.2-1.i386.rpm
2. linuxconf
说明:系统自带
3..netconf
说明:系统自带
&1.3 配置方案
1./etc/conf.modules
说明:驱动模块配置文件
源文件:
alias parport_lowlevel parport_pc
alias eth0 ne #.net device和 kernel module
options ne io=0x240 irq=5 # 如果是isa的网卡,需要设置io和irq
如果不知道,可以装个98看看
2./etc/sysconfig.network
说明:网络配置文件
源文件:
hostname= weboa # 服务器的主机名
domainname="weboa.com.cn" # 服务器的域名
gateway=”192.168.0.1” # 网关设置
gateway=”eth0” # 网关所用设备
.networking=yes # 是否启动网络服务
onboot=yes # 网络服务配置在每次启动时生效
forward_ipv4=”yes” # 服务器支持ip转发
3./etc/sysconfig.network-scripts/ifcfg-eth0
说明:第一块网卡配置文件
源文件:
device="eth0" # 网卡设备名称
bootproto="none"
ipaddr="192.168.0.1" # ip设置
.netmask="255.255.255.0" # 子网掩码设置
onboot="yes"
ip.netnum_802_2=""
ipxprimary_802_2="no"
ipxactive_802_2="no"
ip.netnum_802_3=""
ipxprimary_802_3="no"
ipxactive_802_3="no"
ip.netnum_etherii=""
ipxprimary_etherii="no"
ipxactive_etherii="no"
ip.netnum_snap=""
ipxprimary_snap="no"
ipxactive_snap="no"
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器