unifyprojects/lazy-sysadmin

Execute SH Files from the current directory

0.2.5 2018-12-31 18:01 UTC

This package is auto-updated.

Last update: 2024-10-29 05:34:28 UTC


README

A tool for lazy sysadmins.

Requirements :

  • PHP 7.1 or higher

Installation :

Locally :

Download lazy-sysadmin and store it somewhere in your computer

Globally (manual)

You can run these commands to easily access lazy-sysadmin from anywhere on your system:

$ wget https://github.com/unifyprojects/lazy-sysadmin/releases/download/0.2.5/lazy-sysadmin -O lazy-sysadmin

or with Curl

$ curl -L https://github.com/unifyprojects/lazy-sysadmin/releases/download/0.2.5/lazy-sysadmin -o lazy-sysadmin

then:

$ sudo chmod a+x lazy-sysadmin
$ sudo mv lazy-sysadmin /usr/local/bin/lazy-sysadmin

Then, just run lazy-sysadmin.

Globally (Composer)

To install LazySysAdmin, install Composer and issue the following command:

$ composer global require unifyprojects/lazy-sysadmin

Then make sure you have the global Composer binaries directory in your PATH. This directory is platform-dependent, see Composer documentation for details. Example for some Unix systems:

$ export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage :

$ cd /path/to/sh/scripts
$ lazy-sysadmin

Compile from source :

Requirements :
$ git clone https://github.com/unifyprojects/lazy-sysadmin.git
$ cd lazy-sysadmin
$ composer install
$ box compile
$ sudo chmod a+x lazy-sysadmin
$ sudo mv lazy-sysadmin /usr/local/bin/lazy-sysadmin