How To Install Foxit Reader on Ubuntu 16.04

Install Foxit Reader on Ubuntu 16

Foxit PDF Reader can be used to view, create, edit, organize, sign, scan, and OCR. It can easily export PDF files to office, PDF/A/E/X, and more. Users can collaborate, share, sign, protect, and secure documents using Foxit Reader.

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 Foxit PDF Reader on a Ubuntu 16.04 (Xenial Xerus) server.
Foxit PDF Reader features

Open multiple PDFs at the same time in tabs.
Open password protected PDF files.
View PDF files in single page, continuous, facing, or facing continuous mode.
Support page rotation, text search.
Print PDF documents to physical printers.
Microsoft RMS support.
Annotate PDF support.
Many more.

Install Foxit Reader 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 Foxit PDF Reader.

You need to download the last stable release of Foxit Reader, choose 64 bits or 32 bits according to your OS architecture:

### 32-Bit ###
wget http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.1/en_us/FoxitReader2.1.0805_Server_x86_enu_Setup.run.tar.gz
### 64-Bit ###
wget http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.1/en_us/FoxitReader2.1.0805_Server_x64_enu_Setup.run.tar.gz

Extract the tarball into the current directory:

tar xzvf FoxitReader*.tar.gz

Next, run the following command to make script executable:

sudo chmod a+x FoxitReader*.run

Now is the time to run the script file to install Foxit Reader and wait until fully installed:

./FoxitReader.*.run

To install it in system-wide mode, execute the .run file with root privileges:

sudo ./FoxitReader.*.run

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

How To Install Seafile on Ubuntu 16.04 LTS

Install Seafile on Ubuntu 16

Seafile is a open source cloud storage software. It offers file sharing and syncing for individual users and groups, it provides client side encryption and easy access from mobile devices. Also easily integrated with local services such as LDAP and WebDAV or can be deployed using advanced network services and databases like MySQL, SQLite, PostgreSQL, Memcached, Nginx or Apache Web 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 Seafile open source secure cloud storage on a Ubuntu 16.04 (Xenial Xerus) server.
Install Seafile on Ubuntu 16.04 LTS Xenial Xerus

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. Install LEMP (Linux, Nginx, MariaDB, PHP) server.

A Ubuntu 16.04 LAMP server is required. If you do not have LEMP installed, you can follow our guide here. Also install all required PHP modules:

apt-get install php7.0-curl php7.0-gd php7.0-mbstring php7.0-mysql libapache2-mod-php7.0 php7.0-mcrypt php7.0-zip

Installing Python modules:

apt-get install python2.7 libpython2.7 python-setuptools python-imaging python-ldap python-mysqldb python-memcache python-urllib3

Step 3. Configure the MariaDB database for Seafile.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

Next we will need to log in to the MariaDB console and create a database for the Seafile. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Seafile installation:

MariaDB [(none)]> create database ccnet_db character set = 'utf8'; MariaDB [(none)]> create database seafile_db character set = 'utf8'; MariaDB [(none)]> create database seahub_db character set = 'utf8';
MariaDB [(none)]> create user seacloud@localhost identified by 'password';
MariaDB [(none)]> grant all privileges on ccnet_db.* to seacloud@localhost identified by 'password'; MariaDB [(none)]> grant all privileges on seafile_db.* to seacloud@localhost identified by 'password'; MariaDB [(none)]> grant all privileges on seahub_db.* to seacloud@localhost identified by 'password';
MariaDB [(none)]> flush privileges; MariaDB [(none)]> exit

Step 4. Installing Seafile on Server.

You need to download the last stable release of Seafile:

wget https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_6.0.6_x86-64.tar.gz

Extract the tarball into the current directory:

tar -xvzf seafile-server_6.0.6_x86-64.tar.gz
mv seafile-server_6.0.6 seafile-server

Install Seafile:

Run this script which will create the required databases and directories for the Seafile server and and answer all questions using the following configuration options, after the script verifies the existence of all Python required modules:

./setup-seafile-mysql.sh

After Seafile server successfully installs, it will generate some useful information such as what ports needs to be open on your Firewall to allow external connection and what scripts to handle in order to start the server.

Step 5. Starting the Seafile services.

Create startup script for the Seafile server like this:

nano /lib/systemd/system/seafile.service

Add the following lines:

[Unit]
Description=Seafile Server
After=network.target mariadb.service[Service]
Type=oneshot
ExecStart=/home/seafile/seafile-server/seafile.sh start
ExecStop=/home/seafile/seafile-server/seafile.sh stop
RemainAfterExit=yes
User=seafile
Group=seafile[Install]
WantedBy=multi-user.target

Save the file and create a new service file for seahub:

[Unit]
Description=Seafile Hub
After=network.target seafile.target[Service]
Type=oneshot
ExecStart=/home/seafile/seafile-server/seahub.sh start-fastcgi
ExecStop=/home/seafile/seafile-server/seahub.sh stop
RemainAfterExit=yes
User=seafile
Group=seafile[Install]
WantedBy=multi-user.target

Now try using the service and command to start a new Seafile server instance:

systemctl daemon-reload 
systemctl start seafile
systemctl start seahub

Step 6. Configuring Nginx web server for Seafile.

*Note: A static IP address 192.168.77.21 configure on your server.

First, create a new virtual host file with name seafile.conf:

nano /etc/nginx/sites-available/seafile.conf

Add the following lines:

server {
    listen 80;
    server_name 192.168.77.21;proxy_set_header X-Forwarded-For $remote_addr;# Reverse proxy for seafile
    location / {
        fastcgi_pass    127.0.0.1:8000;
        fastcgi_param   SCRIPT_FILENAME     $document_root$fastcgi_script_name;
        fastcgi_param   PATH_INFO           $fastcgi_script_name;fastcgi_param    SERVER_PROTOCOL        $server_protocol;
        fastcgi_param   QUERY_STRING        $query_string;
        fastcgi_param   REQUEST_METHOD      $request_method;
        fastcgi_param   CONTENT_TYPE        $content_type;
        fastcgi_param   CONTENT_LENGTH      $content_length;
        fastcgi_param   SERVER_ADDR         $server_addr;
        fastcgi_param   SERVER_PORT         $server_port;
        fastcgi_param   SERVER_NAME         $server_name;
        fastcgi_param   REMOTE_ADDR         $remote_addr;access_log      /var/log/nginx/seahub.access.log;
        error_log       /var/log/nginx/seahub.error.log;
        fastcgi_read_timeout 36000;
    }# Reverse Proxy for seahub
    location /seafhttp {
        rewrite ^/seafhttp(.*)$ $1 break;
        proxy_pass http://127.0.0.1:8082;
        client_max_body_size 0;
        proxy_connect_timeout  36000s;
        proxy_read_timeout  36000s;
        proxy_send_timeout  36000s;
        send_timeout  36000s;
    }#CHANGE THIS PATH WITH YOUR OWN DIRECTORY
    location /media {
        root /home/seafile/seafile-server/seahub;
    }
}

Save the file and restart nginx:

systemctl restart nginx

Step 7. Accessing Seafile.

Seafile cloud storage will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://192.168.77.21. Enter the admin email id and password to login which you have created at the time of installation. If you are using a firewall, please open port 8000 to enable access to the control panel.

seafile-web-interface-login

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

How To Install Ubuntu 17.04 Server Zesty Zapus

Install Ubuntu 17.04 Server

Ubuntu 17.04 Zesty Zapus is the first release of the year 2017 for one of the most popular Linux distribution in the world. Let’s learn how to install it in 10 easy steps.

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 ubuntu 17.04 server Zesty Zapus.
Install Ubuntu 17.04 Server Zesty Zapus

