Ubuntu / Debian Linux: Install gcutil Tool To Manage Google Compute Engine

The gcutil tool is used to manage Google Compute Engine instances. To install gcutil on Ubuntu or Debian, you can use the following steps: Install the Google Cloud SDK: export CLOUD_SDK_REPO=”cloud-sdk-$(lsb_release -c -s)” echo “deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main” | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add – sudo apt-get update && sudo … Read more

Nginx: SPDY SSL Installation and Configuration On a Debian / Ubuntu Linux

Here are the steps to install and configure SPDY SSL on Nginx on a Debian or Ubuntu Linux system: Install Nginx: sudo apt-get update sudo apt-get install nginx Obtain an SSL certificate: You can either purchase an SSL certificate from a trusted certificate authority (CA) or generate a self-signed certificate. Install the SSL certificate on … Read more

sed Tip: Delete All Blank White Spaces

You can use the following sed command to delete all blank spaces in a file: sed ‘s/ *//g’ filename > outputfile This command replaces all occurrences of zero or more spaces with nothing. The > outputfile redirects the output to a new file called outputfile. If you want to modify the original file in place, … Read more

Debian 7 Wheezy: Install Flash Player

Adobe Flash Player is not included in Debian 7 Wheezy by default, but you can install it manually. Here’s how: Download the latest version of the Flash Player plugin for Linux from the Adobe website: https://get.adobe.com/flashplayer/ Extract the downloaded archive and navigate to the extracted folder in the terminal. Install the package using the following … Read more

Mac OS X: Install GCC Compiler with Xcode

GCC (GNU Compiler Collection) is not included in Mac OS X by default, but you can install it using Xcode. Here’s how: Install Xcode: You can download Xcode from the Mac App Store or from the Apple Developer website. Open Xcode and go to “Preferences.” Go to the “Downloads” tab and select “Command Line Tools.” … Read more