Skip to content

The easiest damn way to install WordPress on Arch Linux with XAMPP. GUI? ✅ CLI? ✅ Offline? ✅ Sexy output? ✅ Built for real humans

License

Notifications You must be signed in to change notification settings

mehedyhassanratul/arch-wordpress-xampp-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordPress XAMPP Installer for Arch Linux

Arch Linux WordPress XAMPP

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 ✨

🎯 What This Does

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.

What You Get:

  • 🚀 A working WordPress installation
  • 🎨 A clean, user-friendly interface
  • 🔄 Multiple installation modes
  • 🛡️ Basic safety checks
  • 📦 Automatic dependency management

What You Don't Get:

  • ❌ 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

📋 Requirements

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)

🚀 Installation

Quick Install (For the Impatient)

bash <(curl -s https://raw.githubusercontent.com/mehedyhassanratul/arch-wordpress-xampp-installer/main/install.sh)

Manual Install (For the Paranoid)

  1. Clone this shit:
git clone https://github.com/mehedyhassanratul/arch-wordpress-xampp-installer.git
cd arch-wordpress-xampp-installer
  1. Make it executable (or it won't work, genius):
chmod +x install.sh uninstall.sh
  1. Run it:
./install.sh

🎯 Usage

Installation Modes

Pick your poison:

  1. GUI Mode (Default):

    • Pretty dialogs for the GUI lovers
    • Visual progress indicators
    • For those who can't handle the terminal
  2. CLI Mode:

    • Text-based interface
    • Color-coded output
    • For the real terminal warriors
  3. Headless Mode:

    • No user interaction
    • Uses default values
    • For automation nerds
  4. Auto Mode:

    • Fully automated
    • No questions asked
    • For the lazy ones

Command Line Options

--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)

🗑️ Uninstallation

If you fucked up and want to start over:

./uninstall.sh

Uninstaller Options

--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

🔧 XAMPP Control

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

🐛 Common Issues and Solutions

Port Conflicts

If you see a port conflict error:

  1. The script will detect if ports 80 or 443 are in use
  2. You can choose to stop the conflicting service
  3. If you're still having issues, check what's using those ports:
sudo lsof -i :80
sudo lsof -i :443

Permission Issues

If you get permission errors:

  1. Make sure you're running the script with sudo (duh!)
  2. Check if XAMPP is properly installed
  3. If you're still having issues, check the permissions:
ls -la /opt/lampp/htdocs/

GUI Mode Issues

If GUI mode fails:

  1. The script will automatically fall back to CLI mode
  2. Make sure you have a display server running
  3. If you're in a terminal-only environment, use --no-gui

🤝 Contributing

Found a bug? Want to improve something? Great! Here's how:

  1. Fork this repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • WordPress team for the amazing CMS
  • Apache Friends for XAMPP
  • Arch Linux community for being awesome

Made with ❤️ by ✨ TheApptimizer ✨

⚠️ Disclaimer

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.

About

The easiest damn way to install WordPress on Arch Linux with XAMPP. GUI? ✅ CLI? ✅ Offline? ✅ Sexy output? ✅ Built for real humans

Topics

Resources

License

Stars

Watchers

Forks

Languages