<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>howto on {bjørn:johansen}</title>
    <link>https://bjornjohansen.com/tag/howto/</link>
    <description>Recent content in howto on {bjørn:johansen}</description>
    <generator>Hugo -- 0.118.2</generator>
    <language>en-US</language>
    <lastBuildDate>Sat, 10 Jun 2017 15:05:02 +0000</lastBuildDate>
    <atom:link href="https://bjornjohansen.com/tag/howto/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Proper RFC 4122 UUIDs as GUIDs in WordPress</title>
      <link>https://bjornjohansen.com/uuid-as-wordpress-guid/</link>
      <pubDate>Sat, 10 Jun 2017 15:05:02 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:66653238-6436-5933-a535-616665323332</guid> 
      <description>UUIDs (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDentifier), is a string that identifies a piece of information in computer systems. WordPress use GUIDs to identify each individual post, but use URLs (kind of) for GUIDs, and thus does not follow the standard definition (RFC 4122) of a UUID (or GUID).</description>
    </item>
    <item>
      <title>How to perform and mitigate a WordPress session donation attack</title>
      <link>https://bjornjohansen.com/wordpress-session-donation-attack/</link>
      <pubDate>Wed, 22 Mar 2017 15:16:56 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:30626132-3437-5738-b264-633332333961</guid> 
      <description>WordPress doesn’t use a nonce for the login form, which opens up for you to perform a WordPress session donation attack.</description>
    </item>
    <item>
      <title>Encrypt and decrypt a file using SSH keys</title>
      <link>https://bjornjohansen.com/encrypt-file-using-ssh-key/</link>
      <pubDate>Thu, 05 Jan 2017 17:25:41 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:66336266-3565-5336-b932-656134356263</guid> 
      <description>If you have someone’s public SSH key, you can use OpenSSL to safely encrypt a file and send it to them over an insecure connection (i.e. the internet). They can then use their private key to decrypt the file you sent.</description>
    </item>
    <item>
      <title>Block access to PHP files on your WordPress site with Nginx</title>
      <link>https://bjornjohansen.com/block-access-to-php-files-with-nginx/</link>
      <pubDate>Mon, 19 Oct 2015 20:43:56 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:64396231-3165-5362-a165-633364313838</guid> 
      <description>In your WordPress site, there are directories that include PHP files that visitors should never be able to access directly. They are only there for WordPress to function as an application that runs on your server. But because of WordPress’ directory and file structure, they are kind of accessible to the public. All of them are meant to be part of a larger application – WordPress, that is – and should not cause any harm if called directly – that we know. Some of the files execute some code even when ran standalone. An attacker might know of a clever way to make that code run in an unexpected manner, causing harm. To be on the safe side, we should deny access to all these PHP files from the outside world. Since we block access to them in our Nginx configuration, PHP will still run them as usual and WordPress will work just fine.</description>
    </item>
    <item>
      <title>Running HHVM with fallback to PHP-FPM</title>
      <link>https://bjornjohansen.com/hhvm-with-fallback-to-php/</link>
      <pubDate>Wed, 03 Dec 2014 21:57:29 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:37333362-6639-5337-a638-343161393433</guid> 
      <description>HHVM can really speed up your PHP-based web site. Most reports are somewhere in the range of 2–4x faster. Unfortunately, HHVM isn’t very stable and will suddenly die, just of the blue, from time to another. Fortunately, if you’re running Nginx it’s really easy to set up PHP-FPM as a fallback.</description>
    </item>
    <item>
      <title>«Slap-on» speed optimization of your WordPress site</title>
      <link>https://bjornjohansen.com/slap-speed-optimization-wordpress-site/</link>
      <pubDate>Thu, 30 Jan 2014 15:23:00 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:65613136-6138-5639-b764-616435343332</guid> 
      <description>OK, so you might have been at a WordCamp listening to talks or reading a few blog posts and you get that you should really get your WordPress site speed optimized. Starting all over isn&amp;rsquo;t either tempting nor something you have the time for. Don&amp;rsquo;t despair, you&amp;rsquo;ll get a long way by installing 5 plugins.</description>
    </item>
    <item>
      <title>Install latest version of Nginx on Ubuntu</title>
      <link>https://bjornjohansen.com/install-latest-version-of-nginx-on-ubuntu/</link>
      <pubDate>Fri, 16 Aug 2013 16:29:31 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:32656631-6565-5564-b933-633863303366</guid> 
      <description>&lt;img src=&#34;https://www.bjornjohansen.com/content/uploads/2013/08/nginx-300x64.png&#34; alt=&#34;Nginx&#34;
     loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
I always run the latest LTS version of Ubuntu on all my servers. Unfortunately, the Nginx versions tend to be quite the bit behind the current release. So how do you get an updated, current version of without resorting to having to maintain the packages yourself? Luckily, the Nginx team have their own Ubuntu apt repository so it’s easy to keep current with the latest version of Nginx.</description>
    </item>
    <item>
      <title>Install latest version of PHP on Ubuntu</title>
      <link>https://bjornjohansen.com/install-latest-versions-of-php-and-apache-on-ubuntu/</link>
      <pubDate>Fri, 16 Aug 2013 15:57:19 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:61353530-3031-5633-b438-326662656437</guid> 
      <description>&lt;img src=&#34;https://www.bjornjohansen.com/content/uploads/2013/08/php-logo-300x157.png&#34; alt=&#34;PHP&#34;
     loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
I always run the latest LTS version of Ubuntu on all my servers. Currently the latest LTS is 14.04 which comes with PHP version 5.5, but as of November 2014, the latest stable version is 5.6. So how do you get an updated, current version of PHP without resorting to having to maintain the packages yourself? The answer is in PPA.</description>
    </item>
    <item>
      <title>Publishing WordPress site from development to production server – or moving your WordPress installation from one host to another</title>
      <link>https://bjornjohansen.com/publishing-wordpress-site/</link>
      <pubDate>Mon, 12 Aug 2013 21:20:25 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:34616165-3766-5539-b631-396631393734</guid> 
      <description>&lt;img src=&#34;https://www.bjornjohansen.com/content/uploads/2013/08/wordpress-300x186.png&#34; alt=&#34;WordPress&#34;
     loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
You have finished that WordPress site, and want to deploy it – move it from your test server to the production server where it goes live. But how? WordPress have a famous 5-minute-install, but there is no 5-minute-go-live-script*. I&amp;rsquo;ll show you how in these 5 easy-to-follow steps.</description>
    </item>
    <item>
      <title>Restricting access to WordPress login by IP address</title>
      <link>https://bjornjohansen.com/restricting-access-to-wordpress-login-by-ip-address/</link>
      <pubDate>Sat, 20 Apr 2013 20:15:34 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:33306539-3032-5330-b562-623835343236</guid> 
      <description>If you have a static IP address, like from &lt;a href=&#34;https://www.bjornjohansen.com/setting-up-your-own-pptp-vpn&#34;&gt;your own VPN&lt;/a&gt;, it is very easy to increase your security tremendously. Simply restrict all logins to that IP address.</description>
    </item>
    <item>
      <title>Setting up your own PPTP VPN</title>
      <link>https://bjornjohansen.com/setting-up-your-own-pptp-vpn/</link>
      <pubDate>Sat, 20 Apr 2013 19:04:23 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:66333437-3135-5337-b562-393466663263</guid> 
      <description>When it comes to VPNs, there is the choice between PPTP and OpenVPN. PPTP is pretty quick to setup and works out of the box with most (all?) OSes and devices.</description>
    </item>
    <item>
      <title>Using Jekyll without YAML front matter</title>
      <link>https://bjornjohansen.com/using-jekyll-without-yaml-front-matter/</link>
      <pubDate>Thu, 28 Mar 2013 21:28:22 +0000</pubDate>
       <guid isPermaLink="false">urn:uuid:32393661-3164-5737-a138-306134613135</guid> 
      <description>OK, so I was ready to give Jekyll another shot today. But one thing I’m not that happy with is the need for specifying the YAML front matter on every post. At this point, I’m not really using it for any practical matter.</description>
    </item>
  </channel>
</rss>
