Giter Site home page Giter Site logo

os_init's Introduction

os_init 操作系统初始化

适用

CentOS 6.5等

功能说明

通常在操作系统安装完成时执行,例如配置DNS、配置YUM源、Bash审计、时间同步、系统内核参数调优、ulimit调优、SSH优化、安全配置等。
具体见lib/scripts目录下的脚步

使用方法

Usage: python os_init.py [options]  

Options:  
   -h, --help            show this help message and exit  
   -f FILE, --file=FILE  path of config file,must  
   -g GROUPS, --groups=GROUPS  
     which groups to use,when no set,use the field 'groups'  
     in config file as default  

举例说明

# python os_init.py -f etc/os_init.conf
1)读取etc/os_init.conf配置文件,注意配置文件中设定的脚本路径为相对路径
2)应用配置文件中default组

注意

所有配置的脚本,以串行的方式执行。
任何问题,可以加QQ86877295交流^_^

os_init's People

Contributors

qiueer 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.