Tag Archives: Linux

Install and Configure Grafana in RHEL 7

Install and Configure Grafana in RHEL 7 Step 1 – Download & Install Grafana Download Grafana RPM file RPM for Linux from https://grafana.com/grafana/download?platform=linux # RHEL 7 $ sudo yum install initscripts fontconfig -y $ wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.2-1.x86_64.rpm $ sudo yum localinstall grafana-5.2.2-1.x86_64.rpm Step 2 – Understand Grafana Installation details in RHEL/CENTOS Installs binary to /usr/sbin/grafana-server Copies… Read More »

What is SELinux and how its SELinux used in Docker?

What is SELinux and how its SELinux used in Docker? There are three popular solutions for implementing access control in Linux: SELinux AppArmor GrSecurity Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies. It is a security feature of the Linux kernel. It is designed… Read More »

Configuring NFS to access the files from remote Linux machine as a mount point

I have a 2Tb of storage on a linux box, and i want to use that storage as a mount point from another machine. As a root user on the remote machine, specify the mount point details $cat /etc/exports /scratch *(rw) /fusionapps *(rw,no_root_squash) And restart the NFS sudo /etc/rc.d/init.d/nfs restart (All services should be in  running… Read More »

Linux User Management

ac Print statistics about users’ connect time. accton Turn on accounting of processes. To turn it on type “accton /var/log/pacct”. adduser Ex: adduser mark – Effect: Adds a user to the system named mark chage Used to change the time the user’s password will expire. chfn Change the user full name field finger information chgrp… Read More »

Disable IPv6 and Enable IPv4 in Red Hat Linux

rajeshkumar created the topic: Disable IPv6 and Enable IPv4 in Red Hat Linux Disable IPv6 and Enable IPv4 in Red Hat Linux check “disable_ipv6″ file to check if IPv6 is disabled,enter: [root@devops ~]# cat /proc/sys/net/ipv6/conf/all/disable_ipv6 0 if you get “0” value, it means that IPv6 is enabled and “1” means it is disabled. How to… Read More »

Answer some of Linux admin questions…

scmuser created the topic: Answer some of Linux admin questions… 1. How to send an email | check email | reply email attachment using command line?? 2. How do you connect to the internet in linux? 4. How can i restrict a aceess of the file? (Add user, add group)

Starting sonar issues in linux

scmuser created the topic: Starting sonar issues in linux Hi, when I am starttign a sonar, I am getting following error… Any help? Starting sonar…./sonar.sh: line 490: /usr/local/sonar-2.2/bin/linux-x86-64/./wrapper: cannot execute binary file

How to access windows share folder from linux

scmuser created the topic: How to access windows share folder from linux Hi, Can you tell me How to access windows share folder from linux? Reagrs, scm scmuser replied the topic: Re:How to access windows share folder from linux I found solution 1: Press Alt+f2 and put following shared link such as smb://10.4.40.88/Share in the… Read More »

List all the Grups and users in linux

scmuser created the topic: List all the Grups and users in linux Hi, How can we list our all the users in Linux? How to list all the users created in linuz machine? rajeshkumar replied the topic: Re: List all the Grups and users in linux Following command will work for you…. less /etc/passwd less… Read More »

Nested for loop in Linux Shell Script

scmuser created the topic: Nested for loop in Linux Shell Script As you see the if statement can nested, similarly loop statement can be nested. You can nest the for loop. To understand the nesting of for loop see the following shell script. $ vi nestedfor.sh for (( i = 1; i