GithubHelp home page GithubHelp logo

centos-sa's Introduction

centos-sa

centos系统初始化及nmp一键安装脚本

安装

默认安装:
curl -sk https://raw.githubusercontent.com/RickieL/centos-sa/master/install.sh | sh -s " -N -M -P "

自定义安装:
curl -sk https://raw.githubusercontent.com/RickieL/centos-sa/master/install.sh | sh -s " -u myname -p mypass -N -M -P -S -A"

其中:
-u 指定用户名
-p 指定密码
-N 表示安装nginx
-M 表示安装MySQL
-P 表示安装php
-A 表示安装phpMyAdmin
-S 表示安装svn

不需要安装的项目,去掉其选项就可以,如上的命令,去掉了phpMyAdmin的安装

todo-list

  • √ phpmyadmin
  • √ 安装脚本
  • √ 编译版,全部从线上下载软件包
  • 安装版,其中安装版不需要进行编译,直接rpm包安装
  • √ 参数选择安装需要的包 nginx mysql php svn pma
  • √ 分成2个脚本,系统初始化脚本和nmp安装脚本
  • 默认vim的配置文件 (每个人需求不一样,系统默认配置适合当前使用)
  • 默认bashrc配置 (每个人需求不一样,系统默认配置适合当前使用)
  • √ 应用打包脚本, 需要清理日志
  • √ 默认普通用户为: yongfu 默认密码:pass123
  • √ 可自己配置用户 -u myname -p mypass
  • 也可以跳过用户设置和ssh配置, 为已经设置了普通用户和配置了ssh的用户准备
  • √ 全局配置文件 bin/confile, 由gen-confile.sh生成

centos-sa's People

Contributors

rickiel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

845049351

centos-sa's Issues

请教一个关于ngx_lua_waf黑白名单支持IP地址段的问题!

RickieL你好!不好意思在这里提了一个不相关的问题。
想请教下你关于ngx_lua_waf的ip黑白名单地址段的这个功能您实现了吗!
在ngx_lua_waf项目哪里看到你提交的代码,假如我需要实现这个功能,需要把代码添加到哪里呢?
希望能够得到你的回复,万分感谢!!

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.