{"id":1098,"date":"2010-05-17T11:30:00","date_gmt":"2010-05-17T03:30:00","guid":{"rendered":"\/?p=1098"},"modified":"2010-05-17T11:30:00","modified_gmt":"2010-05-17T11:30:00","slug":"1098","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/other\/1098.html","title":{"rendered":"\u4e3a Python Server Pages \u548c Oracle \u6784\u5efa\u5feb\u901f Web \u5f00\u53d1\u73af\u5883"},"content":{"rendered":"
\u5404\u79cd\u5728 Web \u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u4e4b\u95f4\u5145\u5f53\u4e2d\u95f4\u5c42\u7684\u670d\u52a1\u5668\u7aef\u6280\u672f\u4f7f\u5f53\u4eca\u7684\u5f00\u53d1\u4eba\u5458\u83b7\u76ca\u532a\u6d45\uff0c\u8fd9\u4e9b\u6280\u672f\u5305\u62ec JavaServer Pages (JSP)\u3001Active Server Pages (ASP)\u3001PHP \u4ee5\u53ca PL\/SQL Server Pages\uff08\u5982\u679c\u60a8\u662f\u4e00\u4f4d Oracle \u5f00\u53d1\u4eba\u5458\uff09\u3002 \u6b66\u6c49\u767e\u5ea6\u63a8\u5e7f<\/font><\/strong><\/a><\/p>\n \u6211\u5728 2003 \u5e74\u9996\u6b21\u63a5\u89e6 Python \u7f16\u7a0b\u8bed\u8a00\uff0c\u5e76\u4ece\u90a3\u65f6\u8d77\u5f00\u59cb\u6c89\u8ff7\u4e8e\u8fd9\u79cd\u8bed\u8a00\u7684\u72ec\u7279\u9b45\u529b\u53ca\u5176\u7b80\u4fbf\u7684\u4f7f\u7528\u3002\u5b83\u662f\u4e00\u79cd\u9ad8\u7ea7\u8bed\u8a00\uff0c\u51e0\u4e4e\u7c7b\u4f3c\u4e8e\u4ee5\u7eaf\u82f1\u6587\u7f16\u5199\uff0c\u5c31\u597d\u50cf\u7f16\u7a0b\u4eba\u5458\u5bf9\u4e8e\u4f2a\u4ee3\u7801\u7684\u8ba4\u8bc6\u3002Python \u7684\u52a8\u6001\u672c\u8d28\u4f7f\u60a8\u80fd\u591f\u7f16\u5199\u6700\u7b80\u660e\u7684\u4ee3\u7801\u6765\u5b8c\u6210\u751a\u81f3\u6700\u590d\u6742\u7684\u4efb\u52a1\u3002<\/p>\n \u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u7b80\u8981\u4ecb\u7ecd\u4e00\u79cd\u521b\u5efa\u5b8c\u6574\u7684 Python Server Pages\/Oracle \u6570\u636e\u5e93 10g<\/em> \u5feb\u901f Web \u5f00\u53d1\u73af\u5883\u7684\u7b80\u5355\u65b9\u6cd5\u3002\u672c\u6587\u5047\u8bbe\u60a8\u6ca1\u6709\u5728 Windows \u6216 Linux \u7cfb\u7edf\u4e0a\u5b89\u88c5\u4efb\u4f55\u7ec4\u4ef6\u3002\uff08\u5982\u679c\u5df2\u5b89\u88c5\uff0c\u5219\u53ef\u4ee5\u76f8\u5e94\u5730\u8df3\u8fc7\u67d0\u4e9b\u6b65\u9aa4\u3002\uff09\u6240\u6709\u63d0\u5230\u7684\u7ec4\u4ef6\u90fd\u53ef\u514d\u8d39\u4e0b\u8f7d\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u4efb\u4f55\u8bb8\u53ef\u8d39\u7528\u3002<\/p>\n Python \u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u81ea\u6211\u68c0\u6d4b\u529f\u80fd\u3001\u53ef\u52a8\u6001\u952e\u5165\u3001\u5b8c\u5168\u9762\u5411\u5bf9\u8c61\uff0c\u5e76\u5177\u6709\u53ef\u6269\u5c55\u6027\u4ee5\u53ca\u5e73\u53f0\u72ec\u7acb\u6027\uff08Windows\u3001Linux\u3001Solaris\u3001Mac OS\u3001Nokia \/ S60\u3001Pocket PC \u7b49\u7b49\uff09\u3002\u5b83\u4f7f\u60a8\u80fd\u591f\u83b7\u5f97\u9ad8\u751f\u4ea7\u7387\u5e76\u4ee5\u7ed3\u679c\u4e3a\u5bfc\u5411\uff0c\u91cd\u5728\u89e3\u51b3\u95ee\u9898\u800c\u975e\u5e94\u5bf9\u8bed\u8a00\u56fa\u6709\u7279\u6027\u3002Python \u7684\u53ef\u8bfb\u6027\u5f88\u5f3a\uff0c\u975e\u5e38\u6613\u4e8e\u7ef4\u62a4\uff08\u901a\u8fc7\u5bf9\u4ee3\u7801\u6837\u5f0f\u63d0\u51fa\u7279\u5b9a\u8981\u6c42\uff09\u3002\u6211\u6709\u8bb8\u591a\u5b9e\u9645\u4e0a\u53ef\u4ee5\u6267\u884c\u590d\u6742\u4efb\u52a1\u7684 Python \u5355\u884c\u7a0b\u5e8f\uff08\u6709\u65f6\u662f\u53cc\u884c\u7a0b\u5e8f\uff0c\u5982\u679c\u5305\u542b\u5bfc\u5165\u8bed\u53e5\uff09\uff0c\u5b83\u4eec\u8fdc\u6bd4“hello-world”\u90a3\u6837\u7684\u7a0b\u5e8f\u529f\u80fd\u5f3a\u5927\u3002<\/p>\n Python \u6700\u5927\u7684\u4f18\u52bf\u4e4b\u4e00\u662f\u5176\u5e7f\u6cdb\u7684\u6807\u51c6\u5e93\uff0c\u5176\u4e2d\u63d0\u4f9b\u4e86\u53ef\u7528\u4e8e\u5927\u591a\u6570\u7f16\u7a0b\u4efb\u52a1\u7684\u73b0\u6210\u6a21\u5757\u7ec4\uff08Python \u7f16\u7a0b\u4eba\u5458\u79f0\u5176\u4e3a“\u5e26\u7535\u6c60\u7684\u7b56\u7565”\uff09\uff0c\u5305\u62ec\u6587\u4ef6 I\/O\u3001\u7cfb\u7edf\u4ea4\u4e92\u3001\u8054\u7f51\u3001\u6570\u636e\u5206\u6790\u548c\u64cd\u4f5c\u3001\u7ebf\u7a0b\u3001\u76d1\u6d4b\u3001\u5355\u5143\u6d4b\u8bd5\u3001\u81ea\u6211\u68c0\u6d4b\u3001XML \u5904\u7406\u7b49\u7b49\u3002<\/p>\n \u60a8\u5c06\u4f1a\u7740\u8ff7\u4e8e\u5229\u7528 Python \u83b7\u5f97\u7684\u5f00\u53d1\u901f\u5ea6 — \u6700\u7ec8\u53ef\u4ee5\u8ba9\u8ba1\u7b97\u673a\u7406\u89e3\u800c\u4e0d\u662f\u8bef\u89e3\u60a8\u7684\u610f\u56fe\u3002\u6b64\u5916\uff0c\u5229\u7528\u5185\u7f6e\u7684\u6587\u6863\u5b57\u7b26\u4e32 (docstring) — \u5373\u5185\u5d4c\u7684\u5e2e\u52a9\u5b57\u7b26\u4e32\uff0c\u5176\u4ed6\u7f16\u7a0b\u4eba\u5458\u53ef\u4ee5\u5feb\u901f\u7406\u89e3\u60a8\u7684\u7c7b\u6216\u51fd\u6570\u7684\u7cbe\u9ad3\u3002\uff08\u4ece\u6e90\u4ee3\u7801\u521b\u5efa\u6587\u6863\u8f7b\u800c\u6613\u4e3e\u3002\uff09\u6b63\u662f\u7531\u4e8e\u8fd9\u4e9b\u539f\u56e0\uff0cGoogle \u548c NASA \u4f7f\u7528\u4e86\u5927\u91cf\u7684 Python\uff0c\u800c Microsoft \u6b63\u5728 .NET \u5e73\u53f0\u4e0a\u5f00\u53d1\u81ea\u5df1\u7684 Python \u7248\u672c\uff0c\u79f0\u4e3a IronPython\u3002<\/p>\n Python Server Pages (PSP) \u4e4b\u4e8e Python \u6b63\u5982 Java Server Pages \u4e4b\u4e8e Java\u3002\u8f83\u4e4b\u4ee5\u5e38\u89c4 CGI \u5904\u7406\u7684\u9875\u9762\uff0c\u5229\u7528 PSP \u5448\u73b0\u7684\u9875\u9762\u7684\u6267\u884c\u6548\u679c\u8981\u597d 50 \u500d<\/a>\u3002Mod_python \u5305\u542b\u4e86\u8bb8\u591a\u4e13\u95e8\u7684\u6a21\u5757\uff0c\u4f7f\u5f97 Web \u5f00\u53d1\u66f4\u7b80\u5355\u3002<\/p>\n \u5b8c\u6574\u7684 Web \u5f00\u53d1\u73af\u5883\u81f3\u5c11\u5fc5\u987b\u5305\u542b\u4e09\u4e2a\u57fa\u672c\u7ec4\u4ef6\uff1aWeb \u670d\u52a1\u5668\u3001\u6570\u636e\u5e93\u4ee5\u53ca\u670d\u52a1\u5668\u7aef\u540e\u7aef\u6280\u672f\u3002\u6b64\u5916\u8fd8\u6709\u4e00\u4e9b\u529f\u80fd\u8981\u6c42\uff0c\u4f8b\u5982\u53ef\u9760\u6027\u3001\u53ef\u4f38\u7f29\u6027\u4ee5\u53ca\u4e92\u64cd\u4f5c\u6027\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0a\u8ff0\u6761\u4ef6\uff0c\u6211\u9009\u62e9\u4f7f\u7528 Apache HTTP Server 2.0\u3001Oracle \u6570\u636e\u5e93 10g<\/em> \u5feb\u6377\u7248 (XE) \u4ee5\u53ca Python 2.4\uff08\u5e26\u6709 mod_python \u548c cx_Oracle \u6a21\u5757\uff09\u3002\uff08\u8bf7\u9605\u8bfb\u5e76\u627e\u51fa\u9009\u62e9\u8fd9\u4e09\u9879\u7684\u539f\u56e0\u3002\uff09<\/p>\n \u4e0d\u4f46 Linux \u7528\u6237\u4ecd\u7136\u65e0\u9700\u952e\u5165\u592a\u591a\u5185\u5bb9\uff0c\u5c31\u662f Windows \u7528\u6237\u4e5f\u5fc5\u5b9a\u4eab\u53d7\u6240\u6709\u8fd9\u4e9b\u7ec4\u4ef6\u7684\u7b80\u5355\u5b89\u88c5\u65b9\u5f0f\uff08\u53ea\u9700\u5355\u51fb\u3000Next\uff09\u3002\u6211\u5df2\u7ecf\u7b80\u5316\u4e86\u5b89\u88c5\u8fc7\u7a0b\uff0c\u4ee5\u5229\u7528\u53ef\u7528\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n 2006 \u5e74 2 \u6708\uff0cOracle \u63a8\u51fa\u4e86 Oracle \u6570\u636e\u5e93\u5feb\u6377\u7248\u7684\u751f\u4ea7\u7248\u3002\u5b83\u662f Oracle \u6570\u636e\u5e93 10g<\/em> \u7b2c 2 \u7248\u7684\u5c0f\u578b\u5165\u95e8\u7ea7\u7248\u672c\uff0c\u5176\u5f00\u53d1\u3001\u90e8\u7f72\u4ee5\u53ca\u5206\u53d1\u5b8c\u5168\u514d\u8d39\u3002<\/p>\n Oracle \u6570\u636e\u5e93\u5feb\u6377\u7248\u9002\u7528\u4e8e Windows \u548c Linux \u64cd\u4f5c\u7cfb\u7edf\uff0c\u662f PHP\u3001Java \u6216 .NET \u5f00\u53d1\u4eba\u5458\u7684\u9996\u9009\u3002\u6b64\u5916\uff0c\u5229\u7528\u5927\u91cf\u53ef\u7528\u7684\u7b2c\u4e09\u65b9\u6a21\u5757\u548c\u9a71\u52a8\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u901a\u8fc7\u5404\u79cd\u4e0d\u540c\u7684\u7f16\u7a0b\u8bed\u8a00\uff08\u5305\u62ec Python\uff09\u8bbf\u95ee\u8be5\u6570\u636e\u5e93\u3002 \u6b66\u6c49\u767e\u5ea6<\/font><\/strong><\/a><\/font><\/strong><\/p>\n Oracle \u6570\u636e\u5e93\u5feb\u6377\u7248\u5177\u6709\u897f\u6b27\u4e0e\u901a\u7528\u4e24\u79cd\u7248\u672c\u3002\u524d\u8005\u53ea\u652f\u6301 LATIN1 \u5b57\u7b26\uff0c\u800c\u540e\u8005\u7684\u9ed8\u8ba4\u5b57\u7b26\u96c6\u4e3a AL32UTF8\u3002\u901a\u7528\u7248\u672c\u8fd8\u5305\u62ec\u7ffb\u8bd1\u4e3a\u5df4\u897f\u8461\u8404\u7259\u6587\u3001\u4e2d\u6587\uff08\u7b80\u4f53\u548c\u7e41\u4f53\uff09\u3001\u82f1\u6587\u3001\u6cd5\u6587\u3001\u5fb7\u6587\u3001\u610f\u5927\u5229\u6587\u3001\u65e5\u6587\u3001\u97e9\u6587\u4ee5\u53ca\u897f\u73ed\u7259\u6587\u7684\u7ba1\u7406\u754c\u9762\u3002\u6ca1\u6709\u4eba\u613f\u610f\u4ec5\u9650\u4e8e\u4f7f\u7528 LATIN1\uff0c\u56e0\u6b64\u6211\u5efa\u8bae\u5b89\u88c5\u5e76\u4f7f\u7528\u901a\u7528\u7248\u3002<\/p>\n \u4e0b\u8f7d<\/a>\u9002\u7528\u4e8e Windows \u7684 OracleXEUniv.exe \u6216\u9002\u7528\u4e8e\u57fa\u4e8e RPM \u7684 Linux \u7248\u672c\u7684 oracle-xe-univ-10.2.0.1-1.0.i386.rpm\u3002\uff08Oracle \u6570\u636e\u5e93\u5feb\u6377\u7248\u4e5f\u9002\u7528\u4e8e Debian\uff0c\u4f46\u8fd9\u8d85\u51fa\u4e86\u672c\u6587\u6863\u7684\u8ba8\u8bba\u8303\u56f4\u3002\uff09<\/p>\n \u5728 Windows \u5e73\u53f0\u4e0a\uff1a<\/strong><\/p>\n \u5728 Linux \u5e73\u53f0\u4e0a\uff1a<\/strong><\/p>\n \uff08\u5b89\u88c5\u8fc7\u7a0b\u5f00\u59cb\u3002\uff09<\/li>\n \u6216<\/p>\n \u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00 http:\/\/127.0.0.1:8080\/apex\/ \u6765\u767b\u5f55 XE \u7684\u56fe\u5f62\u7ba1\u7406\u754c\u9762\u3002\uff08\u5982\u679c\u6570\u636e\u5e93\u662f\u4f7f\u7528\u81ea\u5b9a\u4e49\u53c2\u6570\u914d\u7f6e\u7684\uff0c\u5219\u9700\u76f8\u5e94\u5730\u66f4\u6539\u8def\u5f84\u3002\uff09<\/p>\n \u6839\u636e\u6700\u65b0\u7684\u7edf\u8ba1\u6570\u636e\uff0c\u76ee\u524d Apache HTTP Server \u81f3\u5c11\u90e8\u7f72\u5728\u5168\u7403\u4e09\u5206\u4e4b\u4e8c\u7684 Web \u670d\u52a1\u5668\u4e0a\u3002\u7531\u4e8e\u5176\u751a\u81f3\u53ef\u4ee5\u652f\u6301\u4f38\u7f29\u6027\u6700\u5f3a\u7684\u4f53\u7cfb\u7ed3\u6784\uff0c\u6240\u4ee5\u5b83\u53ef\u7528\u4e8e\u5404\u79cd\u7cfb\u7edf\u5e73\u53f0\uff0c\u5305\u62ec Microsoft Windows \u548c Linux\u3002<\/p>\n \u7136\u800c\uff0cApache \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a Web \u670d\u52a1\u5668\u3002Apache Software Foundation \u652f\u6301\u8bb8\u591a\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u4f01\u4e1a\u7ea7\u4ea7\u54c1\uff0c\u5305\u62ec\u8457\u540d\u7684 Struts \u6846\u67b6\u3001Tomcat servlet container\u3001Derby \u6570\u636e\u5e93\u3001Axis \u5e73\u53f0\u3001FOP \u5904\u7406\u5668\u4ee5\u53ca Xerces parser \u7b49\u7b49\uff0c\u6570\u4e0d\u80dc\u6570\u3002Apache HTTP Server \u975e\u5e38\u6613\u4e8e\u914d\u7f6e\uff0c\u5e76\u4e3a\u5404\u79cd\u670d\u52a1\u5668\u7aef\u914d\u7f6e\u63d0\u4f9b\u4e86\u65e0\u4e0e\u4f26\u6bd4\u7684\u7075\u6d3b\u6027\u3002\u6b64\u5916\uff0c\u6b63\u5982\u60a8\u6240\u77e5\uff0c\u5b83\u8fd8\u53ef\u5145\u5f53 Oracle HTTP Server \u7684\u6838\u5fc3\u3002<\/p>\n \u5728 Windows \u5e73\u53f0\u4e0a\uff1a<\/strong><\/p>\n \u5728 Linux \u5e73\u53f0\u4e0a\uff08RPM \u65b9\u6cd5\uff09\uff1a<\/strong><\/p>\n \uff08APACHE_HOME<\/font><\/tt> \u7684\u9ed8\u8ba4\u4f4d\u7f6e\u53ef\u80fd\u6839\u636e –prefix \u53c2\u6570\u800c\u6709\u6240\u4e0d\u540c\uff0c\u4e00\u822c\u4e3a \/usr\/local\/apache2\u3002\uff09<\/li>\n \u8981\u68c0\u67e5 Apache HTTP Server \u662f\u5426\u8fd0\u884c\u6b63\u5e38\uff0c\u8bf7\u8f6c\u81f3 http:\/\/127.0.0.1\/ \u5e76\u67e5\u770b\u662f\u5426\u663e\u793a\u4e86\u9ed8\u8ba4\u6b22\u8fce\u9875\u9762\u3002<\/p>\n \u4f46\u662f\uff0cApache \u7684\u914d\u7f6e\u4e0d\u5b8c\u6574\uff0c\u60a8\u4ecd\u9700\u8981\u5b89\u88c5 Python \u548c mod_python\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\uff0c\u5728\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b8c\u6210 Python \u89e3\u91ca\u5668\u7684\u5b89\u88c5\u3002<\/p>\n \u5728 Windows \u5e73\u53f0\u4e0a\uff1a<\/strong><\/p>\n \u5728 Linux \u5e73\u53f0\u4e0a\uff1a<\/strong><\/p>\n Python \u7684 Linux \u5b89\u88c5\u5b8c\u5168\u53d6\u51b3\u4e8e\u7cfb\u7edf\u7248\u672c\u3002\u6b64\u5904\u6709\u5f88\u591a\u5b89\u88c5\u9009\u62e9\uff0c\u5982\u679c\u60a8\u7684\u7cfb\u7edf\u4e0d\u662f\u592a\u65e7\u7684\u8bdd\uff0c\u5219\u5df2\u7ecf\u4f7f\u7528 Python 2.4 \u7684\u51e0\u7387\u6bd4\u8f83\u5927\u3002\u8bf7\u8bbf\u95ee http:\/\/www.python.org\/download\/linux\/<\/a> \u67e5\u770b\u53ef\u7528\u9009\u62e9\u3002<\/p>\n \u6211\u4eec\u5c06\u4f7f\u7528 mod_python \u5c06 Python \u8fde\u63a5\u5230 Apache HTTP Server\uff0c\u8fd9\u662f\u4e00\u4e2a\u6700\u521d\u7531 Gregory Trubetskoy \u7f16\u5199\u5e76\u5927\u65b9\u8d60\u4e0e Apache Software Foundation \u7684\u6a21\u5757\u3002\u8be5\u6a21\u5757\u81ea 2000 \u5e74\u4ee5\u6765\u5728\u4e92\u8054\u7f51\u4e0a\u5c31\u6709\u63d0\u4f9b\uff0c\u5e76\u5728 2002 \u5e74\u6210\u4e3a Apache \u6a21\u5757\u7ec4\u7684\u4e00\u90e8\u5206\u3002<\/p>\n Mod_python \u4f7f\u60a8\u80fd\u591f\u8bbf\u95ee\u8bb8\u591a\u4f4e\u7ea7 Apache \u5185\u90e8\u4fe1\u606f\uff0c\u5e76\u63d0\u4f9b\u6bd4\u5176\u4ed6\u57fa\u4e8e Apache \u7684\u670d\u52a1\u5668\u7aef\u89e3\u51b3\u65b9\u6848\uff08\u4f8b\u5982 mod_php \u6216 mod_perl\uff09\u66f4\u4e3a\u4f18\u5f02\u7684\u7075\u6d3b\u6027\u3002\u60a8\u4e0d\u4e00\u5b9a\u4f1a\u4f7f\u7528\u8fd9\u4e9b\u5185\u90e8\u4fe1\u606f\uff0c\u4f46\u7531\u4e8e\u6211\u4eec\u5173\u6ce8\u7684\u662f\u5feb\u901f web \u5f00\u53d1\uff0c\u56e0\u6b64\u5c06\u4ecb\u7ecd\u5b83\u63d0\u4f9b\u7684\u5b8c\u5168\u9488\u5bf9 PSP \u7684\u9ad8\u7ea7\u63a5\u53e3\u3002<\/p>\n \u901a\u8fc7 mod_python\uff0c\u60a8\u53ef\u4ee5\u5145\u5206\u5229\u7528 Python \u53ca\u5176\u6a21\u5757\uff0c\u7f16\u5199\u80fd\u591f\u4ee5\u53ef\u91cd\u7528\u6a21\u677f\u5f62\u5f0f\u8fdb\u884c\u7f13\u5b58\u548c\u5305\u88c5\u7684\u670d\u52a1\u5668\u9875\u9762\u3002\u8bf7\u6ce8\u610f\uff0cPSP \u5f15\u64ce\u662f mod_python \u63d0\u4f9b\u7684\u4f17\u591a\u89e3\u91ca\u5668\u4e4b\u4e00\uff0c\u4f46\u7531\u4e8e\u6211\u4eec\u8981\u5c06 Python \u4ee3\u7801\u76f4\u63a5\u5d4c\u5165\u9875\u9762\u6e90\u4ee3\u7801\uff0c\u56e0\u6b64 PSP \u662f\u9996\u9009\u89e3\u51b3\u65b9\u6848\u3002<\/p>\nPython \u548c Python Server Pages \u7684\u80cc\u666f<\/h3>\n
\u89e3\u51b3\u65b9\u6848\u7ec4\u4ef6<\/h2>\n
Oracle \u6570\u636e\u5e93 10g<\/em> \u5feb\u6377\u7248<\/h2>\n
\u5b89\u88c5\u5e76\u8fd0\u884c Oracle \u6570\u636e\u5e93\u5feb\u6377\u7248<\/h3>\n
\n
<\/li>\n
<\/li>\n\n
\n
<\/li>\n# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm<\/pre>\n
# \/etc\/init.d\/oracle-xe configure<\/pre>\n<\/li>\n
\n
# \/etc\/init.d\/oracle-xe configure<\/pre>\n<\/li>\n
# \/etc\/init.d\/oracle-xe start<\/pre>\n
# \/etc\/init.d\/oracle-xe stop<\/pre>\n<\/li>\n<\/ol>\n
\u5b89\u88c5 Apache HTTP Server 2.0<\/h2>\n
\n
<\/li>\n\n
<\/li>\n<\/ul>\n<\/li>\n\n
# rpm -ivh httpd-2.0.55-1.i386.rpm<\/pre>\n
\u5b89\u88c5 Python<\/h2>\n
\n
<\/li>\n
<\/li>\n\u5b89\u88c5 mod_python<\/h2>\n
\u5b89\u88c5 mod_python<\/h3>\n