1.下载微信公众平台私有接口#yuminstall-ygit#gitclonehttps://github.com/lealife/WeiXin-Private-API2.修改微信公众平台私有接口代码,以配合nagios报警#cp-rWeiXin-Private-API/usr/local/nagios/libexec/weixin#chown-Rnagios.nagios/usr/local/nagios/libexec/weixin#cd/us..
分类:
微信 时间:
2016-10-27 01:47:01
阅读次数:
286
1、由于安装时使用的是最小化安装CentOS7,安装完成后没有发现ifconfig命令检查/sbin下也没有这个命令。使用的是root身份。#yuminstall-ynet-tools\*可以成功安装ifconfig[root@localhost~]#ls/sbin/if*
/sbin/ifcfg/sbin/ifconfig/sbin/ifdown/sbin/ifenslave/sbin/ifstat/sbin..
分类:
其他好文 时间:
2016-10-25 19:47:07
阅读次数:
214
PHP安装必要条件====>需要先成功安装mysql检查安装PHP需要的编译库:yuminstall-yzlib-devellibxml2-devellibjpeg-turbo-devellibiconv-develyuminstall-yfreetype-devellibpng-develgd-devellibcurl-devel检查安装包是否安装完成:rpm-qazlib-devellibxml2-devellibjpeg-tu..
分类:
Web程序 时间:
2016-10-25 19:46:43
阅读次数:
486
这个是LDAP认证客户端与自动挂载家目录shell脚本配置,使用“authconfig-tui”图形化配置简单,但是后面需要手动操作,自动写入配置文件还没有研究透彻。以后完善#!/bin/bash
yuminstall-ynss-pam-ldapdnfs-utilsnfsautofspam_ldapopenldapopenldap-clients
#showmount-e172.16..
分类:
系统相关 时间:
2016-10-25 03:47:59
阅读次数:
270
一、安装所需要程序1.安装开发环境及所需要程序#yumgroupinstall-y"DevelopmentTools""ServerPlatformDevelopment"#yuminstall-ypam-develmariadb-develmariadb-servervsftpdlftpftp启动服务:#systemctlstartmariadb.service2.编译安装pam_mysql-0.7RC1#tarxfpam_mysql-0.7RC1..
分类:
数据库 时间:
2016-10-23 15:17:24
阅读次数:
726
CentOS7系统优化1、更改yum源wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-7.repo2、添加补全服务功能yuminstall-ybash-completion3、关闭防火墙systemctlstopfirewalld.service4、关闭selinuxsed-i‘s#SELINUX=disable#SELINUX=disabled#g‘/..
分类:
其他好文 时间:
2016-10-22 21:34:16
阅读次数:
305
因为都是yumnginxphp-fpmmysql-servermysql-devel安装的php-fpm需要依赖于mysql[root@localhost~]#yuminstall-yphp-mysql[root@localhost~]#/etc/init.d/php-fpmrestart//重启服务即可
分类:
数据库 时间:
2016-10-21 01:52:02
阅读次数:
231
1、首先服务器必须安装三个包telnet、telnet-server、xinetd,使用rpm-qa|grep包名命令查看2、安装包,挂载系统光盘,使用rpm-ivh包名安装或者直接用yuminstall安装,yuminstalltelnet-serveryuminstalltelnetyuminstallxinetd3、安装完成后将xinetd、telnet服务加入开机启动sy..
分类:
Web程序 时间:
2016-10-20 01:27:11
阅读次数:
366
一、准备mysql环境1.1、安装mysql依赖软件[root@shopsrc]#yuminstall-ygcc*gcc-c++*autoconf*automake*zlib*libxml*ncurses-devel*libgcrypt*libtool*cmakebisonbison-devel*
[root@shopsrc]#wgethttp://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz
[root@shopsrc]#wget
[roo..
分类:
数据库 时间:
2016-10-20 01:01:08
阅读次数:
316
一yum安装mysql配置好yum源yuminstall–ymysql-servermysql-develmysqlMysql-devel库文件Mysql-server主程序包Mysql-链接的客户端安装即可二普通用户源码安装mysqlgroupaddmysqluseraddmysql-gmysql-d/mysqltar-zxfmysql-5.6.19-linux-glibc2.5-x86_64.tar.gzmvmysql-5.6.1..
分类:
数据库 时间:
2016-10-16 14:24:23
阅读次数:
212