nginx安装配置集成weblogic(20131107更新红色背景内容).doc
文本预览下载声明
简介
Nginx(发音同 engine x)是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,并在一个BSD-like 协议下发行。由俄罗斯的程序设计师Igor Sysoev所开发,供俄国大型的入口网站及搜索引擎Rambler(俄文:Рамблер)使用。其特点是占有内存少,并发能力强,事实上nginx的并发能力确实在同类型的网页服务器中表现较好,中国大陆使用nginx网站用户有:新浪、网易、 腾讯等。/cn/
yum配置
将光盘内容拷贝到/mnt/redhat5.5目录下
[root@localhost redhat5.5]# cp -fr /media/RHEL_5.5\ x86_64\ DVD/* /mnt/redhat5.5 #把光盘未见拷贝至root根目录下的mnt文件下的redhat5.5中createrepo(linux下的创建仓库的软件包[root@localhost redhat5.5]# rpm -qa |grep createrepo #如果装了显示版本号;未装则结果为空
1)安装createrepo
[root@localhost redhat5.5]# cd Server/
[root@localhost Server]# pwd
/mnt/redhat5.5/Server
[root@localhost Server]# rpm -ivh ./createrepo-0.4.11-3.el5.noarch.rpm
warning: ./createrepo-0.4.11-3.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key IDPreparing... ########################################### [100%]
1:createrepo ########################################### [100%]
[root@localhost Server]#
检查安装结果
[root@localhost Server]# rpm -qa |grep createrepo
createrepo-0.4.11-3.el5
创建YUM仓库
[root@localhost Server]# createrepo -g /mnt/redhat5.5/Server/repodata/comps-rhel5-server-core.xml /mnt/redhat5.5/Server
[root@localhost Server]# createrepo -g /mnt/redhat5.5/VT/repodata/comps-rhel5-vt.xml /mnt/redhat5.5/VT/
[root@localhost Server]# createrepo -g /mnt/redhat5.5/Cluster/repodata/comps-rhel5-cluster.xml /mnt/redhat5.5/Cluster/
[root@localhost Server]#createrepo -g /mnt/redhat5.5/ClusterStorage/repodata/comps-rhel5-cluster-st.xml /mnt/redhat5.5/ClusterStorage/
创建本地yum客户端的repo文件
[root@localhost yum.repos.d]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# vi local.repo
内容如下:
[local]
name=hntl
baseurl=file:///mnt/redhat5.5/Server
gpgcheck=0
enabled=1
[VT]
name=VT
baseurl=file:///mnt/redhat5.5/VT
gpgcheck=0
[Cluster]
name= Cluster
baseurl=file:///mnt/redhat5.5/Cluster
gpgcheck=0
[CS]
name= ClusterStorage
baseurl=file:///mnt/redhat5.5/ClusterStorage
gpgcheck=0
Yum 安装验证
[root@localhost yum.repos.d]# yum install samba
以下命令自己学习
1.使用Y
显示全部