Important
Currently in development, use it with care and at your own risk.
- Debian (Tested in Virtual Maquine)
- Ubuntu (It is not tested, but it should work perfectly)
| Packages | Version |
|---|---|
| Apache | Latest |
| PHP | User Defined |
| MariaDB | User Defined |
| phpMyAdmin | Latest |
| MailHog | Invalid |
| Mailpit | Latest |
| mkcert | Latest |
| bind9 | Invalid |
| coredns | Latest |
- Copy
config/templates/lamp.bashfile toconfig/lamp.bashand edit for customize the installation.
- Copy
config/templates/mailpit.envtoconfig/mailpit.envand edit to customize the mailpit. - Copy
config/templates/config.inc.lamp.phptoconfig/config.inc.lamp.phpand edit for customize the phpMyAdmin. - Copy
config/templates/php.initoconfig/php.iniand edit for customize the PHP versions. - Copy
config/templates/php.initoconfig/phpPHP_VERSION.iniand edit for customize the PHP version.
PHP_VERSION must be replaced by the version you want to customize.
Run the ./install with root user or sudo.
Note
During the installation, the GitHub API is used, so it is advisable to define the LAMP_CONFIG_GITHUB_TOKEN variable to avoid the rate limit.
| Command | Description |
|---|---|
| mkcert | Create or delete TLS certificates. |
| lamp | Create, delete, enable, disable the domain or restart any service. |
-
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.
-
The CoreDNS replace the bind9 for ease configuration and better performance and only if installed when the TLD if not the localhost.
-
By default when if used the coredns the file
/etc/dhcp/dhclient.confis modified to add the ip in the nameservers. -
The phpMyAdmin, MailPit and mkcert if installed using the custom script to get the latest version.
-
The mkcert if installed in
/opt/mkcertand the original mkcert binary if/opt/mkcert/bin/current.