欢迎来到天天文库
浏览记录
ID:47893692
大小:165.32 KB
页数:3页
时间:2019-10-19
《linux下各种服务进程之http配置实验》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验Apache服务配置实验一、实验目的:理解Apache工作原理学握Apach配置二、实验拓扑:CLTLinuxSeiver三、实验内容及步骤L装软件包[root@locdlhostServerJttrpm-iuhapr-1・2・7-11.i386.rpmearning:apr-1.Z.7-11.i386.rpm:HeaderU3DSAsignature:MOKEY,keyID37017186Preparing...[100x11:apr[100X1[roolocalhostServerIttrpm-iuhpostgresq1-libs一8e15_1・1.・i386・rpmwar
2、ning:postgresq1-1ibs-8.1.11-1.e15_1.1.i386.rpm:HeaderU3DSAsignature:NOKEY,keyID37017186Preparing...ttttttunttttltttltttttttttttttttttttttltttltttunttttltttttttttltttttttttltttttlttt[100zJ1:postgr^sql-libs[100X1[rootOlocalhostServer]#rpm-iuhapr-uti1-1.2.7-7.el5.i386.rpmearning:apr-util-l.Z.7-7.
3、el5.i386.rpm:HeaderU3DSAsignature:NOKEY,keyID37017186Preparing・••tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt[100zJl:apr-util[100x1[rootPlocalhostServerJ#rpm-iuhhttpd-2.2.3-11.el5_l.3.i386.rpmearning:httpd-Z・Z・3-11.e15_1・3・i386.rpm:HeaderU3DSAsignature
4、:NOKEY,keyID37017186Preparing・・・ttttttttttttttttttttttttttttttttttttttttttttittttttttttttttttttttttttttttttttttttttttt[100Z]1:httpdttttttunttttitttitttttttttttttttttttttitttitttunttttitttttttttitttttttttitttttittt[100x1[rootOlocalhostServerJttrpm-iuhhttpd-manua1-Z.2.3-11.el5_l.3.i386.rpmLjarni
5、ng:httpd-manua1-Z.2・3-11.el5_1.i386.rpm:HeaderU3DSAsignature:NOKEY,keyID37017186Preparing...[100X1l:httpd-manual[100Z]2.进入http服务配置文件[root@1oca1hostServerJ#cd/etc/httpd/conf[rootO1oca1hostconfJ#vimhttpd.conf_3•打开目录,并且在htnil文件中写入内容root(?localhostconfJttcd/var/www/html/「root(?localhosthtmlJttecho
6、°mynameisdaxweiM>index.html「root(?localhosthtmlJttcat.htmlnynameisdaxwei4•重启服务[root@localhosthtmlservicenetworkrestartShuttingdouninterfaceh0:Shuttingdounloopbackinterface:3ringinguploopbackinterface:BringingupinterfaceEth0:erminingIPinformationfor巳七h0...done.5•用户通过HTTP服务,输入服务器地址来查看相应内容localho
7、sthtmlifconflg:th0Linkencap:Ethern巳tHUnddr00:0C:29:F5:58:ACinetaddr:19Z.168.190.128Beast:19Z.168.190.255http://192.168.190.128/一VindovsInternetExplorer邕http://192.168.190.128/文件0)編辑3)查看(V)收藏夹工具(T)帮助⑩:^http://192.168.190.128/mvnameisdaxw
此文档下载收益归作者所有