红联Linux门户
Linux帮助

fedora 自带的LAMP

发布时间:2007-11-12 00:24:20来源:红联作者:tJbwhy
1.管理apache

apachectl -k start/stop/restart

2.启动mysql

# service mysqld start

初始化 MySQL 数据库: Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h phoenix.whu password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[确定]
启动 MySQL: [确定]


3.验证php

phpinfo();
?>
文章评论

共有 1 条评论

  1. marco.chan 于 2007-11-12 00:51:12发表:

    好好的centos放着不用,用fedora做LAMP~
    可惜~