My DevOps Journey, The Start

I plan to document steps in my new role as a DevOps Engineer from the principles, practises and techniques, through to researching and learning new tools and how we implement all this in the company I work for. My career in IT started as an Analyst Programmer working in VB6, several further development positions followed creating applications in VB.Net and […]

Git repo and Visual Studio 2017

When using Git as the source control system within Visual Studio, if you use a different location to create your local repos than the default it can be a pain to amend it each time. This post will show how the default repo location can be updated… The default location for Git repos in Visual Studio is:C:\users\<user name>\Source\Repos If you […]

Ansible – Part 1

Ansible is one of several tools that can be used for configuration management, this post provides some notes on the various roles that Ansible can perform as well as how it works. For an introduction to Puppet, take a look at my post – “Puppet – Introduction“. So, what is Ansible – what does it do? It can take care […]

*nix – check disk space

If you’ve tried to use ls -lh to get the size of a directory and it’s content, you’ll have found that it doesn’t give you what you were hoping for. One method to get the size of a directory, including files, sub-directories and their files is to use du (disk usage). du -sch The switches in the above example are:-s(–summarize)displays […]

More user admin in *nix

Following on from a much earlier post about user administration in Solaris, I have found a few other tasks that may be fairly common requirements. To change a users login nameusermod -l <new username> <old username>e.g. usermod -l john.knight john.knoght “-l” tells usermod that we want to amend the login name. This is useful if, like me, you made a […]

Rename logical & physical MSSQL files

This post will provide guidance on how to amend the logical and physical file names of a MSSQL database.When a copy of a database is restored as a new database, the logical file names will remain the same as the source database.Firstly, check the current logical and physical file names: USE master GO SELECT name AS [Logical_name], physical_name AS [File_Path], […]

SnipIT No 7: Change colour when using “ls”

SnipIT is a series of short blogs containing useful information in an easily digestible format. Listing the files and directories in a PuTTY session when connected to Red Hat recently, I realised how bad the contrast is between the default dark blue on black. To change this to something more usable, we can edit the bashrc file. $ vi ~/.bashrc […]

Puppet – Introduction

Puppet – Introduction Puppet is a configuration management tool which can be help to address the following challenges: Deploying servers with a consistent configuration. Addressing inconsistent configurations (config drift). Application deployment. Automation – as part of CI & CD, get it down faster! Before the likes of Puppet and Chef, SysOps typically would have a repository of scripts used to […]

Docker and Containers: The Big Picture

These are my notes from Nigel Poulton’s course on PluralSight, “Docker and Containers: The Big Picture“. Do check out his videos, he’s an easy guy to listen to and explains the subject matter in a digestible manner. Yo can also follow him on Twitter – @nigelpoulton What are containers? Hypervisor Takes slice of physical server resource to run OS and […]