标签:
centos7许多命令都变了,又要重新记了。
centos7默认安装了httpd吧?记不清了,看一下:
rpm -qa |grep httpd
没有的话,安装一下吧。
yum -y install httpd
yum -y install php
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel
二、启动httpd服务,并设置成开机启动。
systemctl start httpd.service
systemctl enable httpd.service
tpd.service,如下图
b/systemd/system/auditd.service
b/systemd/system/avahi-daemon.service
b/systemd/system/crond.service
b/systemd/system
tpd.service
b/systemd/system/irqbalance.service
b/systemd/system/kdump.service
b/systemd/system/NetworkManager.service
b/systemd/system/postfix.service
b/systemd/system/remote-fs.target
b/systemd/system/rsyslog.service
b/systemd/system/sshd.service
b/systemd/system/tuned.service
b/firewalld
rvices
tp.xml,我们来看看这个文件。
rvice>
rvices/目录,/usr
b/firewalld
rvices/目录查找名为http.xml的文件,找到即停止继续查找,所以位于/etc/firwalld
rvices/目录的配置文件优先级更高。
标签:
原文地址:http://www.cnblogs.com/guoyabin/p/4389405.html