Step 1. First, get the mini.iso image for your machine.

Step 2. Insert your Ubuntu install CD into your system and boot from it. When you install the OS in a virtual machine like I do it here, then you should be able to select the downloaded ISO file as source for the CD/DVD drive in VMWare and Virtualbox without burning it on CD first.

Step 3. The first screen will show the language selector. In this case, we’ll choose English.

install-ubuntu-17-04-server
Step 4. Then choose the option Install Ubuntu Server.
install-ubuntu-17-04-server-1
Step 5. Select your language again, we have to specify the language that will be used during the installation process. We’ll continue using English.
install-ubuntu-17-04-server-2
Step 6. Then choose your location. We need to tell Ubuntu where we are located. In our case, we’ll select other/Europe/Italy.
install-ubuntu-17-04-server-3
install-ubuntu-17-04-server-4install-ubuntu-17-04-server-5
install-ubuntu-17-04-server-6

Step 7. Choose a keyboard layout. First of all, the installer will ask if it can detect the layout. We’ll select No here.
install-ubuntu-17-04-server-7
Next step, we’ll choose the Italian layout:
install-ubuntu-17-04-server-8
install-ubuntu-17-04-server-9
Step 8. Enter the hostname of the system. We’ll use server.example.com.
install-ubuntu-17-04-server-10
Step 9. The next step is to create a new user account. You’ll need to fill in the forms with your data. Ubuntu does not let you log in as root user directly. Therefore, we create a new system user here for the initial login.
install-ubuntu-17-04-server-11
install-ubuntu-17-04-server-12
I don’t need an encrypted private directory, so I choose No here:
install-ubuntu-17-04-server-13
Step 10. Please check if the installer detected your time zone correctly. If so, select Yes, otherwise No.

Step 11. Now you have to partition your hard disk. For simplicity’s sake I select Guided – use entire disk and set up LVM, this will create one volume group with two logical volumes, one for the / file system and another one for swap.
install-ubuntu-17-04-server-14
Select the disk that will be partitioned:
install-ubuntu-17-04-server-15

install-ubuntu-17-04-server-16
Select the ‘amount of volume group’. Of course, there are different options here, but we’ll keep it easy and choose the maximum size:
install-ubuntu-17-04-server-17
Check one last time and then allow the installer to write changes to disk:
install-ubuntu-17-04-server-18
install-ubuntu-17-04-server-19
Step 12. Now the package manager “apt” gets configured. Leave the HTTP proxy line empty unless you’re using a proxy server to connect to the Internet:
install-ubuntu-17-04-server-20
install-ubuntu-17-04-server-21
Step 13. Configure updates, It is possible to install security updates automatically, or choose to do everything manually. I like to update my servers automatically.
install-ubuntu-17-04-server-22
This tutorial is about a basic server, so we will just select standard system utilities and OpenSSH server:
install-ubuntu-17-04-server-23
install-ubuntu-17-04-server-24
Step 14. Installing the boot loader
install-ubuntu-17-04-server-25
Select Yes when you are asked Install the GRUB boot loader to the master boot record?:

install-ubuntu-17-04-server-26
Step 15. The installer now finished the Ubuntu installation.

At the end the installer will ask you to remove the installation media. Select Continue and your machine will reboot:
install-ubuntu-17-04-server-27
Finally, select continue to reboot the machine after the installation. When you restart, your computer will prompt you for a username and password:
install-ubuntu-17-04-server-28

Congratulation’s! You have successfully installed Ubuntu 17.04. Thanks for using this tutorial for installing Ubuntu 17.04 Server Zesty Zapus system. For additional help or useful information, we recommend you to check the official Ubuntu web site.

How To Install uTorrent on Ubuntu 17.04

Install uTorrent on Ubuntu 17

