centos7安装 multicraft教程
centos7与centos6.x的安装方法有所不同首先防火墙
CentOS 7.0默认使用的是firewall作为防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
其次是mysql数据库
centos 7 抛弃了mysql 转投 mariadb 了
# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server
成功安装之后重启mysql服务
# service mysqld restart
mysql_secure_installation 来初始化root用户的密码
照样使用yum安装httpd,但是启动或者关闭方法不同
service httpd start 是启动
service httpd stop关闭
service httpd restart 重启
所以???? 没了???
弃坑???
页:
[1]