摘要: 脚本如下: 源码包 版本 nginx-1.12.2.tar.gz #!/bin/bash NGINXDIR=/usr/local/nginx NGINX=nginx-1.12.2 TAR=.tar.gz NGINXMBER=81 NGINXUN=82 NGINXPROT=`lsof -i :80 | 阅读全文
posted @ 2021-02-23 11:58 woaibaobei 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Nginx反向代理配置脚本 通过脚本参数实现Nginx反向代理的Server模块配置,配置格式如下 # 默认域名反向代理配置 server { listen 80; server_name www.example.com; location / { proxy_pass http://www.exa 阅读全文
posted @ 2021-02-23 11:57 woaibaobei 阅读(547) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env bash# # Author: renwole.com ## Description: MySQL automatic installation tool ## export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin: 阅读全文
posted @ 2021-02-23 11:52 woaibaobei 阅读(199) 评论(0) 推荐(0) 编辑
摘要: [root@localhost Dockerfile]# cat setup.sh#!/bin/bash#if [ $# -ne 2 ] ;then# exit#fi export PATH=$PATH:/home/db/mysql/bin:/home/db/mysql/lib # MASTER=f 阅读全文
posted @ 2021-02-23 11:49 woaibaobei 阅读(69) 评论(0) 推荐(0) 编辑
摘要: Centos下Rabbitmq安装配置 因为rabbitmq是利用erlang编程语言开发的,所以首先我们得安装erlang虚拟机的支持,就像Java重新一样,首先得有JDK的支持。 一、安装Erlang 1、Yum方法安装 # wget -O /etc/yum.repos.d/epel-erlan 阅读全文
posted @ 2021-02-23 11:46 woaibaobei 阅读(217) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ##nagios监控软件一件使用 ##date : 2016-08-23 ##做者:liuwenzhi #定义变量 YUMNUM=`yum repolist 2>/dev/null|grep repolist: |sed 's/[^0-9]//g'` NAGIOSzip=na 阅读全文
posted @ 2021-02-23 11:35 woaibaobei 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 进行交互主要障碍有两点:1. ssh-keygen的时候须要点击回车。2. passwd 须要设置密码 若是谁能解决以上两点,欢迎email给我。另外:须要JDK和Hadoop压缩包第一步: 设置Root用户的SSH 无密码访问 为了以后修改Hosts文件,配置环境变量,拷贝数据方便ssh root 阅读全文
posted @ 2021-02-23 11:32 woaibaobei 阅读(119) 评论(0) 推荐(0) 编辑
摘要: emacsConfig下创建install目录,结构大概这样php . ├── auto-complete-etags-setting.el ├── auto-complete-setting.el ├── auto-complete-yasnippet-setting.el ├── autopai 阅读全文
posted @ 2021-02-23 11:30 woaibaobei 阅读(90) 评论(0) 推荐(0) 编辑
摘要: kickstart 批量自动化安装系统工具html 1.安装kickstartr软件bash 2.system-config-kickstart #运行,生成ks.cfg文件服务器 1.基本信息设置网络 2.安装方法工具 3.安装方法3d 4.分区信息(分区大小)htm 5.网络配置blog 6.防 阅读全文
posted @ 2021-02-23 11:29 woaibaobei 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ./configure \--prefix=/usr/local/nginx \--sbin-path=/usr/local/nginx/sbin/nginx \--conf-path=/usr/local/nginx/nginx.conf \--error-log-path=/var/log/ng 阅读全文
posted @ 2021-02-23 11:28 woaibaobei 阅读(102) 评论(0) 推荐(0) 编辑