uTorrent is a freeware and a closed source BitTorrent Client. One of the most used lightweight BitTorrent Client, Now it is available for Linux as uTorrent server. The µTorrent is designed to use minimal computer resources while offering functionality comparable to larger BitTorrent clients such as Vuze or BitComet and also it provides performance, stability, and support for older hardware and versions of operating system. It is available for Microsoft Windows and Mac OS X.

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 uTorrent on BitTorrent Client on Ubuntu 17.04 Zesty Zapus server.
Install uTorrent on Ubuntu 17.04 Zesty Zapus

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. Install required dependencies.

Open Terminal and run the following command to install dependency libraries. Assign the password for the user when asked:

sudo apt-get install libssl1.0.0 libssl-dev

Step 3. Installing uTorrent.

First thing to do is to go to uTorrent’s download page and download the latest stable version of uTorrent, At the moment of writing this article it is version 3.3:

### 32-bit system ###
wget http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-ubuntu-13-04/track/beta/ -O utserver.tar.gz

### 64-bit system ###
wget http://download-new.utorrent.com/endpoint/utserver/os/linux-x64-ubuntu-13-04/track/beta/ -O utserver.tar.gz

Run command to extract the downloaded server to /opt/:

sudo tar -zxvf utserver.tar.gz -C /opt/

Set an executable permission to the extracted directory for running the uTorrent server:

sudo chmod 777 /opt/utorrent-server-alpha-v3_3/

Run the command to link uTorrent server to the /user/bin directory:

sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver

Finally start uTorrent server:

utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &

Step 4. Accessing uTorrent.

uTorrent will be available on HTTP port 8080 by default. Open your favorite browser and navigate to http://yourdomain.com:8080 or http://your-ip-address:8080/gui. It will ask you the username and password. The default username is admin and leave the password field empty.
Utorrent-Ubuntu-14.04

Congratulations! You have successfully installed uTorrent. Thanks for using this tutorial for installing μTorrent (uTorrent) BitTorrent Client in Ubuntu 17.04 Zesty Zapus systems. For additional help or useful information, we recommend you to check the official uTorrent web site.

How To Install SimpleNote on Ubuntu 17.04

Install SimpleNote on Ubuntu 17

SimpleNote is an open-source alternative to EverNote. It’s free, lightweight and available for Linux, Mac, Windows, Android, iOS and the web. SimpleNote is developed by Automattic, the same company behind WordPress blogging platform.

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 SimpleNote on Ubuntu 17.04 Zesty Zapus server.
SimpleNote Features

Your notes stay updated across all your devices while no buttons are pressed
Find notes quickly with instant searching as well as simple tags
Share a list, post some instructions, or publish your thoughts
Your notes are backed up when you change them. Just drag the version slider to go back in time
Type what you’re looking for, and your list updates instantly. You’ll never misplace an important thought again
Notes can be backed up, synced and shared – it’s all completely free
History: drag the History slider to view previous versions.
Collaboration: share your note with others as well as allowing them to edit.
Publishing: make your note public with its own URL.
Tags: organize your notes effectively with tags.
Pinning: pin notes right from the note list so they’re easy to find.

Install SimpleNote on Ubuntu 17.04 Zesty Zapus

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 gdebi

Step 3. Installing SimpleNote.

First thing to do is to go to SimpleNote’s download page and download the latest stable version of SimpleNote, At the moment of writing this article it is version 1.0.8:

wget https://github.com/Automattic/simplenote-electron/releases/download/v1.0.8/simplenote-1.0.8.deb

Run command to install SimpleNote:

sudo gdebi simplenote-1.0.8.deb

Once installed, next you can start SimpleNote by searching for it Unity Dash. If the app icon doesn’t show up, try logging out and logging back in.
install-simplenote-on-linux
Congratulations! You have successfully installed simplenote. Thanks for using this tutorial for installing simplenote in Ubuntu 17.04 Zesty Zapus systems. For additional help or useful information, we recommend you to check the official simplenote web site.

