RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf

RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf

ID:33879305

大小:2.30 MB

页数:22页

时间:2019-03-01

RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf_第1页
RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf_第2页
RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf_第3页
RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf_第4页
RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf_第5页
资源描述:

《RHEL5下源码搭建LAMP Discuz PhpMyAdmin Awstats Ab.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、RHEL5下源码搭建LAMP+Discuz+PhpMyAdmin+Awstats+Ab2010/3/25第一版Bycrazylinux实验目的:完成Linux下面的LAMP环境的搭建,实现Discuz论坛实验软件包:awstats-6.9.tar.gzDiscuz_7.2_FULL_SC_UTF8.ziphttpd-2.2.13.tar.bz2mysql-5.0.75.tar.gzphp-5.2.10.tar.bz2UC1.5_UCH2.0_DZ7.2_SC_UTF8.zipUCenter1.5

2、.0_install.zip实验环境:RHEL5.4Webserver:192.168.0.10/24Dnsserver:192.168.0.20/24Clinet:192.168.0.100/24前提条件:在所有linux主机上配置yum仓库,把DVD光盘挂在到本地/media下,红色字体代表修改后结果[root@localhost~]#cat/etc/yum.repos.d/rhel-debuginfo.repo[rhel-debuginfo]name=RedHatEnterpriseLin

3、ux$releasever-$basearch-Debugbaseurl=file:///media/Server//指定本地/mediaenabled=1//开启仓库gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release关闭所有linux防火墙与SELINUX[root@localhostbin]#iptables-F[root@localhostbin]#iptables-X[root@localhostbin]

4、#iptables-Z[root@localhostbin]#setenforce0[root@localhostbin]#serviceiptablessave一、DNS环境的搭建1、安装DNS相关软件包[root@localhost~]#yum-yinstallbindbind-develbind-chrootcaching-nameserver2、配置DNS主配置文件[root@localhost~]#cd/var/named/chroot/etc/[root@localhostetc]#

5、cp-pnamed.caching-nameserver.confnamed.conf[root@localhostetc]#catnamed.conf////named.caching-nameserver.conf////ProvidedbyRedHatcaching-nameserverpackagetoconfigurethe//ISCBINDnamed(8)DNSserverasacachingonlynameserver//(asalocalhostDNSresolveronly).

6、////See/usr/share/doc/bind*/sample/forexamplenamedconfigurationfiles.////DONOTEDITTHISFILE-usesystem-config-bindoraneditor//tocreatenamed.conf-editstothisfilewillbeloston//caching-nameserverpackageupgrade.//options{listen-onport53{any;};listen-on-v6p

7、ort53{::1;};directory"/var/named";dump-file"/var/named/data/cache_dump.db";statistics-file"/var/named/data/named_stats.txt";memstatistics-file"/var/named/data/named_mem_stats.txt";//Thoseoptionsshouldbeusedcarefullybecausetheydisableport//randomizati

8、on//query-sourceport53;//query-source-v6port53;allow-query{any;};allow-query-cache{any;};};logging{channeldefault_debug{file"data/named.run";severitydynamic;};};viewlocalhost_resolver{match-clients{any;};match-destinations{any;};recursionyes;include"

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。