How To Install Google Drive Ocamlfuse on Ubuntu 16.04

Install Google Drive Ocamlfuse on Ubuntu 16

Google Drive Ocamlfuse is a FUSE-based file system powered by Google Drive. It lets you mount your Google Drive on Linux so that you can access your files and folders, either via the command line or through a traditional GUI file manager, like Nautilus, Nemo or Caja.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Google Drive Ocamlfuse on a Ubuntu 16.04 (Xenial Xerus) server.
Install Google Drive Ocamlfuse on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Google Drive Ocamlfuse.

Run the following commands in Terminal to install Google Drive Ocamlfuse:

sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt update
sudo apt install google-drive-ocamlfuse

Once installed complete you can go ahead and set up the app to work with your Google Drive account. While there isn’t a fancy-pants GUI front-end for setting things up don’t feel put. GDO is super simple to use via the CLI:

google-drive-ocamlfuse

It will open a new tab in your browser asking you to grant it permission to view and manage the files in your Google Drive. Click Allow:
Google-drive-ocamlfuse-browser-auth

Step 3. Mount Your Google Drive.

First, create a mount point for your Google Drive, such as ~/google-drive:

mkdir ~/google-drive
google-drive-ocamlfuse ~/google-drive/

If you have more than one account, you can run:

google-drive-ocamlfuse -label label [mountpoint]

Step 4. Unmount Google Drive:

To unmount the filesystem, run this command:

fusermount -u ~/google-drive

Congratulation’s! You have successfully installed Google Drive. Thanks for using this tutorial for installing Google Drive Ocamlfuse on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Google Drive web site.

How To Install WebTorrent Desktop on Ubuntu 16.04 LTS

Install WebTorrent Desktop on Ubuntu 16

WebTorrent Desktop is a free, open source streaming torrent application for Mac, Windows, and Linux. With WebTorrent Desktop, you can watch video from the Internet Archive, listen to music from Creative Commons, or audiobooks from Librivox.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation WebTorrent Desktop on a Ubuntu 16.04 (Xenial Xerus) server.
WebTorrent Desktop Features

Lightweight, fast torrent app
Beautiful user experience
Free, non-commercial, ad-free, and open source
Instantly stream video and audio
WebTorrent fetches file pieces from the network on demand for instant playback.
Even when the file isn’t fully downloaded, seeking still works.
(Seeking just reprioritizes which pieces are fetched from the network.)
Stream videos to AirPlay, Chromecast, and DLNA
Based on the most popular and comprehensive torrent package in Node.js, web torrent
Full-featured, but bloat free
Opens magnet links and .torrent files
Drag-and-drop makes adding or creating torrents easy
Discovers peers via tracker servers, DHT (Distributed Hash Table), and peer exchange
Supports the WebTorrent protocol for connecting to WebRTC peers (i.e. web browsers)

Install WebTorrent Desktop on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing WebTorrent Desktop.

First, Download the deb package from Github project page and run the following commands to install WebTorrent Desktop on Ubuntu systems:

sudo apt-get install gdebi
wget https://github.com/feross/webtorrent-desktop/releases/download/v0.18.0/webtorrent-desktop_0.18.0-1_amd64.deb
sudo gdebi webtorrent-desktop_0.18.0-1_amd64.deb

Once installed, WebTorrent Desktop can be started from Unity Dash or your preferred app launcher or from the terminal:

webtorrent-desktop

Congratulation’s! You have successfully installed WebTorrent Desktop. Thanks for using this tutorial for installing WebTorrent Desktop on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official WebTorrent Desktop web site.

How To Install Facebook Messenger Desktop on Ubuntu 16.04 LTS

Install Facebook Messenger Desktop on Ubuntu 16

Messenger for Desktop is a wrapper for the official client messenger.com. Therefore it works like a regular browser which can only navigate to the messenger.com web app. MFD doesn’t touch your messages, account or personal data. All that is handled securely by Facebook.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Facebook Messenger Desktop on a Ubuntu 16.04 (Xenial Xerus) server.
Install Facebook Messenger Desktop on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Facebook Messenger Desktop.

First, Download the deb package from this page and run the following commands to install Facebook Messenger Desktop on Ubuntu systems:

sudo apt-get install gdebi
wget https://github.com/aluxian/Messenger-for-Desktop/releases/download/v2.0.9/messengerfordesktop-2.0.9-linux-amd64.deb
sudo dpkg -i messengerfordesktop*.deb

Once installed, Facebook Messenger Desktop can be started from Unity Dash or your preferred app launcher or from the terminal:

messengerfordesktop

Congratulation’s! You have successfully installed Facebook Messenger App. Thanks for using this tutorial for installing Facebook Messenger Desktop on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Facebook Messenger Desktop web site.

How To Install FreeFileSync on Ubuntu 16.04

Install FreeFileSync on Ubuntu 16

FreeFileSync is a free Open Source software that helps you synchronize files and synchronize folders in Windows, Linux and Mac OS X. It is designed to save your time setting up and running backup jobs while having nice visual feedback along the way. With FreeFileSync, you can detect moved and renamed files and folders, keep versions of deleted/updated files, including copy locked files and much more.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation FreeFileSync open source file synchronization tool on a Ubuntu 16.04 (Xenial Xerus) server.
Install FreeFileSync on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing FreeFileSync on Linux Ubuntu.

First, go to FreeFileSync download page to install FreeFileSync on Ubuntu systems:

install-freefilesync-on-Ubuntu-16.04
Once downloaded, You can manually install just by extracting the *.tar.gz file into any folder. FreeFileSync is an executable binary and needs no install.
freefilesync-binary
Finally step, Double-click the FreeFileSync binary and you will see the program running:
FreeFileSync-linux

FreeFileSync is an executable binary there is no installation required but you should place the FreeFileSync folder into a more appropriate folder such as /opt/FreeFileSync.

 

Congratulation’s! You have successfully installed FreeFileSync. Thanks for using this tutorial for installing FreeFileSync on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official FreeFileSync web site.

How To Install Nginx With Ngx_Pagespeed Module on Ubuntu 16.04 LTS

Install Nginx With Ngx_Pagespeed Module on Ubuntu 16

PageSpeed (ngx_pagespeed) is a Nginx module created by Google to help Make the Web Faster by rewriting web pages to reduce latency and bandwidth. For the installation, we will need to compile nginx from souce with the PageSpeed module, as Nginx doesn’t support Dynamic module loading (DSO), unless you want to build your own rpm or deb files.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation nginx with pagespeed module on a Ubuntu 16.04 (Xenial Xerus) server.
Install Nginx With Ngx_Pagespeed Module on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install dpkg-dev build-essential zlib1g-dev libpcre3 libpcre3-dev unzip

Step 2. Add the Nginx repository.

Run the commands below in terminal to compiling the latest Nginx mainline version:

wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key

Create a new repository and edit the sources.list file:

nano /etc/apt/sources.list

Add the following two lines at the end of this file:

deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx

Step 3. Download Nginx from source package.

Create a new directory for the nginx source files and download the nginx sources using apt command:

mkdir ~/nginx && cd ~/nginx
sudo apt source nginx

Check out the downloaded files:

### ls ~/nginx/
nginx-1.11.1                               nginx_1.11.1-1~xenial.dsc
nginx_1.11.1-1~xenial.debian.tar.xz        nginx_1.11.1.orig.tar.gz

Step 4. Download ngx_pagespeed source package.

To compile Nginx with ngx_pagespeed module, we also need ngx_pagespeed source package. Go to Github ngx_pagespeed download page:

wget https://codeload.github.com/pagespeed/ngx_pagespeed/zip/v1.11.33.4-beta

Unzip into the current directory:

unzip v1.11.33.4-beta
cd ngx_pagespeed-1.11.33.4-beta/

Next, we also need to download the psol library. (PageSpeed Optimization Library) and extract it:

wget https://dl.google.com/dl/page-speed/psol/1.11.33.4.tar.gz
tar xvf 1.11.33.4.tar.gz

Step 5. Configure Nginx to build with Pagespeed.

First, edit Nginx compilation rule file:

nano ~/nginx/nginx-1.11.1/debian/rules

Add the new line under ‘COMMON_CONFIGURE_ARGS’:

--add-module=/home/username/ngx_pagespeed-1.11.33.2-beta

Step 6. Start the Compilation Nginx Ubuntu package.

Go to the nginx source directory and build nginx from source with the dpkg-buildpackage command:

