An wrote: > Hi, > in production I have 2 debian servers to which my app is deployed: > the first has a public IP and serves as webserver and the second has a > private IP and is used for database and other scripts running. > > The scripts that are running saves some files on the second server > that should be accessed from the first server. > Is there an easy way to mount/link (?) the directories I need to be > accessed from both servers? > > Thanks, > Andrea mount that second server directory into you web server machine (in public) use "sshfs" tool for file mounting , it is very fast
sshfs [EMAIL PROTECTED]:/remote/directory /local/machine/remote_directory/ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---