Most voted questions in Linux Administration

0 votes
1 answer

Proxy Error the proxy server received an invalid response from an upstream server.

Hi@akhtar, I think you did not configure your ...READ MORE

Apr 22, 2020 in Linux Administration by MD
• 95,460 points
3,934 views
0 votes
1 answer

How to configure Haproxy load balancer?

Hi@akhtar, Yes you can implement load balancing concept ...READ MORE

Apr 22, 2020 in Linux Administration by MD
• 95,460 points
874 views
0 votes
1 answer

How to install httpd web server in Linux?

Hi@akhtar, To install httpd web server in CentOS/RHEL ...READ MORE

Apr 21, 2020 in Linux Administration by MD
• 95,460 points
788 views
0 votes
1 answer

How to change port no 80 of httpd webserver?

Hi@akhtar, You can change port no of httpd ...READ MORE

Apr 21, 2020 in Linux Administration by MD
• 95,460 points
2,359 views
0 votes
2 answers

activation of network connection failed in Linux.

नेटवर्क कनेक्शन चाहिए READ MORE

Aug 18, 2020 in Linux Administration by anonymous
• 140 points
17,246 views
0 votes
1 answer

not able to run netstat-tnlp in Linux.

Hi@akhtar, In Linux system netstat-tnlp command comes from ...READ MORE

Apr 16, 2020 in Linux Administration by MD
• 95,460 points
1,009 views
0 votes
1 answer

group apache does not exist - using root.

Hi@akhtar, When we install apache wevserver in our ...READ MORE

Apr 14, 2020 in Linux Administration by MD
• 95,460 points
3,981 views
0 votes
1 answer

How many partitions can be created from hard disk?

Hi@akhtar, You can make four primary partitions in ...READ MORE

Apr 8, 2020 in Linux Administration by MD
• 95,460 points
2,813 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

Apr 7, 2020 in Linux Administration by MD
• 95,460 points
1,144 views
0 votes
1 answer

How to set key based authentication in remote machine?

Hi@akhtar, You can set key based authentication in ...READ MORE

Apr 1, 2020 in Linux Administration by MD
• 95,460 points
703 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

Mar 31, 2020 in Linux Administration by MD
• 95,460 points
4,415 views
0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

Hi@MD, To configure SSH server to your system, ...READ MORE

Mar 30, 2020 in Linux Administration by akhtar
• 38,260 points
1,015 views
0 votes
0 answers

Trying to configure rsyslog server but I am facing challanges

Here are the steps which i have ...READ MORE

Mar 5, 2020 in Linux Administration by anonymous
• 120 points
669 views
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

Feb 24, 2020 in Linux Administration by MD
• 95,460 points
47,028 views
0 votes
1 answer

How to install python-poster in RedHat?

Hi@akhtar, To install python-poster in RedHat/CentOs, you can ...READ MORE

Feb 11, 2020 in Linux Administration by MD
• 95,460 points
915 views
0 votes
0 answers

Two SSL cert. How to tell Nginx which one to use?

I have two SSL certs (I have ...READ MORE

Dec 13, 2019 in Linux Administration by Hannah
• 18,540 points
693 views
0 votes
1 answer

Auto renewal of SSL certificates

You can something called cron job. Basically ...READ MORE

Dec 13, 2019 in Linux Administration by Aron
1,052 views
0 votes
1 answer

Enable https on a Linux system

Hi @hannah, you can execute the following ...READ MORE

Dec 13, 2019 in Linux Administration by Priyaj
702 views
0 votes
1 answer

Deploy a static website on a webserver

Hi @hannah. You are right, you need ...READ MORE

Dec 13, 2019 in Linux Administration by Travis
2,543 views
0 votes
2 answers

How to change IP address of an Ubuntu VM?

The easiest method is through network manager: 1- ...READ MORE

Aug 25, 2020 in Linux Administration by Pistle
• 300 points
14,332 views
0 votes
0 answers

Error while opening Edureka VM on virtual box

Hi Team, I am using windows 10 machine ...READ MORE

Sep 24, 2019 in Linux Administration by Kiran
• 120 points
863 views
0 votes
1 answer

dpkg error: dpkg status database is locked by another process

First run: lsof /var/lib/dpkg/lock Then make sure that process ...READ MORE

Aug 27, 2019 in Linux Administration by Sirajul
• 59,230 points
5,997 views
0 votes
1 answer

How do i enable universe repository in Ubuntu 18.04?

If you want in one command and ...READ MORE

Aug 27, 2019 in Linux Administration by Sirajul
• 59,230 points
7,309 views
0 votes
1 answer

Install aptitude on Ubuntu

You just have to run one single ...READ MORE

Aug 26, 2019 in Linux Administration by Barca
5,466 views
0 votes
1 answer

Linux tar: gzip: stdin: unexpected end of file

The error you're getting may be because ...READ MORE

Aug 9, 2019 in Linux Administration by Kunal
55,180 views
0 votes
1 answer

apt-get update takes no argument

The command  sudo apt-get update is used to update ...READ MORE

Jul 30, 2019 in Linux Administration by Vinci
22,657 views
0 votes
1 answer

How to execute a linux command repeatedly after a set time?

To watch the step every say 30 ...READ MORE

Jul 26, 2019 in Linux Administration by ajs3033
• 7,300 points
1,027 views
0 votes
1 answer

Input file name in the mapper in a Hadoop program

Try this inside your mapper : FileSplit fileSplit ...READ MORE

Jul 23, 2019 in Linux Administration by Shubham
• 13,490 points
3,163 views
0 votes
1 answer

HTTP POST and GET using cURL

You can just add | grep }| ...READ MORE

Jul 22, 2019 in Linux Administration by Upasana
• 8,620 points
972 views
0 votes
1 answer

awk: to print all columns from the nth to the last

the following will print all but the ...READ MORE

Jul 19, 2019 in Linux Administration by Shubham
• 13,490 points
8,830 views
0 votes
1 answer

How to have the cp command create only if necessary folders while copying a file to a destination

mkdir -p /foo/bar && cp myfile "$_" ...READ MORE

Jul 19, 2019 in Linux Administration by Shubham
• 13,490 points
1,347 views
0 votes
1 answer

How to Unblock SSH and FTP Access to Specific IP in Linux?

Firewalls(most of them) can either Reject or ...READ MORE

Jul 16, 2019 in Linux Administration by Archana
• 5,640 points
15,237 views
0 votes
1 answer

copy and create destination directory using bash

mkdir -p "$d" && cp file "$d" try ...READ MORE

Jul 16, 2019 in Linux Administration by Upasana
• 8,620 points
820 views
0 votes
0 answers

How to display content part in seeddms full-text index info?

          I have installed the seeddms in ...READ MORE

Jul 15, 2019 in Linux Administration by nmentityvibes
• 420 points
1,414 views
0 votes
1 answer

Command to tar directory excluding certain files/folders

$ tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz . Try ...READ MORE

Jul 13, 2019 in Linux Administration by Shubham
• 13,490 points
1,249 views
0 votes
1 answer

Change the output colour of echo

Try using ANSI escape codes as the following; Black ...READ MORE

Jul 13, 2019 in Linux Administration by Shubham
• 13,490 points
685 views
0 votes
1 answer

Centos 7 network setup

Power off the VM and then go ...READ MORE

Jul 5, 2019 in Linux Administration by Vasini
1,046 views
0 votes
1 answer

Error: tkinter for Python Installation

It isn't easy to install Tkinter locally ...READ MORE

Jul 4, 2019 in Linux Administration by Upasana
• 8,620 points
935 views
0 votes
1 answer

Running scripts as a different user without password

You'll have to edit you sudoers file ...READ MORE

Jul 3, 2019 in Linux Administration by DareDev
• 6,890 points
2,199 views
0 votes
1 answer

Display shared libraries used by executables in linux

In order to do this, you need ...READ MORE

Jul 3, 2019 in Linux Administration by ajs3033
• 7,300 points
1,362 views
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

Jul 2, 2019 in Linux Administration by Gitika
• 65,890 points

edited Jul 2, 2019 by Gitika 2,608 views
0 votes
1 answer

Using shell variables in an awk script

Using -v is, imo, The best way because ...READ MORE

Jul 1, 2019 in Linux Administration by Shubham
• 13,490 points
2,609 views
0 votes
1 answer

Can I analyze a program's core dump file with GDB when it has command-line parameters?

You can simply use of GDB, to debug ...READ MORE

Jul 1, 2019 in Linux Administration by Shubham
• 13,490 points
8,002 views
0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

Jun 28, 2019 in Linux Administration by Upasana
• 8,620 points
2,810 views
0 votes
2 answers

How do I use a shell script to SSH in to a remote machine to execute commands?

Sorry in advance for any formatting. Check out ...READ MORE

Feb 7, 2021 in Linux Administration by anonymous
17,203 views
0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

Jun 21, 2019 in Linux Administration by DareDev
• 6,890 points
908 views
0 votes
1 answer

Running a cron job at fixed intervals of time

Just use this instead: 0,30 * * * ...READ MORE

Jun 21, 2019 in Linux Administration by ajs3033
• 7,300 points
908 views
0 votes
1 answer

Difference between root (/) and home directory (~) in terminal?

Root directory which is referred to as ...READ MORE

Jun 20, 2019 in Linux Administration by Vicky
27,414 views
0 votes
1 answer

CentOS Error: 64 bit bad ELF interpreter

In my experience, a single yum command will ...READ MORE

Jun 20, 2019 in Linux Administration by Shubham
• 13,490 points
2,138 views