Skip to main content
51
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
Find by file name To perform a find command in terminal use find / -name...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...
Andrew Fletcher
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the command netstat -a | grep tcpIf netstat is not install, then you'll be prompted to run the install script sudo apt install net-toolsResponse Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: net-tools 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 196 kB of archives. After this operation, 864 kB of...
Andrew Fletcher
Error with Nginx When running an Nginx test, the following response was being...
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...
Andrew Fletcher
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file. touch .gitignoreIn the .gitignore file add the following # Hide the DS_Store files **/.DS_StoreHowever, if it's already there, then in Terminal you will need to write: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo git commit -m "Remove .DS_Store" git push origin...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....