Skip to content

Instantly share code, notes, and snippets.

View timothyleung1's full-sized avatar
💭
Shiba style

timothyleung1

💭
Shiba style
View GitHub Profile
@timothyleung1
timothyleung1 / letsencrypt-wordpress-setup.md
Created February 9, 2019 23:57 — forked from harryfinn/letsencrypt-wordpress-setup.md
Instructions on how to setup a Letsencrypt SSL certificate on a WordPress site

Letsencrypt (for WordPress sites)

Note: This setup assumes you are running Ubuntu 16.04 OS with Apache 2.4.23, older versions of Ubuntu (i.e. 14.04) require minor configuration changes in order for this setup to work.

Setup

Follow the install instructions for certbot (letsencrypt's SSL manager) on https://certbot.eff.org/, making sure to select the correct server OS version.

Note: You only need to complete the Install section, then return to this README in order to setup your SSL

public void testMe() {
ClassLoader cl = this.getClass().getClassLoader();
try {
//Class c = cl.loadClass("java.lang.ProcessBuilder");
Class c = Class.forName("java.lang.ProcessBuilder");
// Class cls[] = new Class[] { String.class };
java.lang.reflect.Constructor a = c.getConstructor(java.util.List.class);
java.util.List<String> l = new ArrayList<String>();
l.add("touch");
l.add("/tmp/HappyCat");