24th May 2022 How to create Alias command in Linux Alias commands in Linux are a great way to speed up your workflow. In this post, I will show you how to create Alias command in Linux. What is an Alias command? An Alias command is a shortcut to another command. Alias commands are useful when you need to write a long command multiple times. […]
9th May 2022 WSL vs Dual Boot speed test In this experiment, I will be using WSL2 running Ubuntu 20.04 and Ubuntu 20.04 dual-booted on the same Dell XPS. Is there a noticeable difference? Follow along for the results of the WSL vs Dual Boot speed test. If you are like me and use different development environments a lot, you may find the results […]
4th April 2022 Start WSL2 services on Windows startup In some circumstances, you may want to automatically start your WSL2 (Windows Subsystem for Linux) services on Windows startup such as Apache2, Nginx, and MySQL. Follow along below to learn how to start your services when you boot your machine. Create a startup script The first step is to create a startup script. This is […]
24th March 2022 The Ultimate guide to create Apache2 Virtual Hosts (2022) In this post, I will be creating Virtual Hosts for Apache2 on WSL2 (Windows Subsystem for Linux). Follow along with this Ultimate guide to create Apache2 Virtual Hosts. The steps in this tutorial can be carried over onto any environment running Apache2. What we’ll cover Creating the directory structure Creating a symbolic link in Ubuntu […]
7th May 2021 [UPDATED 2022] Change PHP version on Ubuntu, Linux In this post, I will show you how to change PHP version on Ubuntu, Linux. This also works on WSL. Follow this guide to set up Windows Sub System for Linux. What will be covered: Change PHP version for Apache2 Change PHP version for Nginx Change PHP CLI version For this example, we will be […]
2nd March 2021 How to Upload and Download files to and from a Linux server over SSH Its common place to need to upload and download files to and from a remote Linux server. To upload and download files from a remote Linux server you can use the scp (secure copy) command. To download a file you can use: To upload a file you can use: scp /path/to/file/your/uploading username@ip-or-server-name:/path/to/location/to/upload/to Note: It is […]
2nd March 2021 How to generate an SSH key and add to authorized_keys In this article we explain how to generate a SSH key for your local machine and add your public key to the authorized_keys on a remote server. Generate an SSH key for Windows, MAC and Linux Note: If you are using Windows, we recommend you use a SSH client like PuTTY. For MAC/Linux run: ssh-keygen […]
12th June 2019 The ULTIMATE guide to setup Windows Subsystem for Linux (WSL) with Ubuntu, Apache2, MySQL and PHP Windows is now good for development! Yes! All thanks to Windows Subsystem for Linux (WSL). No more WAMP or Xampp, WSL can do everything you need. In this ultimate guide to setup Windows Subsystem for Linux with Ubuntu, Apache2, MySQL, and PHP we will cover: What is Windows Subsystem for Linux? Setting up Windows Subsystem […]