Arch Linux WordPress XAMPP
A no-bullshit WordPress installer for Arch Linux that actually works. No fancy promises, just straight-up functionality.
Made with ❤️ by ✨ TheApptimizer ✨
This script does one thing and does it well: it installs WordPress on your Arch Linux system using XAMPP. That's it. No magic, no bullshit.
- 🚀 A working WordPress installation
- 🎨 A clean, user-friendly interface
- 🔄 Multiple installation modes
- 🛡️ Basic safety checks
- 📦 Automatic dependency management
- ❌ Automatic database creation (because that's your job)
- ❌ Automatic wp-config.php setup (because that's your job too)
- ❌ Magic unicorns that fix your broken system
- ❌ A cure for your terminal phobia
Before you even think about running this:
- Arch Linux (duh!)
- Internet connection (for downloading stuff)
- sudo privileges (don't be a noob)
- Basic terminal knowledge (if you can't use the terminal, go back to Windows)
- Optional: AUR helper (yay, paru, pikaur, or aurman)
bash <(curl -s https://raw.githubusercontent.com/mehedyhassanratul/arch-wordpress-xampp-installer/main/install.sh)
- Clone this shit:
git clone https://github.com/mehedyhassanratul/arch-wordpress-xampp-installer.git
cd arch-wordpress-xampp-installer
- Make it executable (or it won't work, genius):
chmod +x install.sh uninstall.sh
- Run it:
./install.sh
Pick your poison:
-
GUI Mode (Default):
- Pretty dialogs for the GUI lovers
- Visual progress indicators
- For those who can't handle the terminal
-
CLI Mode:
- Text-based interface
- Color-coded output
- For the real terminal warriors
-
Headless Mode:
- No user interaction
- Uses default values
- For automation nerds
-
Auto Mode:
- Fully automated
- No questions asked
- For the lazy ones
--no-gui # Run in CLI mode (because you're not a wimp)
--headless # Run without prompts (for the brave)
--auto # Auto-install with defaults (for the lazy)
--debug # Show verbose logs (for the curious)
If you fucked up and want to start over:
./uninstall.sh
--no-gui # Run in CLI mode
--headless # Run without prompts
--remove-xampp # Remove XAMPP (if you really want to)
--remove-wordpress # Remove WordPress files
--remove-database # Remove WordPress database
--site-folder # Specify WordPress site folder
Examples:
# Remove everything (nuclear option)
./uninstall.sh --remove-xampp --remove-wordpress --remove-database --site-folder my-site
# Remove only WordPress files (if you're not sure)
./uninstall.sh --remove-wordpress --site-folder my-site
# Headless removal (for the brave)
./uninstall.sh --headless --remove-xampp --remove-wordpress --remove-database
After installation, here's how to control XAMPP (because you'll need to):
# Start XAMPP
sudo /opt/lampp/lampp start
# Stop XAMPP
sudo /opt/lampp/lampp stop
# Restart XAMPP
sudo /opt/lampp/lampp restart
If you see a port conflict error:
- The script will detect if ports 80 or 443 are in use
- You can choose to stop the conflicting service
- If you're still having issues, check what's using those ports:
sudo lsof -i :80
sudo lsof -i :443
If you get permission errors:
- Make sure you're running the script with sudo (duh!)
- Check if XAMPP is properly installed
- If you're still having issues, check the permissions:
ls -la /opt/lampp/htdocs/
If GUI mode fails:
- The script will automatically fall back to CLI mode
- Make sure you have a display server running
- If you're in a terminal-only environment, use --no-gui
Found a bug? Want to improve something? Great! Here's how:
- Fork this repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- WordPress team for the amazing CMS
- Apache Friends for XAMPP
- Arch Linux community for being awesome
This script is provided as-is. If you break your system, it's your own damn fault. We're not responsible for your incompetence.
If you can't figure out how to use this script, maybe you should stick to Windows and use XAMPP's Windows installer instead. No shame in that.