How to configure NFS server in Linux

+1 vote

Hi Guys,

I want to take storage from another system. So I am trying to use Network File System(NFS) in Linux. But I am not able to configure.

Can someone help me, how can I configure NFS server?

May 27, 2020 in Linux Administration by akhtar
• 38,170 points
140 views

1 answer to this question.

0 votes

Hi@akhtar,

To configure NFS server in your system, you can follow the below given steps.

  • Install NFS server.

$ yum install nfs-utils  // CentOS/RHEL
$ apt-get install nfs-utils  // Ubuntu
  • Create one folder.

$ mkdir /fol1
  • Open /etc/exports file and write ip of your another system

/fol1        ip
  • Start NFS server.

$ systemctl start nfs-server

And your Nfs server is ready.

answered May 27, 2020 by MD
• 95,060 points

Related Questions In Linux Administration

0 votes
1 answer

How to configure SSH server in RHEL/CentOS?

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

answered Mar 30, 2020 in Linux Administration by akhtar
• 38,170 points
156 views
0 votes
1 answer

How to create directory of current username in ruby on Linux server

Hi, The command whoami is used to know ...READ MORE

answered Nov 25, 2020 in Linux Administration by MD
• 95,060 points
60 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,090 points
570 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,090 points
219 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
258 views
+6 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 18, 2018 in Career Counselling by eatcodesleeprepeat
• 4,770 points
3,739 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
927 views
0 votes
1 answer

How to configure FTP server in Linux System?

Hi@akhtar, You need to install vsftpd software in ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,060 points
101 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

answered Apr 21, 2020 in Linux Administration by MD
• 95,060 points
85 views