Category: Uncategorized

Setting up Apache and Tomcat with mod_jk on Windows

Setting up Apache and Tomcat with mod_jk on Windows

To be honest, I find it a little pointless to be writing this in the first place, as there are already so many guides on the internet on setting up Apache with Tomcat using mod_jk. In fact, there are better ways, such as using mod_proxy which comes bundled with Apache by default. However, some of …

+ Read More

Installing Ghost as an App in ServerPilot

Installing Ghost as an App in ServerPilot

ServerPilot is great, and I recommend them to anyone. I use their service almost exclusively to manage multiple WordPress installations on a single DigitalOcean droplet with ease. After migrating off of shared hosting, ServerPilot provides a cPanel-esque-type GUI that makes managing multiple sites a breeze. The problem, however, comes when you attempt to run an …

+ Read More

How to Install and Configure Squid Proxy on Ubuntu

How to Install and Configure Squid Proxy on Ubuntu

Though Squid Proxy isn’t particularly difficult to install and get up and running, I hit a few snags during my configuration that I felt would prove useful for someone attempting to do the same thing. First, let’s get Squid installed: apt-get install squid Once Squid is installed, let’s make a copy of the squid.conf file …

+ Read More

Create a menu with options using var_prompt in Ansible

Create a menu with options using var_prompt in Ansible

While creating a provisioning task, I found it difficult to create a “menu-like” structure in Ansible, where you can easily select from a number of options. Various people online recommended janky hacks which involve wrappers in bash. I wanted an Ansible-native solution. This might also fall in the category of “janky”, but I like it …

+ Read More

Provisioning Windows Machines via Ansible

Provisioning Windows Machines via Ansible

While I’m not new to Configuration Management (CM), necessarily, I will admit that I’m slightly outdated (hey, things change fast in the tech world, okay?). Prior to this, my exposure to CM has been limited to Chef or Puppet. Recently, I was tasked with vetting out the various CM tools out there, and began weighing …

+ Read More

Export Outlook/Exchange Contacts to iCloud

Export Outlook/Exchange Contacts to iCloud

For the duration of my time at my current employer, they’ve provided me with a company-owned cell phone (that was also permitted to be used as my personal device). A couple months back, I started looking for new employment opportunities. I accepted an offer with a different company. Separating from the company, I’ve had to …

+ Read More

Create SQL Server User and Add Role via Powershell

Create SQL Server User and Add Role via Powershell

I found a need to create a new SQL Server user, but wanted to automate it. The following script seemed to do the trick for me. You’ll have to install two modules, but the script will take care of that for you as well. Set-PSRepository -Name PSGallery -InstallationPolicy Trusted Install-Module sqlserver -Confirm:$False Install-Module dbatools -Confirm:$False …

+ Read More

How to Perform a Silent Install of SQL Server (or SQL Express)

How to Perform a Silent Install of SQL Server (or SQL Express)

I needed to install SQL Server Express 2016 silently, but the documentation out there wasn’t the best. The trick to installing this silently is to create a ConfigurationFile.ini and then reference that during the install. Luckily for us, the installer creates the Configuration File for us. Download SQL Server I’ve only tested this using the …

+ Read More