Ubuntu作業系統中NFS伺服器的搭建

2021-10-07 06:05:12 字數 534 閱讀 4084

客戶端net file system(網路檔案系統),它允許網路間的計算機之間通過tcp/ip網路共享資源,相當於windows下面的共享資料夾。

apt-get install nfs-kernel-server
建立共享目錄
mkdir /usr/local/nfs/
修改配置檔案
vim /etc/exports
新增如下

/usr/local/nfs *(rw,async,no_root_squash)
重啟服務
service nfs-kernel-server restart
掛載伺服器共享目錄
mount ip:sharedir /mnt
如果出現授權失敗mount.nfs: access denied by server while mounting的情況在服務端加入insecure選項重啟服務重新掛載即可

ubuntu作業系統學習筆記之NFS安裝

1 安裝 nfs 服務版 機器 一 機器二都要裝 伺服器端安裝 sudo aptitude install nfs common nfs kernel server portmap 在客戶端則需要安裝 sudo aptitude install nfs common portmap sudo apt...

Ubuntu作業系統中的「哞 」

ubuntu中有乙個彩蛋比較適合中國農曆的牛年,在終端下輸入 apt get moo 顯示乙個牛的圖案,並問你 今天哞了沒有?此外還可以嘗試一下以下命令,體驗一下ubuntu設計者的幽默 leo leo laptop aptitude moo 本程式中沒有復活節彩蛋。leo leo laptop a...

ubuntu作業系統中安裝谷歌Chrome瀏覽器

以下用命令方式安裝goolg chrome瀏覽器,已在ubuntu18.04系統中實驗過 wget wget sudo dpkg i google chrome sudo apt get f install 然後就搞定了!開啟方式,在終端中直接輸入如下命令即可開啟瀏覽器 usr bin google...