fedora下安装Web服务器环境

安装
yum -y install httpd php mysql mysql-server php-mysql bind
yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql
yum -y install php-gd php-xmlrpc php-xml php-mbstring php-ldap php-pear
yum -y install mysql-connector-odbc mysql-devel libdbi-dbd-mysql
yum -y install vsftpd

设置启动项

chkconfig httpd on
chkconfig --add mysqld
chkconfig --level 0123456 mysqld on
chkconfig --level 0123456 vsftpd on

运行

service httpd start
service mysqld start
service vsftpd start
mysqladmin -u root password ''

你可能感兴趣的:(fedora下安装Web服务器环境)