Vultr's One-Click LAMP application is an easy-to-deploy solution for web development on Linux, Apache, MySQL, and PHP. The One-Click LAMP application is available for CentOS 6, CentOS 7, and Ubuntu Server. After deployment, log in with SSH using the root account and password found on the Server Information page in the customer portal. You have full access to modify this application to suit any development project.
192.0.2.123 is an example IP address.
Connect to the MySQL database server with:
# mysql -u root
The MySQL root password is available in /root/.my.cnf.
To quickly verify that Apache is responding, SSH to the server and use curl
:
# curl -I -k https://localhost
You should see "HTTP/1.1 200 OK" in the output.
The CentOS and Ubuntu flavors of One-Click LAMP use different commands to manage Apache. Use the instructions for your platform.
To start Apache:
# systemctl start httpd.service
To stop Apache:
# systemctl stop httpd.service
To check Apache's status:
# systemctl status httpd.service
To disable Apache on reboot:
# systemctl disable httpd.service
To enable Apache on reboot:
# systemctl enable httpd.service
To start Apache:
# systemctl start apache2
To stop Apache:
# systemctl stop apache2
To check Apache's status:
# systemctl status apache2
To disable Apache on reboot:
# systemctl disable apache2
To enable Apache on reboot:
# systemctl enable apache2
One-Click apps are updated regularly without notice. When launching a One-Click app, you'll receive our latest version. We do not update deployed instances, and you are responsible for keeping the instance up-to-date. If you design an infrastructure based on One-Click apps and need to ensure the same app version in the future, take a snapshot of the initial deployment and create new instances from the snapshot.