How To Install XFCE Desktop on Ubuntu 16.04 LTS

Install XFCE Desktop on Ubuntu 16

XFCE is one of the most popular desktop environment for linux desktop. XFCE is a free lightweight, fast and easy to use software desktop environment for Unix/Linux like operating systems. It is designed for productivity and aims to be fast and low on system resources. Unlike GNOME and KDE desktops which are heavier, but XFCE uses fewer system resources. Furthermore, it offers better modularity and less dependencies to install and takes less time and low disk space on your hard drive.

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 Xfce Desktop Environment on a Ubuntu 16.04 (Xenial Xerus) server.
Install XFCE 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 Xfce Desktop Environment.
Run following command to install XFCE desktop environment:

apt-get install xfce4

After installation there is no need to restart the system you can get the XFCE desktop. Now log off from current user and login back once again but click on ubuntu logo which is at right corner at user login box. On clicking the ubuntu logo, menu will appear select the XFCE one.

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

How To Install LAMP Stack on Ubuntu 17.04

Install LAMP Stack on Ubuntu 17

LAMP represents a full featured stack containing the most popular web server known as Apache, the most popular database server MySQL and the most popular open-source web programming language known as PHP. All components are free and open-source software, and the combination is suitable for building dynamic web pages.

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. I will show you through the step by step installation LAMP (Linux Apache, MySQL and PHP) on Ubuntu 17.04 Zesty Zapus server.
Install LAMP Stack on Ubuntu 17.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.

apt-get update
apt-get upgrade

Step 2. Installing Apache on Ubuntu 17.04.

We will be installing Apache with apt-get, which is the default package manager for ubuntu. Your also required to install libapache2-mod-php module to work PHP with Apache2:

apt-get install apache2 libapache2-mod-php

After installing apache services on your system, start all required services:

systemctl enable apache2
systemctl start apache2
systemctl status apache2

Check Apache version:

apache2 -v

You can verify that Apache is really running by opening your favorite web browser and entering the URL http://your-server’s-address, if it is installed, then you will see this:
apache2-ubuntu-default-page
Step 3. Installing MySQL on Ubuntu 17.04

Now that we have our web server up and running, it is time to install MySQL. MySQL is a database management system. Basically, it will organize and provide access to databases where our site can store information:

apt-get install mysql-server php7.1-mysql

Once complete, you can verify MySQL is installed by running the below command:

systemctl status mysql
systemctl enable mysql
systemctl start mysql

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL:

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

To log into MySQL, use the following command (note that it’s the same command you would use to log into a MySQL database):

mysql -u root -p

Step 4. Installing PHP 7 on Ubuntu 17.04

PHP 7.1 is now the default PHP package shipping in Ubuntu LTS 17.04 (Zesty Zapus), Now install PHP 7 with the following command:

sudo apt-get install -y php7.1 php7.1-cgi php7.1-cli php7.1-fpm php7.1-mysql php7.1-mcrypt php7.1-mbstring php7.1-common php7.1-curl php7.1-pgsq

If you like to search all the available PHP 7 modules you can use to command:

sudo apt-cache search php- | less

Your server should restart Apache automatically after the installation of both MySQL and PHP. If it doesn’t, execute this command:

sudo systemctl restart apache2
sudo systemctl restart mysql

To test PHP, create a test file named info.php with he content below. Save the file, then browse to it to see if PHP is working:

nano /var/www/html/info.php

In this file, paste the following code:

<?php phpinfo(); ?>

Try to access it at http://your_server_ip/info.php . If the PHP info page is rendered in your browser then everything looks good and you are ready to proceed further.
install-php7-ubuntu-17.04

Congratulation’s! You have successfully installed LAMP stack. Thanks for using this tutorial for installing LAMP (LinuxApache, MySQLand PHP) in Ubuntu 17.04 (Zesty Zapus) system. For additional help or useful information, we recommend you to check the official Apache, MySQL and PHP web site.