Setup nfs server on Amazon Ec2

The Network File System (NFS) is a client/server application that lets a computer user view and optionally store and update files on a remote computer as though they were on the user’s own computer. The NFS protocol is one of several distributed file system standards for network-attached storage (NAS). Setup NFS Server In my case, I have a new EBS volume which is mounted to nfs server on location /backup. I need this volume to be mounted on some of the other servers. Step 1: Install NFS-server packages   Step…

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 set up folder-based access for svn repository

Hi All, This document deals with how to set up folder-based access for svn repository. SVN or subversion one of the other opensource version control tools. This can be used as a source control management system if you are not looking for any many features that git and other source tools provide. Sometimes there are some needs for you to provide folder-based access on your project for certain users. Some people may need to read or some need to read-write access. This document deals with the above-mentioned scenario. I hope…

Read More

php-imap Requires: libc-client.so.2007()(64bit) error on centos

php

HI All, this document deals with php-imap Requires: libc-client.so.2007()(64bit) error on centos. I have faced this error during the installation of PHP-IMAP on one of the servers. After googling found this issue is happening due to dependency with the libc-client package which is not installed in my centos machine. Fix Step 1: Download and install the rpm package based on your Linux distribution from the below link https://www.rpmfind.net/linux/rpm2html/search.php?query=libc-client.so.2007()(64bit) In my case it is centos 6 , so I have chosen this package https://www.rpmfind.net/linux/centos/6.10/os/x86_64/Packages/libc-client-2007e-11.el6.x86_64.rpm Install the package yum install https://www.rpmfind.net/linux/centos/6.10/os/x86_64/Packages/libc-client-2007e-11.el6.x86_64.rpm step…

Read More

how to wipe your system data secure

linux basic

HI all, this document helps you how to wipe your system data secure. There are certain cases you need to sell or decommission HDD. Sometimes you might have stored some important data in the disk. So before that, you might need to wipe the data securely. So here we are using random digits which writes on the disk. Here is the step which I have followed before reselling my laptop. 1. Boot the live CD 2. Select try ubuntu while booting rather than installing 3. Once ubuntu is fully loaded,…

Read More

how to increase max clients in Redis

Hi All, this documents deal with how to increase max clients in Redis. Redis is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indexes. Sometimes there is a need to increase or decrease maximum client connections to the Redis server. So here we will show you how to tune this. Configuration Step 1: First update below configuration Redis service file which increases the…

Read More

libgnome-keyring.so.0: cannot open shared object file: No such file or directory

Hi Readers, you might faced  /usr/local/pulse/pulseUi: error while loading shared libraries: libgnome-keyring.so.0: cannot open shared object file: No such file or directory I faced this issue while installing pulse secure, where the libgnome-keyring package is missing because, for this reason, the package is not running. After googling I found the respective package for this and this tutorial only for ubuntu users especially ubuntu 18.04. FIX       © 2020, Techrunnr. All rights reserved.

Read More

Error: rpmdb open failed

linux basic

Hi All, this document how to fix Error: rpmdb open failed . This is an issue due to the yum package is broken. The reason for breaking can be power failure , unexpected interruption while using yum, etc. Below is the full error, How to fix? Move the yum repository folder 2. Clean the yum repo 3. Now perform the yum update.       Cheers !!!!! 🙂 © 2020, Techrunnr. All rights reserved.

Read More

switch to zsh for acitive directory user

linux basic

Hi All, this document shows you how to switch default bash shell to zsh for an active directory user. By default, all the Linux users are created with bash as their default shell.  You can change your shell  using below command, or you can change in /etc/passwd file also. It’s a bit complicated when you use LDAP authentication for your Linux laptop. Why it is complicated means user details are not stored in /etc/passwd file. In order to change the shell for an LDAP authenticated user from bash to zsh,…

Read More