使用ansible-playbook部署zabbix-agent-4.0
分类:
其他好文 时间:
2018-09-30 21:28:33
阅读次数:
412
Centos7.4下安装mysql-5.6.41二进制包1、下载mkdir/data/sqlcd/data/sqlwgethttps://cdn.mysql.com//Downloads/MySQL-5.6/mysql-5.6.41-linux-glibc2.12-x86_64.tar.gz2、查询是否有安装过mysqlrpm-qa|grepmysql若有的话,卸载低版本的MySQLrpm-e--
分类:
数据库 时间:
2018-09-30 15:04:44
阅读次数:
272
1.sshd服务开启. 2. sshd服务关闭. 3.服务设定好重新启动。 4.所有的进程服务。 5.指定smartd服务3和5开启。Chkconfig - -level 35 smartd on; 6.指定smartd服务3和5关闭。Chkconfig - -level 35 smartd off ...
分类:
系统相关 时间:
2018-09-29 20:28:08
阅读次数:
241
https://blog.csdn.net/xxq929604980/article/details/78558317 http://man.linuxde.net/chkconfig 1.脚本编写 1.2.脚本前三行注释是注册服务所必须的,可以改参数,设置好php安装路径,项目跟路径,启动文件即可 ...
分类:
其他好文 时间:
2018-09-29 20:19:12
阅读次数:
107
解压包 #tar zxf nginx-1.11.2.tar.gz 编写脚本 # vi nginx-running.sh 内容: #!/bin/bash# chkconfig: 2345 97 25#description nginx-server-scrytnginx=/usr/local/ngin ...
分类:
其他好文 时间:
2018-09-28 00:05:43
阅读次数:
163
(1)关闭SELinux功能它是美国安全局(NSA)对于强制访问控制的实现,我们需要把它关闭这也是生产环境的做法。[root@linzhongniao~]#sed-i‘s#SELINUX=enforcing#SELINUX=diasbled#g‘/etc/selinux/config[root@linzhongniao~]#cat/etc/selinux/config#Thisfilecontro
分类:
系统相关 时间:
2018-09-25 23:04:46
阅读次数:
233
Linux注册系统服务步骤 1.编写服务脚本 2.拷贝到/etc/init.d目录下 3.为服务脚本添加可执行权限 >>chmod a+x xxxd 4.添加到系统服务中 >>chkconfig --add xxxd 5.检测是否添加成功 >>chkconfig --list | grep xxxd ...
分类:
系统相关 时间:
2018-09-22 12:58:18
阅读次数:
208
systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。 启动一个服务:systemctl start firewalld.service 关闭一个服务:systemctl stop firewalld.service 重启一个服务:s... ...
分类:
其他好文 时间:
2018-09-22 10:36:47
阅读次数:
195
第一步在使用源码包安装服务程序之前,首先要让安装主机具备编译程序源码的环境,他需要具备C语言、C++语言、Perl语言的编译器,以及各种常见的编译支持函数库程序。因此请先配置妥当Yum软件仓库,然后吧下面列出的软件包都统统安装上:yuminstall-yaprautoconfautomakebisonbzip2bzip2compatcppcurlcurl-develfontconfigfontco
分类:
其他好文 时间:
2018-09-19 22:06:52
阅读次数:
205
iptables firewalld CentOS6、Redhat6之前使用的都是iptables, 打开,关闭,查看iptables service iptables start service iptables stop 禁止开机启动 chkconfig iptables off firewal ...
分类:
系统相关 时间:
2018-09-19 16:23:18
阅读次数:
178