码迷,mamicode.com
首页 >  
搜索关键字:systemctl    ( 2804个结果
CentOS7配置Apache HTTP Server
CentOS7默认使用的是firewall防火墙,我们需要关闭防火墙。#关闭防火墙systemctl stop firewalld.service #禁止防火墙开机启动systemctl disable firewalld.service#安装Apacheyum install -y httpd#启...
分类:Web程序   时间:2015-12-10 13:15:25    阅读次数:220
RedHat7搭建Nginx+Apache+PHP
安装Apache# yum -y install httpd修改Apache默认端口为81#vi /etc/httpd/conf/httpd.conf找到"Listen 80"这行,改为 Listen 81设置Apache服务开机自启动# systemctl enable httpd启动Apache...
分类:Web程序   时间:2015-12-07 15:47:13    阅读次数:128
CentOS7 防火墙 firewall-cmd
最小化安装CentOS7 后,很多端口默认是不打开的,需要通过 firewall-cmd 把这些端口打开。检查防火墙状态# firewall-cmd --staterunning 关闭防火墙# systemctl stop firewalld# firewall-cmd --statenot ru....
分类:其他好文   时间:2015-12-05 16:06:20    阅读次数:193
Centos 7 yum 安装Apache
1.首先查看是否已经安装rpm -qa httpd2.如果没有yum install httpd -yrpm -ql httpd 查看3.重新启动服务/bin/systemctl start httpd.service
分类:Web程序   时间:2015-12-03 11:46:33    阅读次数:121
Redhat7 systemctl命令
Redhat7systemctl命令:启动、停止、重启、查看状态:#systemctlstart\stop\restart\statushttpd激活服务:#systemctlis-activehttpd开机启动httpd:#systemctlenablehttpd开机不启动httpd:#systemctldisablehttpd使用systemctl命令杀死服务:#systemctlkillhttpd列出所有服务..
分类:其他好文   时间:2015-12-01 01:51:37    阅读次数:739
Centos7 设置IPtables
entOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开...
分类:其他好文   时间:2015-11-24 12:20:48    阅读次数:112
DHCP和TFTP配置以及CentOS 7上的服务控制
一、DHCPDHCP(DynamicHostConfigurationProtocol,动态主机配置协议)用来给局域网的主机动态配置网络参数(IP地址、子网掩码、网关等),采用client/server架构1、工作原理①DHCPClient以广播的方式发出DHCPDiscover报文。②广播域内所有的DHCPServer都能够接收到DHCPClient发..
分类:其他好文   时间:2015-11-23 06:33:05    阅读次数:338
Centos7 安装 mariadb
centos7 以后mysql 被mariadb代替 根据资料,mariadb数据库的启动命令是: systemctl start mariadb ?#启动MariaDB systemctl stop mariadb ?#停止MariaDB systemctl restart mariadb ?#重启MariaDB systemctl...
分类:数据库   时间:2015-11-09 21:05:27    阅读次数:277
Docker 启动失败Starting docker (via systemctl): Job for docker.service failed
Starting docker (via systemctl): Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.[FAILED]解决办法:yu...
分类:其他好文   时间:2015-11-01 06:50:11    阅读次数:688
CentOS 7.0编译安装Nginx1.6.0+MySQL5.6.19+PHP5.5.14方法分享
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:数据库   时间:2015-10-27 13:11:00    阅读次数:345
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!