Skip to main content

Posts

Showing posts from June, 2019

How To manually Install Oracle Java 12 on Debian 9

Java and the JVM (Java's virtual machine) are required for many kinds of software, including Tomcat , Jetty , Glassfish , Cassandra , Jenkins , Gradle , ELK Stack , Graylog and  Eclipse IDE Java Development Kit (JDK) is a package of tools for developing Java-based software, whereas the JRE is a package of tools for running Java code.The JRE can be used as a standalone component to simply run Java programs, but it's also part of the JDK. The JDK requires a JRE because running Java programs is part of developing them. This post is designed to guide you through the manually installation process, of the Java Developer Kit (JDK) using binary formats. While this post will focus on  version 12.0.1  You can still select the version you wish to use for your projects and still be able to use the procedure's detailed here as long as the version that you chose is in binary format. When you finish, you'll be able to use the JDK to develop software or use the Java Runtime t
Laravel is a PHP framework used to develop PHP based applications . Laravel is specially designed for easy and faster development of web applications. It supports multi-platform you can simply install and use on your development system. This post will guide you to install Laravel 5 PHP Framework on Debian 9 (Stretch) system. Server Requirements The Laravel framework has a few system requirements. You will need to make sure your server meets the following requirements: PHP >= 7.1.3 BCMath PHP Extension Ctype PHP Extension JSON PHP Extension Mbstring PHP Extension OpenSSL PHP Extension PDO PHP Extension Tokenizer PHP Extension XML PHP Extension Install Laravel in Debian apt-get update apt install git unzip Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine. curl -sS https://getcomposer.org/installer | php Make sure to place composer's system-wide vendor bin directory in your

How To Install MariaDB and phpMyAdmin on Debian 9

The MariaDB database server is published as free and open source software under the General Public License version 2. It uses a relational database and SQL (Structured Query Language) to manage its data. MariaDB was forked from MySQL in 2009 due to licensing concerns. It can run on anything, anywhere – servers, virtual machines or containers, in a private data center or in the cloud (public, private or hybrid) – and is the default database on leading Linux distributions, including Red Hat Enterprise Linux/CentOS and SUSE Linux Enterprise. Installing MariaDB apt -y install mariadb-server nano /etc/mysql/mariadb.conf.d/50-server.cnf # line 111,112: change like this character-set-server  = utf8 # collation-server      = utf8mb4_general_ci systemctl restart mariadb Initial Settings for MariaDB: Since we are doing fresh installation, we'll need to run the included security script. This changes some of the less secure default options for things like remote

Debian how to create your server's self signed SSL certificates

SSL stands for Secure Sockets Layer in short, it's the standard technology for keeping an internet connection secure and safeguarding any sensitive data that is being sent between two systems. The two systems can be a server and a client (for example, a shopping website and browser) or server to server (for example, an application with personal identifiable information or with payroll information). In general we would say  SSL Certificates protect your sensitive information such as credit card information, usernames, passwords etc. This particular kind of cryptography harnesses the power of two keys which are long strings of randomly generated numbers. One is called a private key and another one is called a public key.A public key is known to your server and available in the public domain. It can be used to encrypt any message. In this post I will show you how to properly configure OpenSSL which  is full-featured toolkit for the Transport Layer Security (TLS) and S

How To Install the Anaconda Python Distribution on Debian 9 And Running a public notebook server

Anaconda Distribution is an open-source package manager, environment manager and distribution of Python and R programming languages. With a collection of 1,000+ open source packages with free community support. Designed for data science and machine learning workflows, you can use it whether you are on Windows, macOS or Linux. The Anaconda distribution ships with the conda command-line package management utility. You can learn more about Anaconda and conda by reading the official Anaconda Documentation . Jupyter is a browser-based interpreter that allows you to interactively work with Python and R. Anaconda provides Jupyter as well. You can think of Jupyter as a digital notebook that gives you an ability to execute commands, take notes and draw charts.It’s primarily used by Data Scientists. But I find that very useful tool if you are learning Python or R. It’s basically the same as working on a shell but much better. The Jupyter notebook web application is based on a

How to create REST API using Django REST Framework

This post begins with already working project and app's, I found that there some few requirement's that my project needed to handle and the best option for those requirement's was to use the Django's  Rest Framework. The way that I will tackle this task is more specific to the needs of the project rather than a one to one how to..., that being said you can still follow along, the approach that I'm going to use is easy to follow since I'll be providing a lot of information a log the way for better understanding of the why and how.....this code is available on Github , enough with the alerts and on with the show. Note:  If you would want to mimic the exactly settings then you will need to enable user authentication on your project you can follow this link for details .  Start with the DRF (Django Rest Framework) installation pip3 install djangorestframework For our app to use DRF, we'll have to add rest_framework into our settings.py.   nan