linux

June 2, 2021

Adding Another Disk to WSL2

The Windows Subsystem for Linux has fundamentally changed how I develop projects. WSL2 providing native Ubuntu 20.04 cleanly running inside of Windows 10 has been an incredible experience. While many WSL users may be excited for WSLg; I'm just as excited about being able to Mount a VHD in WSL. VHD is a file format which represents a virtual hard disk drive. Typically these files are used with...

learning wsl2 linux storage

Read

September 10, 2020

The Workshop: Run Amazon Linux Locally - php[architect] Magazine July 2019

Amazon Linux 2 is the current generation of Linux provided by Amazon Web Services (AWS) specifically for use in its ElasticCloud (EC2) platform. Amazon Linux evolved out of the Red Hat Enterprise Linux and CentOS ecosystems. If you have used either of these distributions you will feel right at home. Amazon Linux also has the added benefit of support directly from AWS as well as security...

learning packages phparch writing linux

Read

July 12, 2020

Exporting and Importing WSL Linux Distributions on Windows 10

I've recently spent a lot of dedicated time exploring Windows 10 as a development environment. The best part of this process has been becoming familiar with Windows Subsystem for Linux, or WSL. With WSL 2.0 Microsoft is shipping a complete Linux kernel with Windows 10. Getting started with WSL is a few steps through the Windows Features menu to ensure you have enabled WSL services, then into...

learning linux windows wsl

Read

March 6, 2019

Announcing Homestead Fifty Six

The most recent major release of Homestead dropped support for PHP 5.6 and 7.0. While these PHP versions are end of life and will no longer be receiving updates, some developers still need access to these tools. You can certainly use and old version of Homestead but at some point the base box will just be too far out of date and things will start breaking. The solution to this problem is for me...

general laravel linux ubuntu vagrant

Read

November 7, 2018

Adding MySQL 8 support to Laravel Homestead

My friend Beau Simensen has been doing awesome stuff building and streaming his work on astrocasts.com. He's inspired me to start streaming again and last night I spent some time adding a feature to Laravel Homestead to add MySQL 8 as an option. Video from the live stream:

devops linux php projects ubuntu vagrant

Read

April 28, 2018

Testing Homestead Ubuntu 18 .04

WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! DO NOT DO THIS ON YOUR WORKING DEV ENVIRONMENTS THINGS WILL BE BROKEN AND NOT WORK IF YOU DO NOT WANT TO TRIAGE ISSUES DO NOT CONTINUE ** WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!** Want to help test the next base box for Homestead? Run this command to update the base box: From here run: And then tell me...

community laravel linux ubuntu vagrant

Read

February 23, 2018

Laravel Homestead -- The missing manual part 1 -- Site Parameters

In the early days of Homestead there used to be a "params" option at the top level of your Homestead.yaml file. These parameters would be copied into the environment for the virtual machine just like you would set environment variables on your production systems. Laravel ultimately moved to using ".env" files and this feature was removed from Homestead. Some users pushed back and still wanted to...

laravel linux projects ubuntu vagrant

Read

February 6, 2018

Homestead Welcomes Z-Ray by Zend

Since the release of Homestead version 7.1.0 and base box version 5.1.0 Homestead now supports the Zend Z-Ray plugin for PHP 7.2. You can start leveraging the power of Z-Ray in your application with a small changes to your Homestead project. First make sure you have updated Homestead to v7.1.0 of the Homestead repo and version 5.1.0 of the base box. You can check what versions of the base box...

devops laravel linux php projects zend zray

Read

September 25, 2017

How to lose me as a customer

I have been subjecting my twitter followers to some rather cryptic ranting about DigitalOcean (DO) lately. I’ve been a DO customer since February 2016 when I moved from Linode to DO. I don’t do a lot with my virtual private servers (VPS). I host about 15 WordPress installations for various projects (Mostly family and friends sites). I run several command line applications that eat up a chunk...

devops linux projects

Read

July 6, 2017

Install and Configure PHP 7.1 on Cloud 9 Workspaces

July 8th I'm giving a general PHP training day at the Fedex Institute of Technology and because I'm targeting absolute beginners I wanted to use Cloud 9. Cloud 9 is an online editor that gives you a full linux workspace to build your project in. The first thing I noticed was the container Cloud 9 provides is running PHP 5.5. I've created a simple bash script to update PHP to 7.1 and update...

community general linux php projects speaking ubuntu

Read

November 22, 2016

Laravel Homestead Box Updated to 0.6.0

Between the day job and the amazing week I just had at the always great php[world] conference, I finally got around to doing my first Homestead box release. Taylor asked me a couple of weeks ago if I'd be interested in helping build the Homestead box and since the project is near and dear to me I said "Absolutely" The first task was to build the Virtualbox version of the box and that went just...

laravel linux vagrant

Read

October 13, 2016

ZendCon 2016 Laravel Tutorial Information

If you are planning on coming to this tutorial there are a few things you'll want to have pre-installed to make the most of the tutorial. If you want to follow along and run all of the examples you will need to bring a laptop running a current version of Linux or Mac OS. VirtualBox 5.1.x VirtualBox 5.1.x Oracle VM VirtualBox Extension Pack Vagrant 1.8.6 PHP 5.6.x or higher (7 is fine!)...

conferences devops laravel linux speaking ubuntu

Read

September 5, 2016

Madison PHP Conference 2016 -- Dev Environments with Vagrant

I'm excited to be going back to Madison PHP Conference this year to give a tutorial "Create Your Own Local Development Environments With Vagrant". If you are planning on coming to this tutorial there are a few things you'll want to have pre-installed to make the most of the tutorial. If you want to follow along and run all of the examples you will need to bring a laptop running a current...

conferences devops linux speaking ubuntu vagrant

Read

December 8, 2015

Installing PHP 5.6.x on CentOS 5.11

Install Nginx, PHP 5.6.15 and PHP-FPM on CentOS 5.11 I know... I know. But I had to figure it out. So here's what made it happen: Starting Point: Install Extra Repos: Enable Repos and install nginx and php: I had to install php-pear and php-pecl-json before the big install because I was getting warnings: Final Result: Your milage may vary. I hope no one ever needs this.

devops linux php

Read

April 20, 2015

Homebrew PHP and MAMP MySQL socket fun

While setting up a new project in MAMP for my day job I ran into an odd problem trying to run artisan migrations. Running this command: Threw this error: A quick google search came up with this which pointed to: Changing that fixed my issue, but what was the actual cause of the issue? I installed PHP locally using Homebrew, and MAMP is using it's own versions of PHP and since I was...

laravel linux

Read

November 12, 2013

ScreenCloud Issues with Ubuntu 13.10

I didn't realize how much I used ScreenCloud until it broke when I upgraded to Ubuntu 13.10. I went looking for a fix and found some posts talking about installing a deb and running into SDL issues. That seemed like a bad path to try to follow so I went after the github and found this issue. The author has his own repo you can add to get the fixed / working version. tl;dr For xUbuntu 13.10 run...

linux ubuntu

Read

November 11, 2013

Speed up Vagrant Provisioning with vagrant-cachier

At my day job I work on a proprietary CMS written in PHP. I've been working on building our Vagrant box to allow our developers to have local dev environments without us having to use resources on or live server or have to have our own machines configured to run the CMS. Since I can't show you that box, but found a cool way to cut down the ‘vagrant up' time... I'm going to show you this...

linux vagrant devops linux provisioning vagrant

Read

October 16, 2013

Enable M Keys on a Razer Black Widow Ultimate in Ubuntu Linux

I've had my Razer Black Widow Ultimate for a long time now. It's absolutely my favorite keyboard. Here is how I easily mapped the M keys in Ubuntu Linux. Info taken from here and here. Step 1: install the python-usb package: sudo apt-get install python-usb Step 2: Grab blackwidow_enable.py from the link above wget http://finch.am/projects/blackwidow/blackwidow_enable.py Step 3:...

general blackwidow keyboard linux razer ubuntu

Read