How to install docker-compose in Linux

Docker-compose is an official tool by docker to manage and deploy multi-container applications. Docker-compose uses a YAML file where application services are defined. If you have any confusion between docker-compose and docker stack check out this link. Installation Step 1: Download the docker-compose for your operating system. Step 2: Change the ownership of the downloaded file. This enabled executable permission Step 3: Check the docker-compose version Troubleshooting if the docker-compose command fails, create a symbolic link to the bin folder. sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose © 2020, Techrunnr. All rights…

Read More

configure aws cli for multiple accounts

AWS CLI helps to manage and administrate AWS resources from the command line rather than opening up the AWS management console. AWS CLI is very useful when you lot of automation tasks etc. For example, if you need to stop /start an EC2 instance every day, you can use AWS CLI for that. and place it in a cron job. Check this link to setup aws cli in Linux. If you see the above link it shows you how to configure aws cli for your aws account. Let’s say what…

Read More

Nexus repository as a docker registry

Nexus is a repository manager that helps to collect, proxy, and manage your dependencies in one place. This is a place where you can keep all your artifacts such as libraries, dependencies, etc. To be more clear lets you are developing an application and you have to create a custom Jar module where you want all your developers to use the same for the rest of the module development. If you don’t want other developers to develop the same jar on their own, you publish this kind of dependencies to…

Read More

how to push docker container logs to elk stack

Hi All, This document shows you how to push docker container logs to elk stack. ELK is Elasticsearch, Logstash, and Kibana. ELK is a log analysis platform where users can analyze, visualize, and search. when a docker container runs there are some logs are generated based on the application which runs in the container. These logs can be viewed using docker logs <continer-ID>. you can see the logs of the container using the docker service logs service name if containers are deployed using docker service. docker logs <containerID> shows the…

Read More

docker-compose and docker stack

Docker is a platform that depends on the operating system in applications that are packaged and deployed as containers. By using docker, the applications which designed in a way of microservices architecture deployments became very easy and scalable compared to the monolithic architecture. Most of the people who are new to docker have confusion what is the difference between docker-compose and docker stack. Let’s look into the difference from each search ¬†Installation Docker-compose is an official tool by docker which can be used to manage and build a docker image…

Read More

Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline

Hi All, this document deals with how to fix ERROR 1118 (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. These messages indicate that the table’s definition allows rows that the table’s InnoDB row format can’t actually store. The Below configuration fixed my issue.   Restart MySQL or MariaDB restart or   © 2020, Techrunnr. All rights reserved.

Read More

explanation of bind address-from a security point of view

hi all, this document deals with the explanation of bind address-security. You might have heard about bind-address when configuring certain applications such as Redis, MongoDB, elasticsearch, etc wherein the configuration to choose or configure bind address. Initially, during my starting of my career, I was not knowing what is the use of configuring bind addresses during I do some of the installations. Later going to through hardening servers came to know how important is configuring bind addresses it is. Bind address as the name indicates to which address the service…

Read More

how to install nodejs from source

Hi All, This document shows you how to install nodejs from the source. Node.js is an open-source, cross-platform, back end, JavaScript runtime environment that executes JavaScript code outside a web browser Step 1: Download your respective node version from the below link Im downloading 8.11.3 as there is my source code compatibility issue with other latest version. Make sure that you download the source code one. Step 2: Extract the downloaded package Step 3: Compile the source code Step 4: install the package This is gonna be long process, be…

Read More

how to install clickhouse

Hi All, this document deals with how to install click house ClickHouse is an open-source column-oriented DBMS for online analytical processing. ClickHouse was developed by the Russian IT company Yandex for the Yandex. Metrica web analytics service. ClickHouse allows analysis of data that is updated in real time. The system is marketed for high performance Step 1: check if your system is compatible for the installation. Check if your system allows SSE(Streaming SIMD Extensions). if the output is SSE 4.2 supported then proceed with the further installations. Step 2: Install…

Read More

how to install influxdb on centos/ubuntu

Hi all, this document shows how to install influxdb on centos/ubuntu nfluxDB is an open-source time series database developed by InfluxData. It is written in Go and optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, Internet of Things sensor data, and real-time analytics For ubuntu Step 1: Add the repository and sign the pgp key Step 2: Update the system repository and install influxdb For centos Step 1: Add the repository Step 2: Update the system repository and install…

Read More