When running the apt-get update
command, the process 'hangs' when checking security.ubuntu.com
endpoints.
This is apparantely due to an issue some sites face when trying to connect over IPv6 and whilst it is assumed that this will be
fixed at some point in the future (sooner rather than later judging by the transition to IPv6 by most), the fix below resolves
this issue, allowing the update process to complete successfully.
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( | |
//////Author Parameters - Show posts associated with certain author. |
I was recently tasked with adding PHPMyAdmin to one of our LAMP servers for a 3rd party with little/no ssh knowledge to use in order to access the MySQL database(s). This gist documents how I configured PHPMyAdmin on the LAMP server on a subdomain with an SSL.
Before following this guide, it is assumed that you already have a LAMP server up
Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule />
block) of /etc/apache2/mods-available/pagespeed.conf
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.
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
[ali.md/emoji](http://ali.md/emoji)
:bowtie: | :smile: | :laughing: | :blush: | :smiley: | :relaxed: | :smirk: | :heart_eyes: | :kissing_heart: | :kissing_face: | :flushed: | :relieved: | :satisfied: | :grin: | :wink: | :wink2: | :tongue: | :unamused: | :sweat_smile: | :sweat:
:weary: | :pensive: | :disappointed: | :confounded: | :fearful: | :cold_sweat: | :persevere: | :cry: | :sob: | :joy: | :astonished: | :scream: | :neckbeard: | :tired_face: | :angry: | :rage: | :triumph: | :sleepy: | :yum: | :mask:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |