Install common software and configuration on Fedora

Source: Internet
Author: User
Tags php mysql
1. Install php/mysql in Fedora (apache is installed by default after the system is installed) yum-yphpmysqlmysql-serverphp-mysql // install apache extension yum-yinstallhttpd-manualmod_sslmod_perlmod_auth_mysql // install php extension yum-yphp-gdphp-xmlphp-mbstringphp-ld 1. Install php/mysql in Fedora
(Apache is installed by default after the system is installed)
Yum-y php mysql-server php-mysql
// Install apache Extension
Yum-y install httpd-manual mod_ssl mod_perl mod_auth_mysql
// Install php Extension
Yum-y php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc
// Install mysql extension
Yum-y mysql-connector-odbc mysql-devel libdbi-dbd-mysql

2. Configure apache/php/mysql

Service httpd start // start apache
Service mysqld start // start mysql

Chkconfig -- levels 235 httpd on // automatically starts upon startup
Chkconfig -- levels 235 mysql on // automatically starts upon startup


# Mysqladmin uroot password 123456789
# Mysql-uroot-p
Mysql> drop database test;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.