DEV Community

Doğukan Eren for Açıklab

Posted on

1

Linux Makinalarda NFS Sunucu Mount Etme (Debian ve RPM )

Önceki yazılarımda Debian ve Red Hat tabanlı Linux Dağıtımlarında NFS Sunucu kurulumlarını açıklamıştım. Bu yazıda oluşturduğumuz NFS paylaşımlarını client makineler üzerinden nasıl kullanabileceğimizi göstereceğim.

1. (Debian) Sistemin Güncellenmesi (Opsiyonel)

sudo apt update
Enter fullscreen mode Exit fullscreen mode
sudo apt get upgrade
Enter fullscreen mode Exit fullscreen mode

1. (Red Hat) Sistemin Güncellenmesi (Opsiyonel)

sudo yum update -y
Enter fullscreen mode Exit fullscreen mode

2. (Debian) NFS Bağlantısını yapmak için gerekli paketlerin Kurulması

sudo apt install nfs-common
Enter fullscreen mode Exit fullscreen mode

2. (Red Hat) NFS Bağlantısını yapmak için gerekli paketlerin Kurulması

sudo yum install nfs-utils
Enter fullscreen mode Exit fullscreen mode

3. NFS paylaşımının Mount edilmesi

sudo mkdir /<Mount etmek istediğiniz dizin adı>

sudo mount -t nfs <NFS sunucusunun IP adresi> : <NFS sunucusunda paylaşılan PATH> /<Mount etmek istediğiniz dizin>
Enter fullscreen mode Exit fullscreen mode

Örnek verecek olursak,

sudo mkdir /nfs-paylasim

sudo mount -t nfs 192.168.2.100:/Data /nfs-paylasim
Enter fullscreen mode Exit fullscreen mode

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay