unifyprojects / lazy-sysadmin
Execute SH Files from the current directory
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1
- league/climate: ^3.4
- symfony/finder: ^4.2
- symfony/process: ^4.2
This package is auto-updated.
Last update: 2024-11-29 05:44:51 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