Code Monkey home page Code Monkey logo

serverman's Introduction

serverman Server Setup Tooling

Serverman (server manager) is a framework and tooling around setting up software on servers using Go code.

Why

The goal of serverman is to provide a simple way to install software on a single server and keep it up to date. You declare a configuration of things you want to be installed using Go code. It chooses a statically typed programming language instead of config files to take advantage of the benefits of type checking and compilation. This also allows you to easily add custom logic which is harder to do in a config file based tool. It also makes it possible to use Go modules for importing a specific version of third party config packages.

Should I use it?

If you want to

  • configure the software you want to install in Go
  • manage your config in a Git repository
  • automatically keep your installed packages up to date
  • use a Debian/Ubuntu based Linux distribution

you should give serverman a try.

How does it work?

Starting from a fresh OS install you run a shell script that downloads the serverman bootstrap tool and provide a Git URL to a repository where your personal config is stored.

  • the bootstrap tool sets up a Go toolchain if required
  • it checks out your config repository
  • it builds and runs your config code
  • it regularly checks if new commits can be pulled
  • if there are new commits, it rebuilds the config

For simplicity the tool is stateless and gets all required information from the system every time it runs. It also prefers using CLIs over APIs for ease of debugging and manual testing.

Planned Config Packages

  • apt - install and update Debian packages
  • systemd - manage services
  • download - download files and unpack them
  • git - clone and pull of Git repositories
  • go - install using go get and modules
  • nomad - Hashicorp Nomad client

serverman's People

Contributors

mbertschler avatar

Watchers

 avatar  avatar  avatar

serverman's Issues

apt package

  • check if package is installed
  • check installed package version
  • install package in specific version
  • install updates

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.