Setup MongoDB Docker Container

Docker is becoming main streamline to package and deploy self sufficient application containers. It wrap up a piece of software in a complete file system that contains everything it needs to run: code, run-time, system tools, system libraries – anything you can install on a server. This guarantees that it…

Continue reading

Install Docker Compose on Ubuntu 16.04

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. Compose is great for development, testing, and staging environments, as well as…

Continue reading

Setup MySQL Docker Container

Docker is becoming mainstreamline to package and deploy self sufficient application containers. It wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always…

Continue reading

Install Docker on Ubuntu 16.04 LTS

Docker is an open source project to pack, ship and run any application as a lightweight container. Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server.…

Continue reading

MariaDB Galera Cluster on CentOS 7

MariaDB Galera Cluster is a combination of MariaDB Server and MySQL-wsrep patch from Codership. It is synchronous multi-master cluster available on for Linux/Unix environment and only supports InnoDB/XtraDB storage engines. This article talks about setup of MariaDB Galera Cluster 10.1 on Centos 7.2 in a HA (High Availability) Cluster. The…

Continue reading

Password expiration policy in MySQL Server 5.7.17

Password expiration enables database administrators to expire account passwords manually, and to establish a policy for automatic password expiration. It is one of the great feature. The table mysql.user has password_expired column. Its default value is ‘N’, but can be set to ‘Y’ with the new ALTER USER statement. There…

Continue reading

Linux z commands: zcat, zcmp, zdiff, zgrep

Linux z commands are very useful commands. Some of the z command are temporally uncompress in /tmp directory to perform the operation. It gives a peace of mind, as you don’t have to worry about the overhead of uncompression. Z Commands Here’s the list of useful z commands. Open/View compressed…

Continue reading

Configure Django applications with apache, wsgi and MySQL on CentOS 7

Django is popular Web framework for writing web applications. With django you can built faster and scalable applications, without writing the code from scratch (without reinventing the wheel). Web framework were design to aid programmer to create applications. These web framework are the core and takes care of functionalities like…

Continue reading

Setup Django with MySQL on CentOS 7

Django is popular Web framework for writing web applications. With django you can built faster and scalable applications, without writing the code from scratch (without reinventing the wheel). Web framework were design to aid programmer to create applications. These web framework are the core and takes care of functionalities like…

Continue reading

Install MySQL 5.7 and Python Connector on CentOS 7

MySQL is the most popular database management system used for powering web applications. MariaDB becomes the default database and MySQL is no longer available in CentOS 7. MariaDB is a drop in replacement for MySQL. In order to install MySQL, we have to install MySQL repository from mysql.com site. Add…

Continue reading