Giter Site home page Giter Site logo

shell_tools's Introduction

shell_tools

shell_tools用于快速构linux系统环境。 建新linux或ubuntu系统时常常需要部署环境而浪费大量时间,这个脚本可以一键生成系统环境。

  • 只需要运行 bash installer.sh 就能自动挂机部署包括
  1. 更新yum/apt源
  2. 安装jdk1.8/11稳定版
  3. 安装docker并更新为国内源
  4. 安装python conda环境、并替换国内源
  5. 安装mysql5.7,并启动到3366,基于docker,可自定修改参数。
  6. 安装mariaDB10.3.9,并启动到3306,基于docker,可自定修改参数。
  7. 安装nginx,并启动到8013,基于docker,可自定修改参数。

Ubuntu 20.04.1 x64 (通过测试)

快速开始

  1. https://github.com/modderBUG/shell_tools.git
  2. cd shell_tools/ubuntu2004env
  3. sudo su root 必须以root运行。
  4. bash installer_apt.sh 等待完成!

说明

  • installer_apt.sh 为总安装程序
  • condaConfig.sh 为conda和python配置环境变量的程序,进配置环境。不下载conda,下载逻辑在installer里
  • nginxConfig.sh 为配置nginx程序,可单独调用

Linux cent os 7.9

  • condaConfig.sh

    用于更换linux和windows的pip和conda源,

  • nginxConfig.sh

    用于快速安装和配置docker下nginx环境,必须已安装docker

  • installer_yum.sh

    centOS7下快速

目前问题

  1. 最后一步安装完conda环境之后仍需要交互安装,但此时已经不在下载组件,因此可以接收。
  2. 没有异常处理,因此必须在有网络环境、root权限下运行。

shell_tools's People

Contributors

modderbug avatar

Watchers

 avatar

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.