LAMP服务器配置答案样板.docx

上传人:太** 文档编号:86480300 上传时间:2023-04-14 格式:DOCX 页数:6 大小:28.21KB
返回 下载 相关 举报
LAMP服务器配置答案样板.docx_第1页
第1页 / 共6页
LAMP服务器配置答案样板.docx_第2页
第2页 / 共6页
点击查看更多>>
资源描述

《LAMP服务器配置答案样板.docx》由会员分享,可在线阅读,更多相关《LAMP服务器配置答案样板.docx(6页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、系统集成导师实践考核班级:网技1004 姓名:陈丙宝 成绩:为解决一家大型公司电子商务的业务需求,搭建基于LAMP运行环境的网站。rootPvmli nux if conf ig一:配置IP地址为:th0:th0Link encap:Ethernet HUaddr 00:0C:29:ZB:3A:0B inet addr:192,168.1.2 Beast:192.168.1.255 Mask:255,255.255.0 inet6 addr : fe80 : :Z0c:Z9ff:f eZb:3a0b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MT

2、U:1580 Metric:1 RX packets :0 errors:0 dropped:0 overruns:0 frame:0TX packets:9 errors:8 dropped :0 overruns:0 carrier:8collisions:0 txqueuelen:1000EX tytes:0 (3.8 b) TX bytt;s:546 (545.0 b) interruut : 15 Base address :0xl,124LrootPumlinux # mount zdev/cdrom zmnt/cdromzmount: block device zdev/cdro

3、m is write-protected, mounting read-only rootPumlinux三:首先安装 d组件。截局部图,依赖关系要切换软件包,不截图。安装 d组件需要许多依赖关系# rpm -ivh kernel-headers-2.6.18-53.el5,i386.rpm# rpm -ivh gcc-4.1.2-14.el5,i386.rpm#g1ibc-deve1 = Z.Z.90-1Z is needed by gcc-3.4.4-Z.i386 Suggested resolutions:: U3 DSA signature : NOKEY, key ID db42a6

4、 0eerror : Failed dependencies:glibc-headers = 2.3.4-2.13 is needed by g1ibc-deue1-2.3.4-2.13.i386 Suggested resolutions :warning : U3 DSA signature: NOKEY, key ID db4Z a60eerror : Failed dependencies:kernel-headers = 2.2.1 is needed by glibe-headers-Z.3.4-Z.13.i386 Suggested resolutions: U3 DSA sig

5、nature : NOKEY, keyID db4Za60c Preparing.1:g1ibe-kernheaders rootPvml inux RPMS JttID db4ZabePreparing.1 :g1ibe-kernheaders rootOumlinux RPMS1# rpmnitttttittttinitititttittiitttttiiaiittititittiitttitttiiittiiittitttittiitititittt uitititttttttittittitttitttititttttttitititttittttttitttittttititttit

6、ttttttitttttitit100z100z100Z 100ZEarning: U3 DSA s ignature: NOKEY, key ID db42a60cPreparing .1:g1ibc-headerswarning : g1ibc-deve1-2.3.4-Z.13.i386.rpm: U3 DSA signature: NOKEY, key ID db42a60e Preparing.1:g1ibc-deve1ItttltllltttSitttttllttttltllltltSItltSllttSllllttltllltttttltttSllltSItllttlttt100x

7、1100x1rootPvmlinux RPMS Jtt rpm -ivh gcc-3.4.4-Z.i386 .rpmwarning: U3 DSA signature: NOKEY, key ID db4Za60ePreparing1 :gcc100Z 100ZrrootQumlinux RPMStt rpm -ivh apr-deue1-0.9.4-24.5.i386.rpm error: open of apr-devel-0.9.4-Z4.5.i386.rpm failed: rootOumI inux RPMStt d组件安装成功rootGvml inux RPMS 111 rpm -

8、Uvh d-deue l-Z.0.5Z-19.ent. i386 . rpmearning : U3 DSA signature: NOKEY, key ID dbl2a60ereparing.It It it It tt It tt tt It tt It II It it II tt It tt tt II tt it tt it It tt It tt tt It tt It II It it II tt It tt It II tt it 100Zpackage d-deve 1-2.0.52-19.ent is aIready instalied并至U cd /etc/ d/conf

9、/ d.conf 配置装mySQL组件安装mysql也需要依赖关系:#rpm - ivh e2fsprogs-devel-l .3.35-12.ET4,i386.rpmrootOvmlinux RPMSlH rpm -ivh eZfsprogs-deve1-1.35-1Z.2.EL4.i386.rpm uarning: eZf sprogs-deue1-1.35-1Z.Z.EL4.i386.rpm: U3 DSA signature : NOKEY, key ID db4Za60ePreparing . . .100Z1 :eZf sprogs-deve 1tt It tt It it It

10、It H tl It tt It tt It tt It It tt It It It It it It tt It tt It tt It It It It It II It it It tt It It tt It 100ZrootOvml inux RPMSlit rpm -ivh krb5-devel-l .3.4-17. i386 .rpm marning: krb5-deve1-1.3.4-17.i386.rpm: U3 DSA signature : NOKEY, key ID db42a68e Preparing . . .It It tt tt It It It tt tt

11、It It II tt It tt tt It It It tt tl tl It It tt It tt tt n It It tt It It it It tt It tt It It It It 100Z2 :krb5-develit It tt It tt tt It tt it It It It It It tt It It It It tt tl It it It it It tt It It tt It tt It It it It tt It tt It It It It 100Z: U3 DSA s ignature: NOKEY, key ID db42a6 Be Prep

12、aring . . .ttttttttltttttttttllitltttttttttltttttttttltnitttttttttltttltttttltitltltttttttltttlt 100z3 :zl ib-develttttttttltttttttttltitltttttttttltttttttttltnitttttttttltttltttttltnttltttttttltttlt 100zrootQvrnl inux RPMSlit _rootOvmlinux RPMSJ# rpm -ivh openssl-deve1-0.9.7a-43.Z.i386.rpm warning

13、: U3 DSA signature: NOKEY, key ID db4 Za60ePreparing . . .ttttltltltttttllltltltltttlttttttlllltttttttlttlltltltllttttlltttlltltltltttlttlltttl: 100Z1 :openssl-develttttllttttltllltttltttlttlitttlttlltltttttltttttttttnitttltttttttttltttltttitttttttlt 100zrootOumlinux RPMSItt rpm -ivh perl-DBD-MySQLU

14、FS: busy inodes on changed media. UFS: busy inodes on changed media.error : open of per 1-DBD-MySQL failed: ini: U3 DSA signature : MOKEY, key ID db4 2a6ReFrepari juf. .100zl:perl-DBD-MySQLttntttttttttttttttttttttttttttttttttttttttttttt3ttttttnttttttttttttttttttttttttttn 1100ZIrootluml inux RPMS11I#

15、rpm - ivh msql-devel-4.1.12.-3.RHEL4.1 .i386.rpm #rpm - ivh mysql-server-bench-4.1.12-3RHEL4.1 i386.rpmIt # # # It It It It # a M It M # * tt tt M It # It M It # tt * It M It It M # M H # M It tt It tl tt It It180Z (33zJ 67Z 100ZrootQvml inux RPMS lit rpm -ivh mysq 1 - bench-4.1.1Z-3 . RHEL4.1. i386

16、 . rpm mysq 1 -deue 1 -4.1.12-3.RHEL4.1.i386.rpm mysq1-server-4.1.12-3.RHEL4.1.i386.rpm warning: mysq1-bench-4.1.1Z-3.RHEL4.1.i386.rpm: U3 DSA signature: NOKEY, key ID db42a60ePreparing1:mysq1-serverZ:mysq1-bench3:mysq1-deve1 rootOvml inux RPMS lit激活并设置密码为“0123456789”rootPvml inux RPMS Jll service m

17、ysqld startInitializing MySQL database: OKStarting MySQL:I OKrooteumlinux RPMSltt mysqladmin -u root password ”8123456789” rootPumlinux RPMS#五:安装PHP组件(由于时间原因,直接截图安装结果)开启:Preparing .100Z1:php-xmlrpc13zJ2:php-develZ5Z3:php-mbstring1 38z4:php-domxml50Z5:php-ncurses63z6:php-gd75z7:php-snmp88z8:php-imap1

18、00zrootOvml inux lit service mysqId restartStopping MySQL:OK1Starting MySQL:OKrootOvmlinux tt service d restartStopping d:(OKStarting d:OK rootQvmlinux tt测试php编辑:vi /var/www/html/info, php以下用2003测试,测试成功:Test Fage for the Apache Server on Red Kat Enterprise Linux - licrosoft文件电)编辑 查看w 收藏 工具d)帮助01)。后退

