![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
script
王化冰
技术是用来分享的,想法是自己的
展开
-
Openresty二进制安装
上干货:#!/bin/bashversion="1.13.6.2"name=openresty-$versionfile=$name.tar.gzprefix=/usr/local/openrestyTOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/local# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run th原创 2021-10-10 14:36:48 · 367 阅读 · 0 评论 -
Redis二进制安装
上干货:#!/bin/bashREDIS_VER=5.0.3PORT=6379TOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/local# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run this script" exit 1fi# Check network environmental#NET_N原创 2021-10-10 14:33:49 · 321 阅读 · 0 评论 -
Mysql二进制安装
上干活:#!/bin/bashMYSQL_TYPE=5.7MYSQL_VER=5.7.24-linux-glibc2.12-x86_64PORT=3306TOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/localROOTPWD=sunbox@tbd7# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run this s原创 2021-10-10 14:32:01 · 116 阅读 · 0 评论