centos6.6搭建apache+mysql+php环境(1)
来源:互联网 发布:淘宝质量好的杂货铺 编辑:程序博客网 时间:2024/05/16 10:57
前面写的那个j2ee的教程我会继续写下去,这几天在弄云服务器。有点乱,先从这里开始吧。
由于最近要学习PHP项目,服务器为centos6.6系统,为了快捷部署,采用yum安装部署.
首先先安装mysql
首先输入yum install mysql mysql-server
安装的时候一定选择Y ,你不选择怎么安装??
安装完毕,让 MySQL 能够随系统自动启动:
chkconfig --levels 235 mysqld on
执行。/etc/init.d/mysqld start
设置 MySQL 数据 root 账户的密码:
mysql_secure_installation
Set root password? [Y/n]
出现如下提示输入你需要设置的密码,回车后在输入一次确认:
接下来还会有四个确认,分别是:
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]
直接回车即可。
下一节课我们介绍如何安装Apache。。(我是不是偷懒。。)
1 0
- centos6.6搭建apache+mysql+php环境(1)
- centos6.6搭建apache+mysql+php环境(2)
- centos6.6搭建apache+mysql+php环境(3)
- centos6.4搭建apache+mysql+php环境
- centos6.5搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- centos6.4搭建apache+mysql+php环境
- Centos6安装WordPress(一)Apache,Mysql, PHP环境搭建
- Centos6.8下搭建LAMP(Linux、Apache、MySQL、PHP)环境
- php+mysql+apache环境搭建
- Apache + Php + Mysql 环境搭建
- StringUtils的使用
- 关于pandas.get_dummies
- 矩形覆盖
- Caffe代码阅读笔记(2)
- 在使用img标签的src属性引用网络图片资源时加载图片失败的问题
- centos6.6搭建apache+mysql+php环境(1)
- Git常用操作与常见错误
- Making Your ActionBar Not Boring
- 寒假十天集训总结
- 数值的整数次方
- meterpreter详解与渗透实战
- CCF201612-1 中间数(100分)
- Python正则表达式指南
- 假期训练——OpenJ_Bailian - 2745 显示器 模拟