This post talks about how you can install Linode Longview on Fedora 28. Why doesn’t the standard instructions work? It turns out that you cannot just install Linode Longview on Fedora 28 as it isn’t a supported operating system. When running the automatic install script the following error will appear. Failed to synchronize cache for
This post documents the process of installing a Root Certification Authority on Fedora 28. Adding a Root Certificate Authority to Fedora 28 First you must obtain the PEM file for your root certificate. This will either need to be created by you or will be given to you by your organisation. This is the certificate
Firefox, unlike many other applications, keeps a store of its own trusted root certificate authorities. This means that adding a new root certificate to the operating system will not work. This post runs through how to add a new root certificate to Firefox.
I was looking to add shared folders to my Fedora VM but during mounting them there was an error. The error “access denied” appeared each time I attempted to mount the volume. This post explains why this happens and what you can do to fix it.
A slight deviation from my normal weekly posts to announce that the most recent update to chewett.co.uk has been uploaded! I have added a couple of pages including: Contact me page – A simple page with the easiest way contacting me Legal Stuff – Includes the software licence for code snippets on my blog and website
The recommended way to modify a WordPress theme is to use a child theme. This allows redefining all features of the parent theme without manually changing the theme. This post describes why you might want to do this and how to do it.
I am a big fan of Linux and today want to share how you can install the Windows Subsystem for Linux (WSL) on Windows 10. This new feature available in Windows 10 lets you install a Linux bash shell and run various linux tools on Windows. Here I describe how to set up and install
This post describes how to set up a SSL certificate with Certbot on Apache and Fedora. The guide primarily follows the guide on the certbot website however adds some additional information for if auto configuration fails.
A number of years ago I was introduced to using Linux day to day. During this period of time I ran a large number of virtual machines to test its performance and various aspects which make it “linux”. Typically when I first set up a system I would install a common set of packages. Then
This blog post describes how to set up free SSL certificates on a Web Host Manager CPanel server. This requires root access to the server, if you don’t have access to this then you must ask your service provider to install it for you. What is Let’s Encrypt? Let’s Encrypt is in their own words
In MySQL 5.5+ you can abuse a new feature with BIGINT values. This involves a problem called integer rollover and your ability to run arbitrary SQL. The problem of integer rollover Integer rollover happens when a number is too big or small and is made bigger/smaller. In the case where the number is the highest
It appears newer linux sshd configs (fedora 22) by default include a smaller set of key exchange based mechanisms that they have turned on. This means that it gives errors saying it is unable to connect to the server. To fix this you need to enable some of the older key exchange mechanisms, Adding this line
I have always wondered this, its exceptionally hit and miss and there isnt any real standards. I recently found the reason on the internet Well, there were other factors in play there. htmlspecialchars was a very early function. Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to
How to add a user to a group in Linux usermod -a -G Its a simple as that. So for me adding the user “chewett” to the user “vboxusers” i run the command usermod -a -G vboxusers chewett The -a flag means that the new group is appended, without it you will overwrite your current
To find the location of GeoIP for PHP you can ssh into the server and use the “find” command. find / -iname GeoIP.dat Will return a list of file paths where the file with this name is found. In my case I found: /usr/share/GeoIP/GeoIP.dat /usr/local/share/GeoIP/GeoIP.dat /opt/geoip/share/GeoIP/GeoIP.dat In my case the bottom link was the one
Vim is a wonderful command line text editor with syntax highlighting and everything you could ask for provided you turn on the functionality. Recently i was shown that it was also show trailing whitespace with a quick addition to the .vimrc file. All you need to do is add the following: set list set listchars=tab:→\
Since i reinstalled my laptop a couple of weeks ago the sound of many applications randomly got reduced requiring me to go into the sound mixer to restore the levels. I noticed this most often when i plugged in my iPhone into the computer. Since i initially thought this was related to my iPhone in
I’m relatively surprised that I hadn’t heard of her before a couple of weeks ago. While discussing small loop optimizations with some friends someone referenced her nanoseconds video (see below). This short video explains quite simply, the concept of a nanosecond. After seeing her talk about nanoseconds, I went to research her a bit further