cd ~/nginx/nginx-1.11.1/
apt build-dep nginx
dpkg-buildpackage -b

When it’s done, there will be 7 deb files in ~/nginx/ directory. We only need to install the nginx_1.11.1-1~xenial_amd64.deb or nginx_1.11.1-1~xenial_i386.deb package, depending on your OS architecture. The others are Nginx dynamic module package and a debug package:

cd ~/nginx
dpkg -i nginx_1.11.1-1~xenial_amd64.deb

Now let’s start Nginx:

systemctl start nginx

Step 7. Configure ngx_pagespeed Module in Nginx.

Now edit Nginx server block config file:

nano /etc/nginx/nginx.conf

Add the following pagespeed directives in server section:

# enable pagespeed module on this server block
pagespeed on;

# Needs to exist and be writable by nginx. Use tmpfs for best performance.
pagespeed FileCachePath /var/ngx_pagespeed_cache;

# Ensure requests for pagespeed optimized resources go to the pagespeed handler
# and no extraneous headers get set.
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
  add_header "" "";
}
location ~ "^/pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }

pagespeed RewriteLevel CoreFilters;

Step 8. Check if PageSpeed is Working.

Go to your website. Refresh a few times then check your page source. Hit Ctrl+F key and search pagespeed. You will see that many of your website resource has been processed by pagespeed or you can issue the following command:

curl -I -p http://y0ur-domain.com| grep X-Page-Speed

Congratulation’s! You have successfully installed nginx pagespeed. Thanks for using this tutorial for installing nginx with ngx_pagespeed module on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Nginx web site.

How To Install Oracle Java on Ubuntu 17.04

Install Oracle Java on Ubuntu 17

Java is a programming language and computing platform. It was first released by Sun Microsystems in 1995. Many programs and scripts that require Java to run it, but usually Java are not installed by default on a VPS or Dedicated Server.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation JRE (Java Runtime Environment) and JDK (Java Development Kit) on Ubuntu 17.04 Zesty.

Install Oracle Java on Ubuntu 17.04 Zesty

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Oracle Java.

Installing Java in Ubuntu 17.04 is almost similar to the installing Java in the previous version of Ubuntu such as Ubuntu 16.04:

apt-get install default-jre
apt-get install default-jdk

Another alternative Java install is with Oracle JRE and JDK. However, we would need to install additional repositories for a proper installation:

add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install java-common oracle-java8-installer

Verify Installed Java version.

java -version

Result:

java version "1.8.1_74"
Java(TM) SE Runtime Environment (build 1.8.1_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Step 3. Setup JAVA_HOME on Ubuntu 17.04.

Since many programs now days need a JAVA_HOME environment variable to work properly. We will need to find the appropriate path to make these changes. With the following command, you can view your installs and their path:

sudo update-alternatives --config java
sudo nano /etc/profile

Now that you are in the user profile file, add the following code, along with the Path of your installation from the previous step, to the bottom. ( Example: JAVA_HOME=”YOUR_PATH”):

export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-1.8.1.51-1.b16.el7_1.x86_64"

Reload the file so all your changes could take effect with the following command:

source /etc/profile

Verify that your implementations are correct with the following command:

echo $JAVA_HOME

Congratulation’s! You have successfully installed Java. Thanks for using this tutorial for installing Oracle Java (JRE or JDK) on Ubuntu 17.04 Zesty system. For additional help or useful information, we recommend you to check the official Java web site.

How To Install Spotify on Ubuntu 16.04 LTS

Install Spotify on Ubuntu 16

Spotify is a great way to listen to music by streaming it on your phone, in your browser, or on your Linux desktop. You can stream everything, upgrade and sync tracks and playlists offline, or purchase individual tracks to keep forever.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Spotify on a Ubuntu 16.04 (Xenial Xerus) server.
Install Spotify on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Spotify Stable on Ubuntu.

First, add the Spotify repository signing key to be able to verify downloaded packages:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886

Then add Spotify stable repository by running this command:

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Next is simple. Update and install Spotify client:

sudo apt-get update
sudo apt-get install spotify-client

Once installed, next you can start Spotify by searching for it Unity Dash (in Ubuntu).

Congratulation’s! You have successfully installed Spotify. Thanks for using this tutorial for installing Spotify on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Spotify web site.