Month: May 2019

[OSX] How to install ssh-askpass for OS X/macOS

You can install ssh-askpass using Homebrew, this method also works on the latest Mojave 10.14.5 version.

 

[PHP] How to return IP address of a host / domain

Here is a quick solution written in php that you can use to determine the current IP address of a given webhost/domain.

[Linux] Install WordPress on Ubuntu Server with add-on features as HTTPS support, SSL certificate and HTTP2 supports

Enable HTTPS supports:

Create a ssl-params.conf file and add the following definition below to it, then save it.

Next thing to do is create a backup of the original default-ssl.conf file.

Then modify it accordingly, we are deploying a wordpress site in this particular example we use the following adjustments.

Enable HTTP2 supports:

It is also recommended adding strong ciphers for Apache to increase SSL Security on the server.
Part of my Best Practices to deploy a secure webserver, virtual personal server or database serve is to add the recommended ciphers from Cipherli.st.

Install Oracle Java 12 on Ubuntu

You need to add the PPA. (Surce: “Linux Uprising” team)
Install:

For multiple java versions, install [or uninstall] oracle-java12-set-default package to set [or not] Java 12 as default.
Verify:

Remove it: … use the following command if you need to uninstall it: