摘要: OpenResty®-英文官网地址:http://openresty.org/en/ OpenResty®-中文官网地址: http://openresty.org/cn/ 阅读全文
posted @ 2019-10-07 16:09 wwweee000 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 操作系统 | CentOS Linux release 7.6.1810 (Core) 更新时间同步 安装编译工具及库文件 yum install -y --exclude=kernel*,centos-release*,httpd,nginx,php,mysql,mairadb,python-ps 阅读全文
posted @ 2019-09-27 15:10 wwweee000 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh #主动启动网卡 interface=$(ls /sys/class/net| grep -v "lo" | head -1) ifup $interface #获取当前网络信息 default_route=$(ip route show) default_interface=$(echo $default_route | sed -e 's/^.*dev \([^ ]*\... 阅读全文
posted @ 2019-09-27 15:10 wwweee000 阅读(584) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #!/bin/sh #read定义backspace输入非^H #wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm&&sudo rpm -Uvh epel-release-*.rpm #yum install pptpd.x86_64 -y& #modprobe nf_co... 阅读全文
posted @ 2019-09-27 15:10 wwweee000 阅读(8) 评论(0) 推荐(0) 编辑
摘要: redis 客户端管理工具:Redis Desktop Manager redis-clent-curl https://redisdesktop.com/ 如下图:刚刚创建的foo库命令为bar 阅读全文
posted @ 2019-09-27 15:09 wwweee000 阅读(337) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #!/usr/bin/expect -f #/etc/sysctl.conf --bash-srcipts-- echo 'net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 vm.swappiness = ... 阅读全文
posted @ 2019-09-27 15:09 wwweee000 阅读(332) 评论(0) 推荐(0) 编辑
摘要: svn 脚本下载 http://opensource.wandisco.com/subversion_installer_1.9.sh 2019-Aug-20 12:20:4810.1Kapplication/x-sh#下面的是svn1.9.7自动安装加权限配置文件同步利用rsync工具主从切换校验md5库切换,当然你也可以使用keepalive主备切换,因该脚本的云平台不支持keepalive... 阅读全文
posted @ 2019-09-27 15:09 wwweee000 阅读(534) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #Build LAMP Server Conf mysql_secure_installation service mariadb restart systemctl enabled mariadb systemctl restart httpd sed -i "11a-A INPUT -p tcp -m state --state NEW -m tcp --dport ... 阅读全文
posted @ 2019-09-27 15:08 wwweee000 阅读(680) 评论(0) 推荐(0) 编辑
摘要: Keepalived 官网地址:https://www.keepalived.org/manpage.html 源码二进制包地址:https://www.keepalived.org/software/ keepalived-2.0.18.tar.gz:https://www.keepalived. 阅读全文
posted @ 2019-09-27 15:08 wwweee000 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: @echo off echo 正在设置Java环境变量 pause wmic ENVIRONMENT create name="JAVA_HOME",username="",VariableValue="C:\Program Files\Java\jdk1.8.0_191" wmic ENVIRONMENT create name="CLASSPATH",username="",Variable... 阅读全文
posted @ 2019-09-27 15:08 wwweee000 阅读(244) 评论(0) 推荐(0) 编辑