-
Notifications
You must be signed in to change notification settings - Fork 11
Home
- Amazon EC2 (including Lightsail)
- Azure
- DigitalOcean
- Google Compute Engine
- Linode
- Vultr
At the end of the installation, the following credentials would be provided...
- SFTP username and password (with no access to SSH).
- PhpMyAdmin username and password (see below on how to create or setup PhpMyAdmin URL).
- (optional) SSH username and / or password (with sudo privilege).
Note 1: Root login is disabled by default. The password for root, if any, is still valid (that can be used to login via console, if supported by the host). If you logged-in as root using SSH key, then please use the SSH username supplied at the end of the installation. The SSH user is created with sudo privilege, using the key attached to the root at the time of creation of server.
Note 2: SSH username / password would not be created on servers where there is already an SSH user with sudo privilege! Example: Amazon EC2!
Note 3: SSH password would not be created, if the server was created using a SSH key and you logged into the server as root using that key. Example: DigitalOcean! As mentioned on note #1, the SSH user is created with sudo privilege, using the key attached to the root at the time of creation of server.
Note: This future is not ready. Please ignore the following text. I thought about it as a proof-of-concept and kept it as a note-to-myself.
PhpMyAdmin would be installed automatically on a domain name supplied by you, such as pma_random_string.example.com
or at example.com/pma_random_string
. Please update the DNS of this domain to point to the server and run the following command to set it up on the server...
wpbox-install-phpmyadmin [--force] pma_random_string.example.com
or
wpbox-install-phpmyadmin [--force] pma_random_string.example.com
This command would do the following...
- Check the DNS (A record or CNAME record) of the provided domain with the IPv4 of the server.
- When both do not match, it will repeat the above check every 10 minutes.
- When DNS is updated throughout the internet, an SSL certificate will be automatically installed using CertBot and PhpMyAdmin would be served on the provided domain.
- The server will automatically update PhpMyAdmin when there is a new version.
- You may force installation of PhpMyAdmin by using the option
--force
(when there are multiple IPs attached to the server and the script doesn't find the correct IP address of the server or the supplied domain name). - There is no way to force the installation of PhpMyAdmin on port 80. Sorry!