Giter VIP home page Giter VIP logo

syco's Introduction

System Console

System Console (syco) is a collection of installation and management scripts that helps a sysop to administrate his linux servers.

Installation

Clone the repo from github. It's preferred to install it in the /opt folder.

    cd /opt
    git clone https://github.com/systemconsole/syco.git

Setup a proper configuration file, for example

    ln -s  /opt/syco/usr/mod-template/etc/install.cfg /opt/syco/etc/install.cfg

Add private/customized scripts, for example

    cd /opt/syco/usr
    git clone https://github.com/systemconsole/syco-private.git

Let syco install it self.

    /opt/syco/bin/syco.py install-syco

Now you can run the syco script from anywhere, for example.

    cd /root
    syco hardening

If you are member of the syco team, use this to push things back to github.

    ssh-keygen -t rsa
    cat ~/.ssh/id_rsa.pub
    # Insert the output into www.github.com.
    git clone [email protected]:arlukin/syco.git

Contributing to syco

    # Prepare repos
    https://github.com/<username>/syco.git
    git remote add devloper https://github.com/developer/syco.git
    git remote add upstream https://github.com/systemconsole/syco.git
    git fetch
    git branch -r

    # Create local copy of upstream/version-0.2.6
    git checkout upstream/version-0.2.6
    git checkout -b installRsyslog

    # Working on my feature
    git commit -am"Commit 1"
    git commit -am"Commit 2"
    git commit -am"Commit 3"
    git commit -am"Commit 4"
    git push developer -- instalRsyslog

    # Get all the latest branches and their code.
    git fetch upstream

    # Merge your feature
    git merge upstream/version-0.2.7

    # Squash all your commits into one commit.
    git reset upstream/version-0.2.7
    git add .
    git add -u .
    git commit

    # Push back to your own github repo.
    git push developer

    # Login to github and create a pull request.

The flow of the "syco remote-install"

  • Download syco from git
  • On VirtualHost "syco install-local", this should be the only command that needs to be executed by hand. The following commands will be executed automatically.
    • "syco hardening"
    • "syco install-kvmhost"
    • "syco install-fo-tp-install", will install InstallGuest
      • On InstallGuest "syco hardening"
      • On InstallGuest "syco install-cobbler"
      • On InstallGuest "syco remote-install"
        • Look for alive hosts defined in install.cfg
        • Run "syco remote-install xx" on the host alive.
        • Continue until "remote-install" has been executed on all servers.
    • "syco install-guests"
      • Install 2 guests on VirtualHost Web and Mysql

syco's People

Contributors

arlukin avatar mattiashem avatar fareoffice-confluence avatar whscannningfareoffice avatar teskemani avatar kribor 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.