Skip to main content
29
results
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the copy [cp] command.  This came about due to 'upgrading' the server from Centos 6 to 7.  Once I had migrated a domain, I ran the following command yes | cp -rf 'stg/core' 'tmpdir'To my surprise, the first run of this command took over 38 minutes to complete.  Crap!  Yes a simple cp -a command is a very painful and slow process.  Read more about the pain and times under Centos 7 in this...
Andrew Fletcher
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your computer to do something.  In this instance, I want to rename a batch files in a directory.  Such as changing:   37351001 - BlueSpotted.jpg 37351008 -SpangledEmporer _ 0133A.jpg 37353003 -Black-Bream_3481 .jpg 37353004   -35 - Yellowfin.jpgInstead having these files appear as: 37351001.jpg 37351008.jpg 37353003.jpg 37353004.jpgHowever, I don't have four files.  Wouldn't be worth my time...
Andrew Fletcher
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers locate and connect to web addresses quickly. If your browser Safari or Chrome still fails to load websites, this can be the result of an obsolete DNS cache may be causing the issue. In this instance you want to focus clearing the cache.  Using Terminal or iTerm2 enter the following command: sudo killall -HUP mDNSResponder 
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
  Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...