Automated LAMP & WordPress Installer Script

Script Automated LAMP & WordPress Installer Script 2025-08-13

No permission to download

WordPress Setup Script​

Copyright holder: AlexFrost
Type: Bash script
Supported distributions:
Ubuntu LTS 24.04


Wp


This Bash script is designed to set up a complete LAMP stack (Apache, MariaDB, PHP) and install WordPress automatically, making the deployment process quick and effortless.

Key features​

  • Full LAMP stack installation: Installs Apache, MariaDB, and PHP with common extensions.
  • Automatic WordPress setup: Downloads the latest version, configures the database, and sets up wp-config.php.
  • Database creation: Automatically creates a WordPress database and user with all required privileges.
  • Clean installation: Removes default Apache files and any previous WordPress installation before setup.
  • Ready to use: After running, you can immediately open your site in the browser and finish WordPress configuration via the web interface.
Ideal for developers, sysadmins, or anyone who needs a working WordPress environment in minutes without manual configuration.

How to Use​

Make the script executable:
chmod +x wp.sh.x
Run the script:
./wp.sh.x
Open:
http://<server-ip-or-domain>/wp-admin
Top