ABillS auto installer
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
plugins
tests
.gitignore
LICENSE
alib.sh
install.sh
readme.md

readme.md

Installer for ABillS based on plugin system

ver. 5.11

Installing:

  • ABillS
  • MySQL
  • FreeRadius
  • Apache
  • Accel-PPPoE
  • Flow-tools
  • Fsbackup
  • MRTG

Plugins are structured as plugins/Distributive_Version_Arch

As of version 5.05 it can guess your system. If guessed wrong, use ''-p'' key

# ./install.sh -p centos_7_x64

If you want avoid tmux session use ''--in_tmux'' key

# ./install.sh --in_tmux

Plugin Format

Section Example
#OS OS_NAME OS_VERSION #OS freebsd 10
#COMMENTS comments for plugin #COMMENTS CentOS comment
#M [module_name]:[module describe]:[command] #M mysql:MySQL:_install_mysql

As command you can use shell command like pkg install www or shell function: shell_function

Inside plugin you can use these functions to execute custom commands.

pre_install() executes before installing modules
post_install() executes after full installation (before autoconf)

Plugin execution flow

Pre install
Install programs
Post install
Run misc/autoconf
Show result

Installer uses autoconf for module configuration and defining system startup.