Giter Club home page Giter Club logo

maops's Introduction

  • #f03c15 红色 echo -e "\033[31m\033[01m[ $1 ]\033[0m"

  • #f03c15 红色动态 echo -e "\033[31m\033[01m\033[05m[ $1 ]\033[0m"

  • #335BFF 蓝色 echo -e "\033[34m[ $1 ]\033[0m"

  • #4CFF33 绿色 echo -e "\033[32m[ $1 ]\033[0m"

  • #c5f015 黄色 echo -e "\033[33m\033[01m[ $1 ]\033[0m"

  • #c5f015 黄色动态 echo -e "\033[33m\033[01m\033[05m[ $1 ]\033[0m"

version

# App Version scripts type User ID port date
1 haproxy 1.9.0 shell haproxy haproxy 1080 2018
2 Linux Virtual Server 1.27-7.el7 shell Linux Virtual Server root 112 2018
3 keepalived 2.0.10 shell Keepalived root 112 2018
4 redis-cli 3.0.0 shell None None 20190111
5 nginx 1.16.0 shell None None 20190803
6 php-fpm 7.3.8 shell None None 20190803

目录

lvs

lvs-dr-deploy

bash <(curl -s https://raw.githubusercontent.com/marksugar/lvs/master/dr/lvs-dr-deploy.sh|more)

haproxy

curl -Lk https://raw.githubusercontent.com/marksugar/Maops/master/haproxy/scripts/install.sh|bash

keepalived

部署:

bash <(curl -s  https://raw.githubusercontent.com/marksugar/lvs/master/keepliaved/install.sh|more )

而后根据提示,输入角色是MASTER或者BACKUP,以及VIP

[root@linuxea ~]# bash <(curl -s  https://raw.githubusercontent.com/marksugar/lvs/master/keepliaved/install.sh|more)
You install role MASTER/BACKUP ?
         please enter(block letter):MASTER
Please enter the use VIP: 172.16.100.1

如果有必要,你需要放行iptables

sed -i '/-A INPUT -j REJECT/i\-A INPUT -p 112 -j ACCEPT' /etc/sysconfig/iptables
systemctl restart iptables

redis-cli

curl -Lk https://raw.githubusercontent.com/marksugar/Maops/master/redis-cli/install.sh|bash

mariadb-cli

curl -Lk https://raw.githubusercontent.com/marksugar/Maops/master/mariadb-client/mariadb-cli.sh |bash

nginx

bash -s nginx用户名 nginx版本号

curl -Lk https://raw.githubusercontent.com/marksugar/Maops/master/nginx/nginxInstall.sh|bash -s www 1.16.0

php

bash -s php用户名 php版本号

curl -Lk https://raw.githubusercontent.com/marksugar/Maops/master/php/php7/phpInstall.sh |bash -s www 7.3.8

maops's People

Contributors

marksugar avatar

Stargazers

 avatar  avatar

Forkers

lirulei

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.