简体   繁体   English

从linux中的其他机器挂载文件夹

[英]Mounting a folder from other machine in linux

I want to mount a folder which is on some other machine to my linux server. 我想将其他机器上的文件夹挂载到我的linux服务器上。 To do that i am using the following command 为此,我使用以下命令

mount -t nfs 192.xxx.x.xx:/opt/oracle /

Which is executing with the following error 哪个正在执行以下错误

mount.nfs: access denied by server while mounting 192.xxx.x.xx:/opt/oracle

Do anyone knows what's going on ??? 有谁知道发生了什么? I am new to linux. 我是linux的新手。

Depending on what distro you're using, you simply edit the /etc/exports file on the remote machine to export the directories you want, then start your NFS daemon. 根据您正在使用的发行版,您只需编辑远程计算机上的/etc/exports文件以导出所需的目录,然后启动NFS守护程序。

Then on the local PC, you mount it using the following command: 然后在本地PC上使用以下命令安装它:

mount -t nfs {remote_pc_address}:/remote/dir /some/local/dir

Please try with your home directory as per my knowledge you can't dump anything directly on root like that. 请根据我的知识尝试使用您的主目录,您不能直接在根目录上转储任何内容。

For more reference, find full configuration steps here . 有关更多参考,请在此处查找完整的配置步骤

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将NFS文件夹安装到远程机器上(两台机器都在Red Hat Linux上) - Mounting NFS Folder on to a Remote Machine (Both machines are on Red Hat Linux) 如何将文件夹从Linux机器转移到Windows - how to transfer folder from linux machine to windows 从Windows和Linux从Linux机器访问文件夹 - Accessing folder from Linux machine from Windows and linux 使用java代码从linux机器访问共享文件夹 - Access shared folder from linux machine using java code 将文件夹从服务器(Linux)复制到python中的本地计算机(windows) - Copy folder from server(Linux) to local machine(windows) in python 从Linux机器将mySQLdump转储到远程服务器上的已安装Windows文件夹 - mySQLdump from Linux machine to a mounted Windows folder on a remote server 如何通过ftp从一台Linux计算机(客户端)传输加密文件并在另一台Linux计算机(服务器)上解密 - how to transfer encrypted files from one linux machine(client) over ftp and decrypt on other linux machine(server) 需要通过 SFTP 将文件从一台 Linux 机器传输到另一台 Linux 机器 - Need to Transfer Files from One Linux Machine to Other Linux Machine via SFTP 如何将整个文件夹从 Amazon EC2 Linux 实例复制到本地 Linux 机器? - How to copy entire folder from Amazon EC2 Linux instance to local Linux machine? Linux:如何在不登录的情况下将文件从一个文件夹移动到远程计算机中的另一个文件夹 - Linux : How to move a file from one folder to another folder in a remote machine without logging in
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM