Skip to content
/ lamp Public

Install a complete web server to be used locally.

License

Notifications You must be signed in to change notification settings

kallookoo/lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(L)inux (A)pache (M)ariaDB (P)HP

Important

Currently in development, use it with care and at your own risk.

Available distros

  • Debian (Tested in Virtual Maquine)
  • Ubuntu (It is not tested, but it should work perfectly)

Packages

Packages Version
Apache Latest
PHP User Defined
MariaDB User Defined
phpMyAdmin Latest
MailHog Invalid
Mailpit Latest
mkcert Latest
bind9 System

Configurations

  • Copy config/templates/lamp.bash file to config/lamp.bash and edit for customize the installation.

Optional configurations

  • Copy config/templates/mailpit.env to config/mailpit.env and edit to customize the mailpit.
  • Copy config/templates/config.inc.lamp.php to config/config.inc.lamp.php and edit for customize the phpMyAdmin.
  • Copy config/templates/php.ini to config/php.ini and edit for customize the PHP versions.
  • Copy config/templates/php.ini to config/phpPHP_VERSION.ini and edit for customize the PHP version.

PHP_VERSION must be replaced by the version you want to customize.

Installation

Run the ./install with root user or sudo.

Commands

Command Description
mkcert Create or delete TLS certificates.
lamp Create, delete, enable, disable the domain or restart any service.

Notes

  • The phpMyAdmin, Mailhog and mkcert if installed using the custom script to get the latest version.
  • The mkcert if installed in /opt/mkcert and the original mkcert binary if /opt/mkcert/bin/current.
  • The bind9 only if installed when the TLD if not the localhost.
  • By default when if used the bind9 the file /etc/dhcp/dhclient.conf is modified to add the ip in the nameservers.
  • The "User Defined" version is declared in the configuration file (It is usually the latest) or the one declared in your installation file.
  • The "Invalid" version means that it will be uninstalled for some reason.
  • Because MailHog is abandoned it is replaced by Mailpit.

About

Install a complete web server to be used locally.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published