Install Ubuntu 20.04 LTS on MacBookPro14,1

Ubuntu 20.04 just released and I can’t wait to try it out and install on my MacBook Pro 14.1 model. I am going to tell you what works and what doesn’t work, as well as any workaround to fix those issues. The install steps are simple: Download a copy of ubuntu 20.04 iso image;https://ubuntu.com/download/desktop Get… Continue reading Install Ubuntu 20.04 LTS on MacBookPro14,1

Install php7.2 instead of php5.4 on Amazon Linux 2

Problem: When you start a new Amazon Linux 2 AMI server, and try to install php via command: After install successfully and check the version, you would see php -v PHP 5.4.16 (cli) (built: Oct 31 2019 18:34:05) However, the latest php version is 7.2 and you want to have a new version. Solution: You… Continue reading Install php7.2 instead of php5.4 on Amazon Linux 2

Find and kill process locking specific port on Mac

Problem: Sometimes when you start a local node.js server, it may be stuck running at the background. When you try to start the server again, you will hit error saying that the port (for example 8080) is already is in used and locked: throw er; // Unhandled ‘error’ eventError: listen EADDRIUSE 127.0.0.1:8080 Solution: You can… Continue reading Find and kill process locking specific port on Mac

Install Ubuntu 19.10 on Macbook Pro 13,1

I was frustrated by the macOS Catalina, so I decided to switch to Ubuntu as the main operating system on my MacBook Pro, 13-inch version without touch bar. As a software developer, the macOS bundled a lot of tools with the Xcode which takes up to 10GB of size. Disk space was not my main… Continue reading Install Ubuntu 19.10 on Macbook Pro 13,1