Lengkap

How To: Add a NFS share between cPanel server (Centos) and data server (Ubuntu)

I have a cPanel WHM server (Centos 7.4) supporting multiple web sites and I need to create a NFS share to allow one of the web clients to access (Read/Write) data (from their php code) to a drive mounted on a remote Data Server (Ubuntu 17.10)

I have created the "mount" on the target data server and exported the share and also created an FSTAB entry in the source cPanel server and these SEEM to work OK (i.e. create the connection).

When I try to access the remote mounted drive from the cPanel server (through BOTH the terminal shell AND the cPanel File Manager) I just get "Permission Errors"

I need someone to:

- Verify my remote mount, export and source FSTAB definitions are correct?

- Tell me the correct definitions for the Remote / Source file permissions

- Tell me what user name / permissions to use (UID's / GID's etc)

DATA SERVER has

the following line in fstab:

/dev/vdb /mnt/data ext3 defaults 0 2

the following line in /etc/exports

/mnt/data/images/v4 [url removed, login to view](rw,sync,root_squash,no_subtree_check)

SOURCE CPANEL WHM SERVER has

the following line in the fstab file

[url removed, login to view]:/mnt/data/images/v4/ /home/comisaudit/public_html/auditimages/ nfs auto,nofail,noatime,nolock,intr,root_squash,tcp,actimeo=1800 0 0

The FOLDER appears in the correct location i.e. home/comisaudit/public_html/auditimages/ BUT no files or sub folders

I have root access to both platforms.

How do i fix this?

Kemahiran: Linux, Sistem Admin, Ubuntu

Lihat lagi: how to add money to paypal, how to add money to my paypal account, how to add money to a paypal account, how to add money on paypal, how to add facebook feed to website, how to add a debit card to paypal, how to add a credit card to paypal, how to add google translator plug in my website, how to add skills in freelancer, how to add php chat to my website, how to add example project, how to add direction to projcet, how to add a photo, how to add a contact on freelancer, how to add a button

Tentang Majikan:
( 5 ulasan ) Reading, United Kingdom

ID Projek: #16678367

Dianugerahkan kepada:

shan2k6

I used to configure NFS shares at least once in a month ; so this is very easy job for me , I am having more than 12 years of linux experience .

$20 USD dalam sehari
(0 Ulasan)
0.0

4 pekerja bebas membida secara purata $21 untuk pekerjaan ini

AhmedSaberfl

I have done similar job before, I have more than 10 years of experience with Linux, Windows, Servers setup, Application Servers, Web Servers and DB administration. I have strong technical skills and I always gettin Lagi

$25 USD dalam sehari
(6 Ulasan)
3.6
$20 USD dalam sehari
(0 Ulasan)
0.0
jbaojunior

the permissions are to destination system. If you use this directory with uid 200, in the source you need put permission for this id. I can do this for you.

$20 USD dalam sehari
(0 Ulasan)
0.0