Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# I install the droplet based Wordpress 1-click on a $5 droplet (1GB mem / 1 CPU) in SFO2 with an ssh key.
# I can successfully ssh into the droplet, and see the unconfigured Wordpess app at the droplet IP.
https://imgur.com/ZqYtmC0
~ ❯ ssh root@138.68.48.168
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-58-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Nov 19 19:44:17 UTC 2019
System load: 0.0 Processes: 94
Usage of /: 6.1% of 24.06GB Users logged in: 0
Memory usage: 31% IP address for eth0: 138.68.48.168
Swap usage: 0%
0 packages can be updated.
0 updates are security updates.
********************************************************************************
Welcome to DigitalOcean's One-Click WordPress Droplet.
To keep this Droplet secure, the UFW firewall is enabled.
All ports are BLOCKED except 22 (SSH), 80 (HTTP), and 443 (HTTPS).
In a web browser, you can view:
* The WordPress One-Click Quickstart guide: http://do.co/wordpress#start
* The new WordPress site: http://138.68.48.168
On the server:
* The default web root is located at /var/www/html
* The MySQL root password and MySQL wordpress user password are saved
in /root/.digitalocean_password
* The must-use WordPress security plugin, fail2ban, is located at
/var/www/html/wp-content/mu-plugins/fail2ban.php
* Certbot is preinstalled. Run it to configure HTTPS. See
http://do.co/wordpress1804#enable-https for more detail.
* For security, xmlrpc calls are blocked by default. This block can be
disabled by running "a2disconf block-xmlrpc" in the terminal.
IMPORTANT:
After connecting to the Droplet for the first time,
immediately add the WordPress administrator at http://138.68.48.168.
For help and more information, visit http://do.co/wordpress1804
********************************************************************************
To delete this message of the day: rm -rf /etc/update-motd.d/99-one-click
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
This script will copy the WordPress instalation into
Your web root and move the existing one to /var/www/html.old
--------------------------------------------------
This setup requires a domain name. If you do not have one yet, you may
cancel this setup, press Ctrl+C. This script will run again on your next login
--------------------------------------------------
Enter the domain name for your new WordPress site.
(ex. example.org or test.example.org) do not include www or http/s
--------------------------------------------------
Domain/Subdomain name: test
Enabling conf block-xmlrpc.
To activate the new configuration, you need to run:
systemctl reload apache2
Now we will create your new admin user account for WordPress.
Your Email Address: test@no-email.com
Username: test
Password:
Blog Title: Testing
Next, you have the option of configuring LetsEncrypt to secure your new site. Before doing this, be sure that you have pointed your domain or subdomain to this server's IP address. You can also run LetsEncrypt certbot later with the command 'certbot --apache'
Would you like to use LetsEncrypt (certbot) to configure SSL(https) for your new site? (y/n): n
Skipping LetsEncrypt certificate generation
/opt/digitalocean/wp_setup.sh: line 82: break: only meaningful in a `for', `while', or `until' loop
Finalizing installation...
--2019-11-19 19:45:15-- https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.188.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.188.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5568133 (5.3M) [application/octet-stream]
Saving to: ‘/usr/bin/wp’
/usr/bin/wp 100%[=================================================================================================>] 5.31M --.-KB/s in 0.1s
2019-11-19 19:45:15 (45.7 MB/s) - ‘/usr/bin/wp’ saved [5568133/5568133]
Completing the configuration of WordPress.Success: WordPress installed successfully.
Installing WP fail2ban (4.2.7.1)
Downloading installation package from https://downloads.wordpress.org/plugin/wp-fail2ban.4.2.7.1.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Success: Installed 1 of 1 plugins.
Plugin 'wp-fail2ban' activated.
Success: Activated 1 of 1 plugins.
Installation complete. Access your new WordPress site in a browser to continue.
root@wp-nodomain:~# echo $?
0
root@wp-nodomain:~#
@wadenick

This comment has been minimized.

Copy link

wadenick commented Nov 19, 2019

+1, repro here and was not able to induce this issue. May have been transient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.