Quickly install wordpress from the command line using WP-CLI
How to Use the Script
You can run the script in two ways:
- Provide Parameters Directly: If you already know all the details, you can pass them as arguments when running the script. For example:
./install_wp.sh mysite mydb myuser mypass http://mysite.com "My Site" admin adminpass [email protected]
- Interactive Mode: If you prefer a more interactive approach, simply run the script without any arguments. The script will prompt you for the necessary details one by one.
./install_wp.sh