您的位置 电脑知识爱好者 >> 操作系统 >> Solaris9_x86+Apache2+Mysql

Solaris9_x86+Apache2+Mysql

电脑知识爱好者http://www.l9l8.com电脑知识爱好者2008-4-8 1:25:46
知识重点:Software packages needed: 1. GCC 3.2.3 compiled package for x86 platform: gcc-3.2.3-sol9-intel-local.gz 2. MySQL 3.23.55 source code package: mysql-3.23.55.tar.gz 3. Apache 2.0.44 ..
l /etc/hostname.eri0文件的内容:
rac1

l /etc/hostname.ge0文件的内容:
rac1-ge0

l /etc/hostname.ce0文件的内容:
rac1-ce0

l /etc/hosts.equiv文件的内容:
+

l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容
172.16.199。254

l /.rhosts文件的内容
rac1
rac2


主机B:
机器名:rac2
网卡 eri0:192.0.0.102/255.255.255.0 用于做心跳网卡2
网卡 ge0:192.0.1.102/255.255.255.0 用于做心跳网卡1
网卡 ce0:172.39.199.102/255.255.255.0 用于做对外服务网卡

具体配置文件如下:
l /etc/hosts文件的内容:
#
# Internet host table
# 电脑知识
127.0.0.1 localhost
192.168.0.102 rac2 loghost a.b
192.168.0.101 rac1
192.168.1.102 rac2-ge0
172.39.199.102 rac2-ce0

l /etc/netmasks文件的内容
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center. Currently this number is restricted to being a class
# A, B, or C network number. In the future we should be able to support
# arbitrary network numbers per the Classless Internet Domain Routing
# guidelines.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
192.168.0.0 255.255.255.0
172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:
rac2

l /etc/hostname.ge0文件的内容:
rac2-ge0

参与评论
相关内容
关于我们 | 隐私政策 | 站点地图 | 站长博客|京ICP备07025396号
添加到百度搜藏 添加到百度搜藏 电脑知识爱好者Copyright ?2006-2008版权所有 我要啦免费统计