Scripts Bash

Code

bash docker

Personal Project

A collection of BASH) scripts used to administrate local server.

Install

  • These bash scripts are mostly designed to run in a Linux environment, specifically Docker 1.10+ running on Ubuntu 16.04.1.
  • Extract latest version into a directory, say ~/Linux-Scripts, and enter it.

    1
    cd ~/Linux-Scripts
  • Set executable permissions:

    1
    chmod 755 -R ~/Linux-Scripts
  • ~/Linux-Scripts should contain apps, contents folders and a launch.sh file.

Usage / Changelog

0.1

  • Usage:

    1
    2
    3
    4
    5
    6
    Application Comments: [required] <optional>"
    Usage : ./cmd.sh [appType] [app] [profile] <commands..>"
    Example : ./cmd.sh docker samba local"
    SUDO access is required for docker file permissions."
    Available app types are:
    docker, system
  • Example:

    1
    2
    cd ~/Linux-Scripts
    ./launch.sh docker samba local
  • Apps that have support files created in contents folder. (such as a web server’s html files)