Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two linode VPS. I want to create a virtual directory that can be read/write from both machines. The actual data should be stored in /var/myapp/data on two machines. I don't need any redundant data since reliability is not a concern here. All my data in virtual directory should be shared somehow between both my machines.

My PHP App should be able to read/write from the virtual directory Both machines are Ubuntu 10.04.

share|improve this question

1 Answer 1

You can configure NFS on both servers as explained here.

share|improve this answer
    
So I install NFS Server on both machines? –  Ashwin Dec 8 '10 at 10:28
    
You can have NFS client and server on both servers. But, the requried is to have NFS server on one machine and NFS client on the other one. The NFS client will access the folder remotely. The NFS server will access the folder locally as normal. –  Khaled Dec 8 '10 at 10:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.