Skip to main content

Posts

Showing posts with the label lab
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 option...

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 (...

Implement singly linked list in java

One disadvantage of using arrays to store data is that arrays are static structures and therefore cannot be easily extended or reduced to fit the data set. Arrays are also expensive to maintain new insertions and deletions. In this article we take a look at another data structure called Linked Lists that addresses some of the limitations of arrays. We will see how to implement singly linked list in java, you can also watch the following video for better understanding of data structure A linked list is a linear data structure where each element is a separate object. It is one of the most used data structure. In singly linked list, Node has data and pointer to next node. It does not have pointer to the previous node. Last node ‘s next points to null, so you can iterate over linked list by using this condition. Node for linked list can be presented as below: // A simple Java program to introduced single linked list public class LinkedListexercise2 { N...

hands on stackflowos

Data center security is fairly well-understood on a physical level: hardware-based firewalls mitigate threats at the perimeter of the data center. IPS devices may be deployed inline within the data center. VLANs and the StackflowOs  Virtual Fabric feature provide a certain amount inherent separation, and Virtual Private Networks (VPNs) provide secure access to data center resources for remote clients. Of greater concern for most IT managers in a multitenant environment is securely isolating each tenant’s data flows from other tenants operating on the same server. To address these concerns, the StackflowOs also serves as virtual security appliance for each tenant, providing stateful firewall between tenants, as shown on the diagram below and for in-depth coverage watch the video below The following video will guide you on how you can use the StackFlowOs to build SDN enable network

How to set up a personal private cloud "ALL-IN-ONE COOL TOOLS"

How to have have funny, More than just a game "ALL-IN-ONE LAB Session" The combination of Ubuntu 14.04 Virtual box, Vagrant, Openvswitch, LXC, Docker and Pox controller, gives you the opportunity to create a great lab environment on a single workstation.The solution I am outlining in this article is not intended for a production network, but for personal testing on a single host.. When I build a lab I like it to be isolated from any production network but also flexible enough to get Internet access from/to the lab. Workflow Ubuntu 14.0.4 OS I assume you already have Ubuntu 14.0.4 installed. Assign static ip address to it. In this example, network manager was disabled during os installation, make sure you disable the network manager before proceeding, the Ubuntu box is assign 192.168.10.253 nano /etc/network/interface Workflow Virtualbox and Vagrant VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home...