码迷,mamicode.com
首页 >  
搜索关键字:systemctl    ( 2804个结果
0040 Linux 系统管理命令
1. 主机名称 hostname hostnamectl 2.开机启动 chkconfig systemctl 3.服务管理 service 服务名 start service 服务名 stop service 服务名 restart 4.时间管理 ntpdate 5.包管理 yum rpm ...
分类:系统相关   时间:2016-06-10 00:53:02    阅读次数:194
centos7 关闭firewall安装iptables并配置
一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:其他好文   时间:2016-06-08 01:35:34    阅读次数:311
守护进程与远程登录服务器
1、在RedHat7版本中,系统启动和服务器进程由systemd进行管理systemctl命令用于管理各种类型的systemd对象,它们称为单元。systemctl-thelp显示可用单元类型列表。一些常见的单元类型:(1).服务单元具有.service扩展名(2).套接字单元具有.socket扩展名(3).路径单元具有.path扩..
分类:系统相关   时间:2016-05-26 11:44:07    阅读次数:226
centos6 与 7 其中的一些区别
# vi /etc/ssh/sshd_config #将MaxAuthTries注释去掉 MaxAuthTries 5(登录次数) UseDNS no 默认是yes 的,把这个改为no,可以大大减少认证的时间 centos7 yum装的服务器,或者自带的,启动命令有区别 现在是 systemctl ...
分类:其他好文   时间:2016-05-25 09:28:23    阅读次数:1342
10.NFS V4.2
这里只演示使用keytab,也就是客户端与服务端进行keberos进行安全验证连接(注意时间服务器要同步!如果不同步,Kerberos无法通过验证) server端:192.168.1.109 1.yum install -y nfs-utils 2.systemctl enable nfs-ser ...
分类:其他好文   时间:2016-05-22 08:31:06    阅读次数:193
CentOS7 下面使用systemctl 来管理tomcat服务
查看全部服务命令:systemctllist-unit-files--typeservice查看服务systemctlstatusname.service启动服务systemctlstartname.service停止服务systemctlstopname.service重启服务systemctlrestartname.service增加开机启动systemctlenablename.service删除开机启动systemctldisa..
分类:其他好文   时间:2016-05-21 00:11:24    阅读次数:1890
关闭RHEL的防火墙
关闭rhel5.x 和 rhel 6.x的防火墙 service iptables stop chkconfig iptables off rhel7.1 systemctl stop firewalld systemctl disable firewalld...
分类:其他好文   时间:2016-05-20 19:42:41    阅读次数:128
网卡出现问题Job for network.service failed
centos7网卡是需要写入MAC地址的不然启动不了在运行“/etc/init.d/network restart”命令时,出现错误“Job for network.service failed. See 'systemctl status network.service' and 'journal... ...
分类:Web程序   时间:2016-05-16 19:54:52    阅读次数:453
在Linux上使用Libvirt构建虚拟机
1.准备工作 systemctl disable firewalld systemctl stop firewalld setenforce 0 hostnamectl set-hostname libvirt-Manage rpm -qa|grep kvm yum groupinstall Vir ...
分类:系统相关   时间:2016-05-15 16:40:25    阅读次数:189
CentOS 7 安装 Apache PHP MariaDB
准备篇: 一、配置防火墙,开启80端口、3306端口 CentOS 7 默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable ...
分类:数据库   时间:2016-05-15 02:35:06    阅读次数:372
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!