当前位置:Gxlcms > mysql > Linux安装:mysql+apache+php_MySQL

Linux安装:mysql+apache+php_MySQL

时间:2021-07-01 10:21:17 帮助过:5人阅读

Apache

  安装步骤:

  1.mysql

  在如下页面下载mysql的for linux rpm包

   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;

   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;

  存至/home/tmp目录

  命令列表: 

  cd /home/tmp

  rpm -ivh MySQL-3.23.52-1.i386.rpm #安装mysql server

  rpm -ivh MySQL-client-3.23.52-1.i386.rpm #安装mysql client

  /usr/mysql/safe_mysqld & #启动mysql server

  mysql #运行mysql 客户端,并开放root用户的远程访问权限。以便调试

  use mysql

  update user set host = ''%'' where user = ''root'' and host ''localhost'';

  flush privileges;

  quit

  至此mysql安装完成

  2.apache

  在如下页面下载apache的for linux 的源码包  

  http://www.apache.org/dist/httpd/apache_1.3.26.tar.gz ;

  存至/home/tmp目录

人气教程排行