安装VSFTPD 1.首先确认系统内无VSFTPD。 rpm qa|grep vsftpd 若有的话会显示vsftpd x.x.x. x.xxx.x86_64 若没有的话会空返回 2.安装VSFTPD yum y install vsftpd 3.设置开机启动 chkconfig vsftpd on ...
分类:
其他好文 时间:
2018-10-22 17:49:00
阅读次数:
155
1、chkconfig --list (查看所有启动项) 2、chkconfig sshd on (设置其开机启动) 3、chkconfig sshd off (设置其开机关闭) 4、chkconfig --level 3 sshd on(设置单个) chkconfig --level 345 ss ...
分类:
其他好文 时间:
2018-10-22 10:24:04
阅读次数:
175
crontab Linux的系统定义任务 # service crond restart 启动这个服务,默认是开启的 查看是否启动 ps -aux | grep crond chkconfig --list | grep crond crontab的常用方法: crontab [选项] -e 编辑c ...
分类:
其他好文 时间:
2018-10-21 10:53:47
阅读次数:
124
制作服务启动程序:(case+if)vi/etc/init.d/myprog#!/bin/bash#chkconfig:359010#description:StartupscriptformyprogServercase"$1"instart)if[-f/opt/test];thenecho"myprog服务已经启动[失败]"elseecho"正
分类:
系统相关 时间:
2018-10-20 13:40:20
阅读次数:
154
读出局域网其他服务器的共享目录并通过php显示目录树
分类:
Web程序 时间:
2018-10-17 20:08:08
阅读次数:
239
本博客讨论HAProxy+PXC集群架构。 1.架构说明 单纯的PXC集群需要对外部应用程序暴露多个集群内部的MySQL节点的IP地址,才能让应用程序使用到多节点读写数据的便利,同时,PXC集群本身没有提供负载均衡的功能。 HAProxy+PXC集群架构中,引入负载均衡组件HAProxy,使得对外部 ...
分类:
数据库 时间:
2018-10-07 22:02:06
阅读次数:
282
使用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