Home  >  Article  >  Database  >  Linux安装:mysql+apache+php_MySQL

Linux安装:mysql+apache+php_MySQL

WBOY
WBOYOriginal
2016-06-01 13:55:40820browse

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目录

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn