CentOS 6.5 系统 LAMP(Apache+MySQL+PHP)安装步骤
来源:互联网 发布:tgp优化 编辑:程序博客网 时间:2024/05/22 14:15
PHP:5.3.2
Apache:2.2.15
MySQL:5.1.52
[root@localhost ~]# yum install mysql mysql-server
[root@localhost ~]# chkconfig --levels 235 mysqld on[root@localhost ~]# /etc/init.d/mysqld start
[root@localhost ~]# mysql_secure_installation
Enter current password for root
Set root password?[Y/n]
New password:
Remove anonymous users?[Y/n]Disallow root login remotely?[Y/n]Remove test database and access to it?[Y/n]Reload privilege tables now?[Y/n]
[root@localhost ~]# yum install httpd
[root@localhost ~]# chkconfig --levels 235 httpd on
[root@localhost ~]# /etc/init.d/httpd start
[root@localhost ~]# yum install php
[root@localhost ~]# /etc/init.d/httpd restart
[root@localhost ~]# vi /var/www/html/info.php
<?phpphpinfo();?>
:wq
[root@localhost ~]# yum search php
[root@localhost ~]# yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
[root@localhost ~]# /etc/init.d/httpd restart
0 0
- CentOS 6.5 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.5 系统 LAMP(Apache+MySQL+PHP)源码安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.3 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- android-2
- CentOS 6.5系统中iptables防火墙开放端口80 3306 22端口
- C语言面试题
- codeforces Name That Tune (概率dp)
- mysql随机查询效率优化
- CentOS 6.5 系统 LAMP(Apache+MySQL+PHP)安装步骤
- 新手必看 DNF召唤师技能数据全面解析
- dedecms顶级栏目列表、子栏目列表调用DEDECMS调用父栏目名称
- 设计模式—适配器模式
- Maven学习 (四) 使用Nexus搭建Maven私服
- Android中Root权限获取(1)
- 通过adb命令向Android模拟器中导入通讯录联系人
- Android中Root权限获取的实例代码(2)
- java泛型的实现原理