Posts in Category: debian linux tutorials and howtos

Setup EasyEngine on Debian/Ubuntu

EasyEngine (ee) is a Linux shell-script to install and manage wordpress-nginx websites in one go. Using EasyEngine, you can install Nginx, PHP, MySQL, Postfix, phpMyAdmin and their dependencies in one shot easily without the help of a System administrator. It makes very easy to install and manage wordpress-nginx websites, and you don’t have to manually install each packages and memorize all commands. Everything will be done automatically on the background. EasyEngine will work on Ubuntu LTS versions such as Ubuntu 12.04/14.04, and Debian 6/7 version. Unfortunately, there is no support for RPM based systems like CentOS, and there is no future plan to make it work on RPM based systems right now.

Features

The following are the notable features of EasyEngine:

  • Install Nginx, php, mysql, phpmyadmin and all its dependencies in

    Read More


Install LEMP (nginx, MySQL or MariaDB, PHP) Stack On Debian 8

LEMP is a combination of the operating system and open-source software stack. The acronym LEMP came from the first letters of Linux, Nginx(engine-x) HTTP Server, MySQL/MariaDB database, and PHP/Perl/Python.

In this tutorial, let us see how to install lemp stack on Debian 8, and its previous versions such as Debian 7 and Debian 6 etc.

Install LEMP Stack On Debian

1. Install Nginx

Nginx (pronounced as engine-x) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server written by Igor Sysoev.

Let us begin to install nginx.

service apache2 stop

apt-get remove --purge apache2 apache2-utils apache2.2-bin apache2-common

apt-get autoremove

apt-get autoclean

First, switch to root user using command:

su

Note: If another web server like apache2 was installed in your system, remove it first to avoid conflicts. To uninstall apache, run the

Read More


Install Tomcat 8.5 on Debian 8

Introduction

Apache Tomcat is a Java Servlet Container which implements several Java EE specifications including JavaServer Pages (JSP), Java Servlet, WebSocket and Java EL. It  also provides an HTTP web server environment in which Java code can run. It’s distributed under the Apache License 2.0.

This tutorial explains how to install and configure Tomcat 8.5.11 on Debian 8.

Getting started

Install Java

The first thing to do is to install python-software-properties, for managing repository:

# apt install python-software-properties -y

Next, add required repository:

# echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
# echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
# apt update

Now, you can install Java:

# apt install oracle-java8-installer -y

Accept the licence, and then wait for the installation process to complete. Next, check Java version:

# java -version

just to be sure that everything went well.

Configure

Read More


Install Rclone on Debian 8

 

Rclone is a command line program developed to sync files and directories to and from various cloud storage services, like Google Drive, Amazon S3, Dropbox, Microsoft OneDrive and Yandex Disk.
Rclone’s main features are:

  • MD5/SHA1 hashes are checked consistently for file integrity
  • Timestamps are preserved on files
  • Sync to and from the network, e.g: two different cloud accounts
  • Encryption

It is written in Go, and distributed under the MIT licence.
In this tutorial, we will install, configure and test rclone on Debian 8.

Installation

‘Go’ installation

First, you will need to install Go. It is available in the repository, you just need to execute the command:

# apt install golang

Make sure that you check if the $GOPATH is set:

$ echo $GOPATH

If not, set it just like this:

$ export GOPATH="$HOME/gopath/"

Now that you have installed Go, it’s possible to download rclone by

Read More