Automated Linux Package Installer for CentOS 7
Slingshot is a script to automate the installation and configuration of Linux software packages. Slingshot has and uses a template/messaging system.
You can use Slingshot to create custom server setups by writing script modules. Script modules should start by copying and modifying the Slingshot script temple module.
Slingshot was designed to be extended by simply adding new modules. Module scripts are added to a run queue and executed in (FIFO) order. You can create/add your own modules that customize package installation and/or configurations.
The use of modules allow you to extend or modify the system setup in ways that suit your particular needs.
The Slingshot base installs and configures the (Apache, MariaDB, PHP and NTP) packages and is a basic “LAMP” system.
Below is the list of files that make up the base install of Slingshot. This list is the minimum set of files needed for a basic Slingshot (LAMP) installation.
File | Description |
---|---|
settings | Custom settings file, unique to your setup. |
install | Starts the local installation from a Linux system. |
setup | This script is started by install script stated above or can be started manually. |
installer | The module that queues scripts that get installed on the host target system. |
user | Sets up the default user account on the target system. |
ntp | Installs and configures the NTP client. |
network | Configures the network interface and network settings. |
httpd | Installs and configures the Apache Web Server. |
mariadb | Installs and configures the MariaDB SQL Server. |
php | Installs and configures PHP. |
constants | Constants used for controlling program execution and error handling. |
functions | Helper functions used by various scripts. |