1 / 9
文档名称:

-linux-实验报告(精品).doc

格式:doc   大小:122KB   页数:9页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

-linux-实验报告(精品).doc

上传人:ttteee8 2020/7/6 文件大小:122 KB

下载得到文件列表

-linux-实验报告(精品).doc

文档介绍

文档介绍:实验项目(三)实验报告姓名:朱亦轩 学号:**********项Web服务器和FTP服务器的配置 指导教师 贾玲名称实验地点实验目的A7-•配置Apache服务器1要求:(xxx是学号后三位),子网掩码:,网关:。设置web站点根hl录位于/var/,首页内容为:hello,thisismyexam!。端口号是8080o效果:在浏览-器地址栏中只需要输入:8080,确定后即可出现hello,thisismyexam!页面°(请按下面的要求写出配置步骤)(1) 配置IP地址、子网掩码、网关等网络信息的步骤。[root^localhostsetup]Configuration[I名称I设备|UseDHCP|maskDefaultgateway[root<»localhost”学正在关闭接口ethO:正在关闭接口ethl:正在关闭接口eth2:关闭环回接口:弹出环回接口:弹出界面ethO:workrestart定定定定定■tiIAtlIAtjxAtlI'tlBl•hKurA[确定弹出界面ethl:[确定[确定正在决定ethl的IP信息完成。弹出界面eth2:正在决定eth2的IP信息...完成。myexam]2cd/var/ww/htmlhtml片mkdirmyexamhtml片cdmyexam创建web站点根bl录myexam,"hello,thisismyexam!"字符串的步骤。[root^localhost[root^localhost[root^localhost[root^localhostmyexam]=vimmyexam.******@localhost:/var/件(£)编辑低)查看⑦终端①标签⑧幕助®!修改Apache配置文件,设置web站点根目录位于/var/步骤。[rootelocalhosthtml]2vim/etc/httpd/conf/"/\rar/ww。/html/myexam"=esscanbeconfiguredwit二towhichservicesandfeaturesareallowedand/ordisabledint?directory(anditssubdirectories).二First•weconfigurethedefault*tobeaveryrestrictiveset=features.〈Directory/>OptionsFollowSymLinksAllowOverrideNone</Directory>二=Notethatfromthispointforwardyoumustspedficallyal