|
Deployment scripts have been deprecated and will be unavailable from 31 October 2026. To run setup commands when creating or reinstalling a Server, use the Enable Cloud-init User Data field on the create, reinstall, or change-plan pages instead. See Cloud-config for Linux servers for details. |
Installs Apache, MySQL and PHP before downloading and installing the latest version of WordPress.
The settings below are requested when deploying the script:
| MySQL root Password: |
|---|
This script references the following:
#!/bin/bash -x # <UDF name="db_password" Label="MySQL root Password" /> source <ssinclude StackScriptID=1> system_update postfix_install_loopback_only mysql_install "$DB_PASSWORD" && mysql_tune 40 php_install_with_apache && php_tune apache_install && apache_tune 40 && apache_virtualhost_from_rdns goodstuff wordpress_install $(get_rdns_primary_ip) restartServices