SUSE 11 NFS server/client 安裝配置
NFS Server:
1. 用yast安裝nfs-kernel-server包,SUSE linux 11的光碟中自帶
2. 修改 /etc/export,加入下面一行:
3. sudo /etc/intit.d/nfsserver start (或者 sudo service nfsserver start)
4.如果nfsserver已經啟動,編輯export後只需要執行exportfs -a 即可生效
5. 檢視NFS server的設定
exportfs -v
/nfscontents(rw,wdelay,crossmnt,insecure,root_squash,no_subtree_check,fsid=0)
6. 執行yast,在firewall設定裡允許nfs服務
NFS Client:
1. 先執行rpcinfo -p 192.168.131.11,看看NFS伺服器的RPC服務是否正常
rpcinfo -p 192.168.131.11
program vers proto port
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
2.直接執行mount命令
mount -t nfs -o rw 192.168.131.11:/nfsfolder /nfsfolder
3. 修改/etc/fstab的方法,修改後執行mount -a即可生效
3.1先umount /nfsfolder/
3.2修改/etc/fstab,加入:
192.168.131.11:/nfsfolder /nfsfolder nfs rw 0 0
3.3 執行mount -a生效
3.4 執行mount -v檢視是否成功
192.168.131.11:/nfsfolder on /nfsfolder type nfs (rw,addr=192.168.131.11)
啟動nfsv4:
nfs server - 修改/etc/sysconfig/nfs為NFS4_SUPPORT="yes"
nfs client - mount -t nfs4 -o rw 192.168.131.11:/nfsfolder /nfsfolder
1. 用yast安裝nfs-kernel-server包,SUSE linux 11的光碟中自帶
2. 修改 /etc/export,加入下面一行:
3. sudo /etc/intit.d/nfsserver start (或者 sudo service nfsserver start)
4.如果nfsserver已經啟動,編輯export後只需要執行exportfs -a 即可生效
5. 檢視NFS server的設定
exportfs -v
/nfscontents
6. 執行yast,在firewall設定裡允許nfs服務
NFS Client:
1. 先執行rpcinfo -p 192.168.131.11,看看NFS伺服器的RPC服務是否正常
rpcinfo -p 192.168.131.11
program vers proto port
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
2.直接執行mount命令
mount -t nfs -o rw 192.168.131.11:/nfsfolder /nfsfolder
3. 修改/etc/fstab的方法,修改後執行mount -a即可生效
3.1先umount /nfsfolder/
3.2修改/etc/fstab,加入:
192.168.131.11:/nfsfolder /nfsfolder nfs rw 0 0
3.3 執行mount -a生效
3.4 執行mount -v檢視是否成功
192.168.131.11:/nfsfolder on /nfsfolder type nfs (rw,addr=192.168.131.11)
啟動nfsv4:
nfs server - 修改/etc/sysconfig/nfs為NFS4_SUPPORT="yes"
nfs client - mount -t nfs4 -o rw 192.168.131.11:/nfsfolder /nfsfolder
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22661144/viewspace-1413418/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SUSE11環境下NFS Server搭建過程NFSServer
- suse 11設定nfsNFS
- 在AIX 5L上配置NFS Server/ClientAINFSServerclient
- NFS介紹、NFS服務端安裝配置、NFS配置選項NFS服務端
- CentOS 7 安裝配置 NFSCentOSNFS
- TSM之——CLIENT安裝配置client
- OpenStack Client 安裝及配置client
- nfs伺服器安裝配置NFS伺服器
- heartbeat+drbd+nfs安裝配置NFS
- Centos7 安裝配置NFSCentOSNFS
- CentOS 6 NFS的安裝配置CentOSNFS
- mysql原碼安裝(server和client)MySqlServerclient
- Ubuntu 14.04下NFS安裝配置UbuntuNFS
- 11G RAC NFS安裝文件NFS
- Suse 11 安裝 DB2 10.1 DPFDB2
- FileZilla Server 安裝配置Server
- NFS伺服器的安裝與配置NFS伺服器
- CentOS6.7安裝配置nfs服務CentOSNFS
- suse11安裝oracle11g的一個坑Oracle
- 安裝配置zabbix-serverServer
- Git server安裝和配置GitServer
- Suse Linux 10中MySql安裝與配置步驟LinuxMySql
- 【Oracle】Windows安裝oracle11gR2 clientOracleWindowsclient
- Linux 4安裝11R2 ClientLinuxclient
- suse 10 硬碟安裝(轉)硬碟
- Linux CentOS 檔案共享NFS的安裝配置LinuxCentOSNFS
- [20151110]Oracle Direct NFS Client.txtOracleNFSclient
- Team Foundation Server 安裝配置教程Server
- Docker安裝配置Seata-ServerDockerServer
- fedora14 nfs如何安裝?edora14 nfs安裝教程NFS
- samba,nfs安裝使用SambaNFS
- Oracle:Windows10下安裝oracle client (win32_11gR2_client)OracleWindowsclientWin32
- CentOS 6.X 上安裝配置 NFS 目錄共享CentOSNFS
- 安裝:SuSE Linux FTP版安裝指南(轉)LinuxFTP
- suse rpm安裝mysql(轉)MySql
- suse rpm 安裝 mysql(轉)MySql
- SUSE 11.1 安裝ORACLE 11.2.0.3 ASM非RAC雙機過程紀要OracleASM
- SQL Server解除安裝配置檔案SQLServer