Posts

Install Manjaro on Mac Mini 2009 on Virtual Machine

Image
This Linux distribution gave us the most problem. Our advice is to skip this distro if you do not have much time on hand. We encountered many hardware issue such as system hang during boot up and video driver issue. However, we manage to install Manjaro on virtual machine using Parallel and VirtualBox. Installation on virtual machine went smoothly without any issue. It works well on both virtual machine. Download Latest Image Please proceed to Manjaro download site  and download the latest release. We can use the image to prepare USB drive or we can use it to install it in virtual machine. Preparing USB Drive We have downloaded the recommended release for Manjaro. The best method to make USB drive is to use command dd. We have tried the Ubuntu recommended Etcher but it could not boot from the Mac Mini. First, prepared a blank USB. Use any partition software to remove any partition from the USB drive. Next, we need to find the name of the USB drive. In Mac OS X, it is...

Install Elementary OS on Old Mac Mini (late 2009)

Image
This is part of the series on reviving old Mac Mini (late 2009). So far this is the best user experience we have on the Mac Mini. We have tried Linux Mint previously and it gave us very little problem except the Wifi connects intermittently. For elementary OS, the wifi driver works well with the OS. We have a little problem with Bluetooth audio but there is work around available. As far as user experience is concern, this is the most Mac liked OS. Introducing Elementary OS Elementary OS is based on Ubuntu. The main feature for this distro is the Pantheon desktop environment. This is the most Mac liked OS. Preparing for Installation First proceed to the website  https://elementary.io/ and download the iso image. To burn the image to USB, use the open source software, Etcher . You can follow this tutorial on creating USB drive for Ubuntu.  The concept is the same, we just need to replace elementary OS image with Ubuntu image. Booting up the Mac Mini...

Install and Configure OpenVPN on Raspberry Pi

This is a supplement post on setting and configuring OpenVPN. However, we are going to configure OpenVPN on a Raspberry Pi. Download and Install Raspbian OS Download the latest Raspbian OS and burn the image to a SD card using the software Etcher. Once we booted up the Raspberry Pi, we can follow the wizard to set password, enable wifi and update the software. We can also choose to enable ssh and vnc using Raspberry Pi Configuration software. We can also run the configuration software from command line using raspi-config. Install OpenVPN and Easy-Rsa Once the system is updated, we can proceed to install OpenVPN using the command: sudo apt-get install -y openvpn The repository for Raspberry Pi do not have version 3 of easy-rsa. Version 3 of easy-rsa is more easier to use without the need to perform many configuration. To use Easy-RSA version 3, we can download the package from github at the location  https://github.com/OpenVPN/easy-rsa . Once we downloaded and u...

Configuring OpenVPN on AWS EC2 (Update: Jun 2019)

Image
Update Jun 2019 The installation procedure listed below works. However, iOS user may encounter issues while surfing the net when VPN is connected. To resolved this issue, we need to disable compression as it has been decided that compression is unsecure. Please follow the steps below: Remove any compression settings in the server configuration file by adding ; infront of the settings. # disable compression as it is unsecure ;compress lz4-v2 ;push "compress lz4-v2" At openVPN Connect app in iOS, please ensure that compression is disabled. We have updated the server configuration file. Update Aug 2018 When we configure OpenVPN on AWS few months back, OpenVPN is still in the Amazon repo. However, if we start a new instances now, we would not be able to install OpenVPN. Therefore, we need to configure epel as additional repo and install OpenVPN from CentOS. Using epel repo, we managed to installed the latest version of OpenVPN (2.4.6).  Please note th...

Syntax Highlighting with Prism.JS on Blogger.com

To enable syntax highlighting using Prism.JS. Insert the following code at the end of the header of your Blogger theme. <link href='http://prismjs.com/themes/prism.css' rel='stylesheet'/> <script src='http://prismjs.com/prism.js' type='text/javascript'/> To include code in the blog, switch to html and insert the following code: <pre class="lang-bash"><code> #This is programming code for shell script #!/bin/bash </pre></code> For other language we replace bash with c,  cpp, csharp, docker, javascript, swift, objectivec or python. For more language code please refer to the end of the main page of Prism.JS . ***

Install Fedora 28 on Mac Mini (late 2009)

Image
This is a basic guide to install Fedora 28 on Mac Mini (late 2009) version.  This version is quite unstable as we received message that our boot image crash. Despite the error message, we manage to get Fedora to work.  Preparing to Install Fedora 28 To prepare a Fedora USB drive, we can download the Fedora Media Writer App. Using this app, we can download Fedora and burn the image to the USB drive directly. Installing Fedora 28 Bootup from USB using option (Alt) key. Then select Try Fedora 28 . Once the live image is booted, we can use the disk app to remove any partition that we want to get rid of. Alternatively, we can do that during installation. Click and run the installation app to install Fedora. The welcome screen is as follows:   Select the appropriate language, click Continue . You will be presented with something similar to the following screen, except that the disk was not defined. We can change the time zone and keyboard if we ...

Installing and Configuring Raspbian for Raspberry Pi

Image
This is a simple guide on installing and configuring Raspbian for Raspberry Pi. Although Noobs is recommended for beginner, we find that downloading and transferring the image to SD card is much faster. Installing Raspbian First download the latest version of Raspbian from Raspberry Pi website . To transfer the image to SD card, we need to unzip the file first. We also need to prepare a SD card with an adapter for card reader or USB drive. Next we install and launch Etcher. This a free and open source tool to make bootable drive from Debian/Ubuntu based Linux. Select the image and drive and begin the transfer. Once it is done, insert the SD card into Pi and boot the system. During first boot we have addition configuration such as setting password etc. Once the setup is completed, please run update as follows: sudo apt-get update sudo apt-get upgrade Once the update is complete we are good to go.  Configuring Raspbian Raspbian is similar to other ...