12-05-2012, 08:10 AM
-Installing Apache's httpd, PHP, MySQL on Fedora-
# yum -y install httpd php mysql mysql-server php-mysql
Your web files will now be found in "/var/www/" - the document root.
To create a database issue this command in terminal:
mysqladmin create "databasename"
That's it!
2
hello , i have already installed
[root@239 ~]# yum install httpd
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: sunsite.rediris.es
* epel: mirror.uv.es
* extras: sunsite.rediris.es
* updates: sunsite.rediris.es
Setting up Install Process
Package httpd-2.2.15-15.el6.centos.1.i686 already installed and latest version
Nothing to do
[root@239 ~]# yum install php
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: sunsite.rediris.es
* epel: mirror.uv.es
* extras: sunsite.rediris.es
* updates: sunsite.rediris.es
Setting up Install Process
Package php-5.3.3-14.el6_3.i686 already installed and latest version
Nothing to do
[root@239 ~]# yum install mysql-server mysql
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: sunsite.rediris.es
* epel: mirror.uv.es
* extras: sunsite.rediris.es
* updates: sunsite.rediris.es
Setting up Install Process
Package mysql-server-5.1.66-1.el6_3.i686 already installed and latest version
Package mysql-5.1.66-1.el6_3.i686 already installed and latest version
Nothing to do
[root@239 ~]# service httpd start
Iniciando httpd: [ OK ]
[root@239 ~]# service mysqld start
Iniciando mysqld: [ OK ]
[root@239 ~]#

