8288分类目录 8288分类目录 8288分类目录
  当前位置:海洋目录网 » 站长资讯 » 站长资讯 » 文章详细 订阅RssFeed

Smash-wall-install

来源:本站原创 浏览:112次 时间:2021-10-14

######################################################

#

###########################################################

# Smash-wall-install   

## 简介

项目名:砸墙

目标:破而后立

支持中英文

shell自动安装,简称Smash-wall ,类似centos的yum或者ubuntu的apt命令

可以一键安装服务,集群,其它类型脚本,可视化工具

Smash-wall 可以对所支持的所有服务进行安装,查看,卸载,自定义编辑

当不符合脚本要求时,会退出并提示如何解决,解决后再次安装即可

## 注意事项
请先进行测试后,再在生产或其他重要场合使用。

当前只支持centos7

当前脚本需要Linux入门知识

## 使用方法

[

下载后
tar -xf Smash-wall.tar.gz

cd Smash-wall-install

chmod +x Smash-wall.sh

./Smash-wall.sh

## 使用自定义安装包

如果想使用其他版本的mysql等服务的安装包,可以将安装包放到package文件夹中

再使用./Smash-wall.sh edit mysql 将get_mysql函数中网址部分替换为安装包名,md5部分替换为相应md5值

可能需要修改脚本的安装步骤

## 设置中文

默认是英文,vim sai.sh 可以修改全局的安装目录,中英文显示

## 查看帮助

## 查看列表

列表分为3部分,应用名,版本,介绍

### 使用tomcat 创建yum 源

将iso文件下面的内容拷到tomcat 一下一个webapps/yum目录下面

所有的机器上面都配置相同的:vi /etc/yum.repos.d/base.repo 

------------------------------------------------------------------------------------------------------------------------------------------------------

[base]
name=CentOS
baseurl=http://192.168.49.128:8080/yum
gpgcheck=1

----------------------------------------------------------------------------------------------------------------------------------------------------------------

yum clean all 

yum list 查看yum的详细信息

## ***第一个安装检查操作系统的命令***

## 安装使用说明:

#### **命令使用:**

#### **获取相应的包**

 sh -x Smash-wall.sh  get cha

#### **安装**

 sh -x Smash-wall.sh  install  cha   此方法为安装

#### **详细说明**

 sh -x Smash-wall.sh  info cha   此方法为安装

### 卸载

 sh -x Smash-wall.sh  remove  cha

安装完成后使用:

cha  

输出内容 

-c Display Chinese

system:CentOS 7.6.1810
cpu:Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
cpu frequency:2711.998
cpu core number:2
architecture: x86_64
digits:64
total memory:3771
remaining memory:3385
swap zone total:2047
total remainder os wap partitions:2047
total boot time:0days, 2:56:50
root partition capacity:37G
root zone residual capacity:34G
ip address:192.168.49.128
host name:localhost.localdomain
current language:en_US.UTF-8
current operation interface border length:33
current operating interface border width:167

如果使用-c输出内容为

默认显示英文

系统:CentOS 7.6.1810
cpu:Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
cpu频率:2711.998
cpu核心数:2
架构: x86_64
位数:64
总内存数:3771
剩余内存:3385
交换分区总量:2047
交换分区剩余总量:2047
总开机时间:0days, 2:57:20
根分区容量:37G
根分区剩余容量:34G
ip地址:192.168.49.128
主机名:localhost.localdomain
当前语言:en_US.UTF-8
当前操作界面边框长:33

----------------------------------------------------------------------------------------------------------------------------

**第一个安装检查操作系统的命令***

下载包: sh -x Smash-wall.sh  get  chinese_font

安装包:sh -x Smash-wall.sh  install   chinese_font

卸载包:sh -x Smash-wall.sh  remove chinese_font

----------------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------------------------------------------

安装jdk

获取相应的包

sh -x Smash-wall.sh  get jdk

安装

sh -x Smash-wall.sh  install jdk

#卸载

sh -x Smash-wall.sh  remove jdk

信息:

sh -x Smash-wall.sh info jdk

----------------------------------------------------------------------------------------------------------------------------------------------------

安装zookeeper

----------------------------------------------------------------------------------------------------------------------------------------------------------------

下载包

sh -x Smash-wall.sh  get zookeeper

安装包 

sh -x Smash-wall.sh  install zookeeper

配置集群

sh -x Smash-wall.sh  install zookeeper_cluster

------

安装kafka

------

下载包

sh -x Smash-wall.sh  get kafka

安装包 

sh -x Smash-wall.sh  install kafka

配置集群

sh -x Smash-wall.sh  install  kafka_cluster

配置集群管理软件

sh -x Smash-wall.sh  install  kafka_manager

安装nginx

------

下载包

sh -x Smash-wall.sh  get nginx

安装包 

sh -x Smash-wall.sh  install nginx

安装redis

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Smash-wall-install/
Smash-wall-install/conf/
Smash-wall-install/conf/installed.txt    
Smash-wall-install/lib/
Smash-wall-install/lib/process.sh
Smash-wall-install/lib/system.sh
Smash-wall-install/lib/test.sh
Smash-wall-install/material/
Smash-wall-install/material/cha
Smash-wall-install/material/man-jenkins
Smash-wall-install/material/man-kafka-cluster
Smash-wall-install/material/man-kafka-manage
Smash-wall-install/material/man-mindoc
Smash-wall-install/material/man-redis
Smash-wall-install/material/man-redis-browser
Smash-wall-install/material/redis_7000.conf
Smash-wall-install/material/redis_browser.yml
Smash-wall-inst����,����all/material/server.properties
Smash-wall-install/material/man-kafka-manager
Smash-wall-install/package/
Smash-wall-install/README.md
Smash-wall-install/script/
Smash-wall-install/script/cha.sh
Smash-wall-install/script/chinese_font.sh
Smash-wall-install/script/mindoc.sh
Smash-wall-install/script/nodejs.sh
Smash-wall-install/script/python.sh
Smash-wall-install/script/jdk.sh
Smash-wall-install/script/jenkins.sh
Smash-wall-install/script/redis_port.sh
Smash-wall-install/script/redis_cluster.sh
Smash-wall-install/script/mysql_single.sh
Smash-wall-install/script/zookeeper.sh
Smash-wall-install/script/zookeeper_cluster.sh
Smash-wall-install/script/kafka.sh
Smash-wall-install/script/kafka_cluster.sh
Smash-wall-install/script/kafka_manager.sh
Smash-wall-install/script/nginx.sh
Smash-wall-install/script/mysql.sh
Smash-wall-install/script/redis.sh
Smash-wall-install/Smash-wall.sh

####################################################################################################

 

  推荐站点

  • At-lib分类目录At-lib分类目录

    At-lib网站分类目录汇集全国所有高质量网站,是中国权威的中文网站分类目录,给站长提供免费网址目录提交收录和推荐最新最全的优秀网站大全是名站导航之家

    www.at-lib.cn
  • 中国链接目录中国链接目录

    中国链接目录简称链接目录,是收录优秀网站和淘宝网店的网站分类目录,为您提供优质的网址导航服务,也是网店进行收录推广,站长免费推广网站、加快百度收录、增加友情链接和网站外链的平台。

    www.cnlink.org
  • 35目录网35目录网

    35目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向35目录推荐、提交优秀网站。

    www.35mulu.com
  • 就要爱网站目录就要爱网站目录

    就要爱网站目录,按主题和类别列出网站。所有提交的网站都经过人工审查,确保质量和无垃圾邮件的结果。

    www.912219.com
  • 伍佰目录伍佰目录

    伍佰网站目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向伍佰目录推荐、提交优秀网站。

    www.wbwb.net