How To Install Nginx on Debian 9

Install Nginx on Debian 9

In this tutorial we will show you how to install Nginx Mainline Version on your Debian 9. For those of you who didn’t know, Nginx has two primary repositories or branches that folks can use to install or update Nginx packages. When you install Nginx from Debian default repositories, you’re installing Nginx from the stable repository.

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 on a Debian 9 (Stretch) server.

Install Nginx on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Nginx on Debian 9.

You can install Nginx from Debian package repository. Simply, run the following command to install Nginx:

After the installation is complete, Start Nginx and add it to automatically start on your system start-up using:

Step 3. Configuring your Nginx web server.

  • By default, the Nginx installation creates the web server root directory at the following location /var/www/html/.
  • The default configuration file for this is located at the following location: /etc/nginx/sites-enabled/default/.
  • The main configuration file for Nginx is located at /etc/nginx/nginx.conf.

You can verify that Nginx 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:

Install Nginx on Debian 9 Stretch

Congratulation’s! You have successfully installed Nginx. Thanks for using this tutorial for installing Install Nginx stable version web server on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Nginx on web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Apache Kafka on Debian 9

Install Apache Kafka on Debian 9

In this tutorial we will show you how to install Apache Kafka on Debian 9. For those of you who didn’t know, Apache Kafka is a distributed message agent designed to deal with huge volumes of real time information effectively. Unlike traditional agents like ActiveMQ and RabbitMQ, Kafka functions as a bunch of one or more servers that makes it highly scalable and because of the distributed nature, it’s inbuilt fault-tolerance whilst providing greater throughput when compared to its counterparts.

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 Apache Kafka on a Debian 9 (Stretch) server.

Install Apache Kafka on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Java.

Kafka is written in Java, you will need to install Java on your system:

Step 4. Installing Kafka Server.

First, download and extract Kafka from Apache website. You can use wget to download Kafka:

Extract the downloaded archive using tar command in /opt/Kafka:

Kafka uses ZooKeeper, so first, start a ZooKeeper server on your system:

Let’s create a topic named “NewTopic” with a single partition and only one replica:

Now you can see the created topic on Kafka by runnin gthe list topic command:

Kafka also has a command line consumer to read data from Kafka cluster and display messages to standard output:

Congratulation’s! You have successfully installed Apache Kafka. Thanks for using this tutorial for installing Install Kotlin Compiler on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Apache Kafka web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Cloud Torrent on Debian 9

Install Cloud Torrent on Debian 9

In this tutorial we will show you how to install Cloud Torrent on Debian 9. For those of you who didn’t know, Cloud torrent is a self-hosted remote torrent client, written in Go (golang). You begin torrents remotely, that are downloaded as collections of documents on the local disk of your host, that are subsequently retrievable or streamable via HTTP.

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 Cloud Torrent on a Debian 9 (Stretch) server.

Install Cloud Torrent on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Cloud Torrent on Debian 9.

First, Download the latest version of Cloud Torrent and install it:

Then, Create a systemd service to launch it at boot time:

Now create the systemD service file:

And add:

*You will need to replace the user:password variable by the one you want as it will be used to access to your Cloud Torrent instance.

Now enable it and start Cloud Torrent:

Congratulation’s! You have successfully installed Cloud Torrent. Thanks for using this tutorial for installing Install Cloud Torrent on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Cloud Torrent web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Kotlin Compiler on Debian 9

Install Kotlin Compiler on Debian 9

In this tutorial we will show you how to install Kotlin Compiler on Debian 9. For those of you who didn’t know, Kotlin is a new statically typed language from JetBrains. JetBrains is famous for its popular Java IDE IntelliJ. Kotlin was recently open sourced and the compiler made accessible through Github. This article will reveal the steps necessary to build and install the compiler and run a program.

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 Kotlin Compiler on a Debian 9 (Stretch) server.

Install Kotlin Compiler on Debian 9

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Kotlin Compiler on Debian 9.

Install Kotlin using the Software Development Kit (SDK) manager:

Sample outputs:

Install Kotlin Compiler on Debian 9

Then, type the following commands to install kotlin:

Next, install JDK:

Step 3. Write your first kotlin programs.

Create a file called hello.kt:

Append the following code:

Save and close the file. Compile your app into jar:

Finally, Run your app:

Congratulation’s! You have successfully installed Kotlin. Thanks for using this tutorial for installing Install Kotlin Compiler on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Kotlin web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Pip on Debian 9 Stretch

Install Pip on Debian 9 Stretch

In this tutorial we will show you how to install Pip on Debian 9. For those of you who didn’t know, The Pip command is a tool for installing and managing Python packages, such as those found in the Python Package Index. With the help of pip you can also install the package of particular version. Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible through a “requirements” file. It performs the same basic job as easy_install, but with some extra features.

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 Pip on a Debian 9 (Stretch) server.

Install Pip on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Pip on Debian 9.

Install the pip by using apt-get command:

Once the installation is completed you can verify that it was successful by using the following command:

Step 3. How to use pip command.

After installing python-pip package, the pip command will be available on system. There are multiple options available with pip command:

To install new python package type:

To uninstall python package installed by pip type:

To search python package type:

For more Pip options and usage examples you can use the –help flag:

Congratulation’s! You have successfully installed Pip. Thanks for using this tutorial for installing Install Pip Python on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Python web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Laravel on Debian 9

Install Laravel on Debian 9

In this tutorial we will show you how to install Laravel on Debian 9. For those of you who didn’t know, For those of you who didn’t know, Laravel is a free, open-source PHP web application framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern. It is a pretty new framework, but with a big potential to become one of the most popular PHP frameworks.

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 Laravel on a Debian 9 (Stretch) server.

Install Laravel on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Composer.

Install Composer which is the tool for dependency management in PHP:

Step 3. Installing Laravel.

Install the latest version of Laravel, using the composer create-project command:

If the installation is successful, you will see the following lines:

Step 4. Server your application with Artisan.

Once the installation is completed you can use the artisan serve command to serve your application:

The output should be something like this:

Step 5. Installing Nginx and PHP-FPM.

Run the following command to install both Nginx and PHP-FPM from the official Debian repositories:

Next, change the ownership of the Laravel directory:

Then, create a new Nginx server block with the following content:

Activate the server block by creating a symbolic link:

Now, we can restart Nginx web server so that the changes take place:

Congratulation’s! You have successfully installed Laravel. Thanks for using this tutorial for installing Install Laravel on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official Laravel web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install TYPO3 on Debian 9

Install TYPO3 on Debian 9

In this tutorial we will show you how to install TYPO3 on Debian 9. For those of you who didn’t know, TYPO3 is an enterprise open source content management system based on PHP. It’s intended for ease of use to allow owners and enterprises to create powerful and dynamic content websites.

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 TYPO3 on a Debian 9 (Stretch) server.

Install TYPO3 on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP)  server.

A Debian 9 LAMP server is required. If you do not have LAMP installed, Please read our previous tutorial to install LAMP Server on Debian 9.

Step 3. Installing TYPO3.

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

We will rename the newly created directory to something simpler:

To proceed with the installation, create a ‘FIRST_INSTALL’. The filename is case-sensitive but the file itself can be empty:

We will need to change some folders permissions:

Step 4. Configuring MariaDB for Joomla.

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.

Configure it like this:

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

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 TYPO3 installation:

Step 5. Configuring Apache web server for TYPO3.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘TYPO3.conf’ on your virtual server:

Add the following lines:

Now, we can restart Apache web server so that the changes take place:

Step 6. Accessing TYPO3.

TYPO3 will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed TYPO3. Thanks for using this tutorial for installing Install TYPO3 CMS on Debian 9 Stretch system. For additional help or useful information, we recommend you to check the official TYPO3 on web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install MySQL Server on Debian 9

Install MySQL Server on Debian 9

In this tutorial we will show you how to install MySQL Server on your Debian 9. For those of you who didn’t know, For those of you who didn’t know, MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. The MySQL source code is freely available because it was originally developed as freeware. MySQL is written in C and C++ and is compatible with all major operating systems. MySQL can be used for a variety of applications, but is most commonly found on web servers.

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 MySQL Server on a Debian 9 (Stretch) server.

Install MySQL Server on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing MySQL.

First add its official repository to install MySQL community server:

Then, Install the repository package using the dpkg command:

The package installer will prompt you to select the MySQL repository. Based on your selection, the installer will configure repositories to receive the appropriate version of MySQL.

Install MySQL Server on Debian 9

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

After the installation of MySQL is complete, you may need to secure your new 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:

Configure it like this:

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

One of the most important things when running MySQL on a production server is to get the most out of its performances. If you are a beginner and you do not know how to tune your MySQL server, you can start with a program called MySQLTuner. It will help you to analyze your server and to tune MySQL for better overall performances.

Congratulation’s! You have successfully installed MySQL. Thanks for using this tutorial for installing the latest version of MySQL Server on Debian 9 Stretch server. For additional help or useful information, we recommend you to check the official MySQL web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Node.js on Debian 9

Install Node.js on Debian 9

In this tutorial we will show you how to install Node.js on your Debian 9. For those of you who didn’t know, Node.js is a Javascript platform for programming that enables users to build network applications very quickly. If you are using Javascript on both the front-end and the back-end, it means your development can be much more consistent and be designed within the same system.

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 Node.js on a Debian 9 (Stretch) server.

Install Node.js on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Node.js on Debian 9.

First, you need to node.js PPA in our system provides by nodejs official website:

The nodejs package contains the nodejs binary as well as npm, so you don’t need to install npm separately. However, in order for some npm packages to work (such as those that require compiling code from source), you will need to install the build-essential package:

After adding required PPA file, lets install Nodejs package. NPM will also be installed with node.js. This command will also install many other dependent packages on your system:

Verify the current version of Node.js installed:

Congratulation’s! You have successfully installed Node.js. Thanks for using this tutorial for installing the latest version of Node.js on Debian 9 Stretch server. For additional help or useful information, we recommend you to check the official Node.js web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Cinnamon on Debian 9

Install Cinnamon on Debian 9

In this tutorial we will show you how to install Cinnamon on your Debian 9. For those of you who didn’t know, Cinnamon is an open source project that provides users with a full featured desktop environment for GNU/Linux operating systems. It is a fork of the GNOME Shell user interface distributed with the GNOME project. It has been designed from the ground up to provide users with a traditional, yet advanced and modern graphical session for their Linux-based operating systems. It’s usually deployed on the Linux Mint distribution.

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 Cinnamon Desktop Environmen on a Debian 9 (Stretch) server.

Install Cinnamon on Debian 9 Stretch

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing Cinnamon Desktop Environmen on a Debian.

Use following command will install Cinnamon:

To check the installed version of Cinnamon, please issue the below command on your terminal to check whether Cinnamon is installed or not:

Step 3. Accessing Cinnamon.

If everything goes OK, log out and select log in with Cinnamon session or Cinnamon (Software Rendering) session if you want it use software rendering to do more of the graphical work):

Install Cinnamon on Debian 9 Stretch

Congratulation’s! You have successfully installed Cinnamon. Thanks for using this tutorial for installing the latest version of Cinnamon Desktop Environmen on Debian 9 Stretch server. For additional help or useful information, we recommend you to check the official Cinnamon web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!