Fedora 安装常用软件及配置
1。Fedora里安装php/mysql
(安装系统后默认安装了apache)
yum -y php mysql mysql-server php-mysql
//安装apache扩展
yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql
//安装php的扩展
yum -y php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc
//安装mysql扩展
yum -y mysql-connector-odbc mysql-devel libdbi-dbd-mysql
2.配置apache/php/mysql
service httpd start //启动apache
service mysqld start //启动mysql
chkconfig --levels 235 httpd on //开机自动启动
chkconfig --levels 235 mysql on //开机自动启动
#mysqladmin uroot password 123456789
#mysql -uroot -p
mysql>drop database test;
(安装系统后默认安装了apache)
yum -y php mysql mysql-server php-mysql
//安装apache扩展
yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql
//安装php的扩展
yum -y php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc
//安装mysql扩展
yum -y mysql-connector-odbc mysql-devel libdbi-dbd-mysql
2.配置apache/php/mysql
service httpd start //启动apache
service mysqld start //启动mysql
chkconfig --levels 235 httpd on //开机自动启动
chkconfig --levels 235 mysql on //开机自动启动
#mysqladmin uroot password 123456789
#mysql -uroot -p
mysql>drop database test;
相关推荐
minerd 2020-10-28
Noneyes 2020-11-10
huavhuahua 2020-11-20
weiiron 2020-11-16
ailxxiaoli 2020-11-16
cakecc00 2020-11-15
千锋 2020-11-15
JakobHu 2020-11-14
chensen 2020-11-14
Nostalgiachild 2020-11-13
guangcheng 2020-11-13
zhangxiafll 2020-11-13
jipengx 2020-11-12
xirongxudlut 2020-11-10
solarLan 2020-11-09
pythonxuexi 2020-11-08
文山羊 2020-11-07
susmote 2020-11-07
wuShiJingZuo 2020-11-05