{"id":15026807,"url":"https://github.com/brainhub24/lampstack","last_synced_at":"2025-12-27T18:38:52.883Z","repository":{"id":256088725,"uuid":"854293611","full_name":"Brainhub24/LAMPSTACK","owner":"Brainhub24","description":"A professional lamp stack installer","archived":false,"fork":false,"pushed_at":"2024-09-09T19:31:28.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T03:15:33.588Z","etag":null,"topics":["apache","database","developer-tools","distro","docker","fail2ban","firewall-configuration","firewalld","installer-script","lamp","lapp","lemp","lets-encrypt","mariadb","nginx","php","php8","postgressql","redhat","ssl"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brainhub24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-08T22:06:28.000Z","updated_at":"2025-02-23T19:53:57.000Z","dependencies_parsed_at":"2024-09-08T23:30:49.055Z","dependency_job_id":"98f68eba-176f-4a1f-bf89-728b94f33159","html_url":"https://github.com/Brainhub24/LAMPSTACK","commit_stats":null,"previous_names":["brainhub24/lampstack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainhub24%2FLAMPSTACK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainhub24%2FLAMPSTACK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainhub24%2FLAMPSTACK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brainhub24%2FLAMPSTACK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brainhub24","download_url":"https://codeload.github.com/Brainhub24/LAMPSTACK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330319,"owners_count":20274039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","database","developer-tools","distro","docker","fail2ban","firewall-configuration","firewalld","installer-script","lamp","lapp","lemp","lets-encrypt","mariadb","nginx","php","php8","postgressql","redhat","ssl"],"created_at":"2024-09-24T20:05:10.590Z","updated_at":"2025-12-27T18:38:52.846Z","avatar_url":"https://github.com/Brainhub24.png","language":"Shell","readme":"# LAMPSTACK\n\n![LAMP Stack Installer](https://img.shields.io/badge/LAMP-Stack-blue.svg) ![License](https://img.shields.io/github/license/brainhub24/LAMPSTACK) ![Version](https://img.shields.io/badge/version-1.3.0-green.svg) ![About](https://img.shields.io/badge/Status-Unstable-red)\n\nA professional installer script for deploying LAMP, LAPP, and LEMP stacks on RedHat-based distributions like Rocky Linux, CentOS, and others. This script simplifies the installation of a robust stack, allowing you to choose between Apache or Nginx for your web server, and between MariaDB or PostgreSQL for your database. Additionally, it configures PHP, SSL for secure connections, and essential development tools, making it a comprehensive solution for your development needs.\n\nI built this script specifically for my Proxmox environments, ensuring a seamless deployment process.\n\n## Overview\n\nThe `LAMPSTACK` script automates the installation and configuration of the following components:\n\n- **Web Server**: Apache (LAMP) or Nginx (LEMP) based on user preference\n- **Database Server**: MariaDB (LAMP/LAPP) or PostgreSQL (LAPP/LEMP) based on user preference\n- **PHP**: For dynamic websites and applications\n- **SSL Configuration**: Automatic SSL setup via Let's Encrypt (optional)\n- **Development Tools**: Essential tools like Git, GCC, and Make for development environments\n- **Monitoring Tools**: Netdata for real-time system monitoring and performance insights\n- **Security Tools**: Fail2Ban to protect against brute-force attacks on SSH and web services\n- **Docker**: Optional installation for running containerized applications\n\nThis script makes it easy to deploy a professional LAMP stack on a Rocky Linux container running in Proxmox or similar environments.\n\n## Features\n\n- Simple and flexible: Install a fully-configured LAMP stack in minutes.\n- Choice of web and database servers.\n- SSL configuration using Let's Encrypt for HTTPS.\n- Automated firewall configuration for HTTP/HTTPS services.\n- Killswitch feature for complete deinstallation of all installed components.\n- Includes essential monitoring (Netdata) and security (Fail2Ban) tools.\n\n## How It Works\n\n1. **System Update**: Updates and upgrades the system to ensure stability.\n2. **Web Server Installation**: Option to install Apache or Nginx.\n3. **Database Server Installation**: Option to install MariaDB or PostgreSQL.\n4. **PHP Installation**: Optional PHP installation for dynamic content.\n5. **SSL Configuration**: Optional SSL setup with Let's Encrypt.\n6. **Monitoring \u0026 Security**: Installs Netdata for system monitoring and Fail2Ban for security.\n7. **Docker**: Optional Docker installation for containerized environments.\n8. **Killswitch**: Completely remove all installed components if needed.\n\n## Usage\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/brainhub24/LAMPSTACK.git\ncd LAMPSTACK\n```\n\nRun the Installer\nMake sure you're running the script as root:\n```bash\nsudo bash 0x42.sh\n```\n\nThe script will guide you through various options such as:\n\nSelecting the web server (Apache or Nginx)\nChoosing the database server (MariaDB or PostgreSQL)\nDeciding whether to install PHP\nConfiguring SSL for secure HTTPS traffic\nInstalling optional tools like Docker\nKillswitch (Deinstallation)\nThe script also includes a Killswitch feature. If you want to remove all the installed components, use the following command:\n```bash\nsudo bash 0x42.sh --killswitch\n```\n\n⚠️ Warning:\nThe Killswitch will permanently remove all installed services and data.\nThe process includes user confirmation, and a 30-second countdown can be canceled.\n\nRequirements\nA RedHat-based Linux distribution (Rocky Linux, CentOS, etc.)\nRoot or sudo access to the server\nInternet connection for package downloads\nExample Output\nOnce the installation is complete, you'll see the following access information:\n```bash\nACCESS INFORMATION\n-------------------------------------------------------------------------------\nYour web server is accessible via the following URLs:\n - HTTP:  http://\u003cyour-ip\u003e/\n - HTTPS (if SSL was configured): https://\u003cyour-ip\u003e/\nNetdata (monitoring) is available at:\n - http://\u003cyour-ip\u003e:19999\n\nFor security and monitoring purposes, SSH access is available at the server's IP.\nMake sure to configure SSH keys and use Fail2ban for protection.\n-------------------------------------------------------------------------------\n```\n\nDisclaimer\nThis script is provided as-is without any guarantees or warranty.\nUse it at your own risk. I am not responsible for any damage or data loss caused by using this script.\n\nLicense\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\nAuthor\nCreated by Jan Gebser (Brainhub24)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainhub24%2Flampstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainhub24%2Flampstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainhub24%2Flampstack/lists"}