Mysql¡¢Apache¡¢PhpµÄжÔØ (Linux)
жÔØMysql
[root@localhost ~]# rpm -qa | grep mysql
mysql-3.23.58-9
php-mysql-4.3.4-11
mod_auth_mysql-20030510-4.1
mysql-server-3.23.58-9
˵Ã÷£ºrpm –qa | grep mysql ÃüÁîÊÇΪÁË°ÑmysqlÏà¹ØµÄ°ü¶¼ÁгöÀ´£¬Ð¶Ôض¼´Ó×îÏÂÃæµÄÒ»¸ö°ü¿ªÊ¼£¬Ö±µ½Ð¶ÔصôµÚÒ»¸öΪֹ¡£Ö´ÐÐrpm -q php£¬Èç¹û·µ»Øphp°æ±¾£¬¸ÕÊÇrpm°²×°£»²»·µ»Øphp°æ±¾ÔòÊǶþ½øÖÆ°²×°¡£
±ÈÈ磺ÔÚÕâ¸öÀý×ÓÖУ¬ÎÒÃÇÓ¦¸ÃÏÈжÔØmysql-server-3.23.58-9 ·½·¨ÈçÏ£º
rpm –e mysql-server
˵Ã÷£ºrpm –e ÊÇжÔØrpm°üµÄÃüÁºóÃæÊÇ°üÃû³Æ£¬×îºóµÄ°æ±¾ºÅÊDz»ÓôòµÄ£¬±ÈÈçÎÒÃÇÏÂÒ»²½Ð¶ÔØmod_auth_mysql-20030510-4.1°ü£¬·½·¨ÈçÏ£º
[root@localhost ~]# rpm –e mod_auth_mysql
жÔØApache
[root@localhost ~]# rpm -qa | grep httpd
httpd-manual-2.2.9-4.i386
httpd-tools-2.2.9-4.i386
httpd-devel-2.2.9-4.i386
httpd-2.2.9-4.i386
[root@localhost ~]# rpm -e httpd --nodeps
[root@localhost ~]# rpm -e httpd-devel --nodeps
[root@localhost ~]# rpm -e httpd-tools --nodeps
[root@localhost ~]# rpm -e httpd-manual --nodeps
жÔØPHP
[root@localhost ~]# rpm -qa | grep php
php-odbc-4.3.4-11
php-4.3.4-11
php-mysql-4.3.4-11
php-pear-4.3.4-11
php-ldap-4.3.4-11
php-pgsql-4.3.4-11
˵Ã÷£º·½·¨¸úжÔØMysqlÒ»Ñù£¬²»ÓÃ˵ÁË°É
×¢Ò⣺жÔصÄʱºòÈç¹ûжÔز»µô£¬ÏµÍ³Ò»°ã»áÌáʾ°üµÄÒÀÀµ¹Øϵ£¬²¢ÇÒÁгöÒÀÀµµÄ°üµÄÃû³Æ£¬ÏÈжÔØÌáʾÒÀÀµµÄ°ü¾Í¿ÉÒÔÁË¡£
Èç¹ûʵÔÚʵÔÚÓÐжÔز»µôµÄ°ü£¬¿ÉÒÔ¼Ó—nodepsÕâ¸ö²ÎÊýÀ´Ð¶ÔØ
£¬±ÈÈçÎÒÃÇжÔØphp-4.3.4-11£¬ÊµÔÚж²»µôÁË¡£¾ÍÓãº
rpm -e php-4.3.4-11 --nodeps£¨»ò rpm -e --nodeps php-4.3.4-11£©
ÃüÁîºÜÇ¿Ó²£¬Ó¦¸ÃÐеġ£
ÎÒÔÚ×°LinuxʱÒѾ°²×°ÁËapache,ÎÒÈçºÎÆô¶¯Ëü
ÔËÐÐntsysvÃüÁѡÖÐapache¼È¿É¡£
Ïà¹ØÎĵµ£º
<!--#include file="zheboconn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>aspºÍmysql·ÖÒ³´úÂë</title>
<style type="text/css">
<!--
.STYLE3 {
fon ......
1.Ç°ÃæһƪÎÄÕÂÏêϸ½éÉÜÁËÈçºÎÔÚWindowsÏÂÕûºÏapache+mysql+php+tomcat,ºÜ¼òµ¥£¬µ«ÊÇÔÚLinuxϾÍûÕâôÈÝÒ×ÁË£¬ÐèÒªÊÖ¹¤µÄȥдÅäÖÃÎļþ£¬ÍøÉϵÄ×ÊÁÏÓкܶ࣬µ«ÊÇÎÒ¸ù¾ÝËûÃǵÄд·¨£¬Ò»²½Ò»²½µÄÅäÖû¹ÊÇûÄÜsuccess!£¨¿ÉÄÜÊÇÎÒ¸öÈ˵ÄÔÒò£¬²»¹ý£¬ÎÞÂÛÔÚGoogle»¹ÊÇbaiduËѵ½µÄÎÄÕ¾ÍÄÇô¼¸Æª£¬Õâ¸öתһÏ£¬ÄǸöתһÏ£¬×îºó¶¼² ......
±ä³ÉѧϰQTÁË...º¹.
ÖÆ×÷Hello World µ½ ʱÖÓ³ÌÐò ... ×î¶àµÄ»¹ÊÇÊìϤ×é¼þµÄʹÓã¬Ê¹ÓöøÒÑ£¬¹¤¾ß¶øÒÑ£¬´ó²¿·Ö¶¼ÊÇÀ×ͬµÄ£¬ÆäʵÎÒÃÇҪѧµÄ²»¶à£¬Ò²¾ÍÊǺÍVC++ »òÕßBC++²»Í¬µÄ»úÖÆ»òÕßеļ¼ÇÉ¡£×é¼þÓõ½Ê±ºò²é²é¾ÍOK£¬Ã»±ØҪϵͳµÄѧ£¬ÒòΪÎÒÃÇÓò»Ì«µ½¡£
  ......
LinuxÏÂmysqlµÄ°²×°²½Ö裨·Çrpm°²×°£©
1 ÏÂÔØmysql-standard-5.0.27-linux-i686-glibc23.tar.gz °ü
2 ½âѹµ½°²×°Ä¿Â¼£º tar -zxvf /edass/db/mysql-standard-5.0.27-linux-i686-glibc23.tar.gz
3 ½« mysql-standard-5.0.27-linux-i686-glibc23Á´½Óµ½mysql : ln –s mysql-standard-5.0.27-linux-i686 ......