[[サーバ関連]]
目次~
#contents
*概要 [#c960a8bf]
CentOS 6.xへのNFSサービスのインストール手順。~
yumを使用してパッケージのインストールを行う。~
*インストール手順 [#a80b74e0]
**パッケージのインストール [#fa30672a]
-1. Portmapのインストール
yum install portmap
~
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
rpcbind x86_64 0.2.0-11.el6 base 51 k
Installing for dependencies:
libgssglue x86_64 0.1-11.el6 base 23 k
libtirpc x86_64 0.2.1-6.el6_5.2 updates 79 k
Transaction Summary
========================================================================================================================================================================
Install 3 Package(s)
-2. NFSのインストール
yum install nfs-utils
~
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
nfs-utils x86_64 1:1.2.3-39.el6_5.3 updates 321 k
Installing for dependencies:
keyutils x86_64 1.4-4.el6 base 39 k
libevent x86_64 1.4.13-4.el6 base 66 k
nfs-utils-lib x86_64 1.1.5-6.el6_5 updates 67 k
Transaction Summary
========================================================================================================================================================================
Install 4 Package(s)
**自動起動設定 [#nd1e0739]
-1. OS起動時のサービスの自動起動を設定~
chkconfig nfs on
chkconfig nfslock on
chkconfig netfs on
chkconfig rpcbind on
chkconfig rpcgssd on
chkconfig rpcsvcgssd on
**サービスの起動 [#i02f7bd7]
-1. サービスを起動する
/etc/init.d/rpcbind start
/etc/init.d/nfs start
/etc/init.d/nfslock start