Skip to content

Bash scripts to automate server provisioning and maintenance.

License

Notifications You must be signed in to change notification settings

carmelosantana/shellper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shellper

Ubuntu 20.04, 22.04 License

Web centric DevOps tool box.

Shellper screenshot

Features

  • Simple single file script
  • Auto-complete commands via rlwrap
  • Run local or install globally

Install

One line install.

wget -O - https://raw.githubusercontent.com/carmelosantana/shellper/master/install.sh | sudo bash

Alternatively you can clone the repository and run Shellper locally.

git clone https://github.com/carmelosantana/shellper.git shellper
cd "shellper"
chmod +x shellper.sh

Uninstall

  1. rlwrap is the only dependency installed by install.sh. Uninstall with:

    sudo apt remove rlwrap
  2. The installer copies a single script. This can easily be removed with:

    sudo rm /usr/local/bin/shellper

Use

Run

  1. Run global

    shellper

    or local script

    ./shellper.sh
  2. Start typing a command.

    If installed via install.sh rlwrap will enable auto-complete.

Include

You can include Shellper in your existing scripts or build entirely new scripts with just Shellper functions.

#!/bin/bash
source shellper.sh

Examples

Quick LAMP

#!/bin/bash
git clone https://github.com/carmelosantana/shellper
cd shellper/examples
chmod +x install-lamp.sh
./install-lamp.sh

sudo or root access is required for install.

Provisions a simple performance oriented PHP web server.

The following will be installed and configured:

  • Add Ondřej Surý PPA for latest stable releases
  • Apache
    • Enables mod_event
  • PHP
  • PHP-FPM
  • User prompt to select MariaDB or MySQL
  • Postfix

Support

Contact for commercial support.

Funding

If you find this project useful or use it in a commercial environment please consider donating today with one of the following options.

  • PayPal
  • Bitcoin bc1qhxu9yf9g5jkazy6h4ux6c2apakfr90g2rkwu45
  • Ethereum 0x9f5D6dd018758891668BF2AC547D38515140460f
  • Tron TFw3D8UwduZJvx8J4FPPgPVZ2PPJfyXs3k

License

The code is licensed MIT and the documentation is licensed CC BY-SA 4.0.