19、二。面;:|户搜索;收藏夹的|) 0 地址 | :/192.168. 1.2/ii yuu ai c a mciiiuci vi uicgeneral public:ii yvu ai c ii ic vvcmducadministrator:The fact that you are seeing this page indicates that the website you just visited is either experiencing problems, or is undergoing routine maintenance.If you would like to let

20、the administrators of this website know that youve seen this page instead of the page you expected, you should send them e-mail, in general, mail sent to the name webmaster and directed to the websites domain should reach the appropriate person.You may now add content to the directory /var/ww/htmi/.

21、 Note that until you do so. people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file / etc/ d/conf. d/welcome. conf.You are free to use the image below on web sites powered by the Apache Server: Internet测试网站结果,时间原因直接截图。新建/ var/www/html/chen.phpJEBIT巨豆Z詈匹亘五匕.一 .1I文件Q) 痂捂Q) 查看心 虚姒机I)!) 分组Q) E 由口包) 帮助叩I翁怠b如m |lii OOP 1 0团邸it巴巴剧四回w会起始页 G,Red Hat Enterprise Linux 4 X|hup:/16S,I. 2/ chen. php- li croso1|lnlernei”文件Q)编捂Q) 查看心 收藏(A)工具Q)帮助叩。后退.。.它团r::.LP搜索令收场夹e唱色霎地址叨/chcn.php=习日 转到1链接”name-class,ok!

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 应用文书 > 解决方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