Ubuntu or Linux error: Error: EACCES: permission denied, mkdir ‘/opt/lampp/htdocs/node_modules/node-sass/vendor’

How I got this error:I got this error while running command: npm install in one of my project directory located at /opt/lamoo/htdocs What was the Error: root@ip-ip-address:/opt/lampp/htdocs/[projectName]#…

Read More

How to install latest version of nodejs in Ubuntu or Linux

Steps:1. Login to Ubuntu or Linux machine using ssh client like putty 2. Run command: sudo -s3. Run command: sudo apt-get install curl4. Run command: curl -sL…

Read More

Linux Tutorials: How to setup SSH keys on Ubuntu/ Linux

Introduction:If you want to clone a repository from gitlab, github or bitbucket in your Ubuntu machine then you may need to setup SSH Keys in ubuntu and…

Read More

How to install composer in Ubuntu or Linux machine

To install Composer on your Ubuntu or Linux system, perform the following steps: 1. Check if you have PHP installed and configured properly. If not then please…

Read More

How to link php from XAMPP installation to use php command from user or any other directory in Ubuntu or Linux

Assumption:I assume that you have already installed XAMPP in your Ubuntu OR Linux machine.If not, then you may follow this link to do so: https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/ How I…

Read More

Docker Error: Auzre RHEL 7.4 “Requires: container-selinux >= 2:2.74”

Solutions: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…

Read More

How to keep putty SSH connections alive

Introduction: This article describes how to keep SSH connections alive. If you experience problems when using SSH, such as dropped or unresponsive connections, you may need to…

Read More

npm error on Linux: Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x

Environment:Linux 64-bitLaravel 5.5Node.js 12.x How I got this error:I made some changes in one of the js file of my project. Hence, I needed to rebuild the…

Read More

Ubuntu, Linux, Unix vi error: swap file .swp already exists

Command that gave me error:vi .env or vi <any file name that starts with a “.” that means it’s a hidden file> Error: Swap file .env.swp already…

Read More

Xampp : Starting Apache …fail : Ubuntu Server Error

i installed xampp in my ubuntu server in virtual box and when i am running below command. then showing Starting Apache …fail. sudo /opt/lampp/lampp start Error :…

Read More

Linux Interview Questions and Answer – Part 11

It is common for source packages to be downloaded to which directory? /src /usr/src (Ans) /home /usr/bin Using lsof which character is used to filter by host…

Read More

Linux Interview Questions and Answer – Part 10

How can we use lsof to display open ports? lsof -i lsof -w lsof -u sudo lsof -i (Ans) On SUSE which file stores the static hostname…

Read More

Docker Error – Requires: container-selinux >= 2:2.74

Error\ Solution Go to http://mirror.centos.org/centos/7/extras/x86_64/Packages/ Find the latest version for container-selinux i.e. container-selinux-2.21-1.el7.noarch.rpm Run the following command on your terminal: $ sudo yum install -y yum install…

Read More

Setup NFS server and use inside a Kubernetes pods in RHEL/CENTOS7

Setup a NFS server in one of the node of Kubernetes Cluster using rhel 7.X Validate NFS server is working Manually Using NFS server in Kubernetes Pods…

Read More

List of Free Tools for Tabbed Multiple Linux SSH / Putty sessions

PuTTY Connection Manager PuTTY Connection Manager was mentioned in the 12 PuTTY add-ons. One of the major missing features in PuTTY is the ability to display multiple…

Read More

What is Linux? Which is the Best Source of Linux Training and Certification?

Hi Friends, If you are looking for a Career in Linux but you are not very sure if it’s the right decision, then you have landed in…

Read More

Terraform Error: Failed to read ssh private key: no key found

Solutions private_key – The contents of an SSH key to use for the connection. These can be loaded from a file on disk using the file function….

Read More

Linux Interview Questions and Answer – Part 9

What is a tunnel and how you can bypass a http proxy? What is the difference between IDS and IPS? What shortcuts do you use on a…

Read More

Linux Interview Questions and Answer – Part 8

What do the following commands do and how would you use them? tee awk tr cut tac curl wget watch head tail less cat touch sar netstat…

Read More

Linux Interview Questions and Answer – Part 7

What is the name and the UID of the administrator user? How to list all files, including hidden ones, in a directory? What is the Unix/Linux command…

Read More

DevOps Interview Questions and Answer – Part 3

What did you learn yesterday/this week? Talk about your preferred development/administration environment. (OS, Editor, Browsers, Tools etc.) Tell me about the last major Linux project you finished….

Read More

SysOps Interview Questions and Answer – Part 1

What is your favorite editor? What is RAID? What is RAID0, RAID1, RAID5, RAID10? Describe the general file system hierarchy of a Linux system. Describe what each…

Read More

Linux Interview Questions and Answer – Part 6

script/command to delete last word from every line in a file 2.script/command to find the files with more than 1gb size What is Swap Space? What is…

Read More

Linux Interview Questions and Answer – Part 5

How to check the logs? Difference between Journalctl & tail command? What does the subscription-manager do? How to archive a file? What is umask? How to kill…

Read More

Linux Interview Questions and Answer – Part 4

What is MAC address? can we change the physical address? How to check system uptime? How to check memory information? What is SWAP? What is the exact…

Read More

Linux Interview Questions and Answer – Part 3

What is SetGID, SetUID & Stickybit? Location where all the user information are stored? File where user password are stored? What is the default permission of a…

Read More

Linux Interview Questions and Answer – Part 2

What is Linux? What are Linux OS Flavors? Difference between Debian & RPM based OS? What is Kernel? Explain the boot process of Linux OS? How is…

Read More

How to enable http Proxy Settings for Yum Command on RHEL / CentOS Servers?

No username and password required: To configure proxy without username and password: export http_proxy=http://SERVER:PORT/ Username and password authentication: To configure the proxy server with username and password…

Read More

Error – No package php-mbstring and php-bcmathavailable in RHEL 7

Errors Solutions Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I…

Read More

Setting up Kubernetes Clusters using Kubeadm Manual way in Ubuntu 16.04 Xenial

What is Kubeadm? Kubeadm helps you bootstrap a minimum viable Kubernetes cluster that conforms to best practices. Kubeadm is a tool built to provide kubeadm init and…

Read More