우분투 nfs-kernel-server 설치

1 개요[ | ]

우분투 nfs-server 설치
우분투 nfs-kernel-server 설치

2 확인[ | ]

root@localhost:~# apt list nfs-kernel-server -a
Listing... Done
nfs-kernel-server/xenial-updates 1:1.2.8-9ubuntu12.2 amd64
nfs-kernel-server/xenial 1:1.2.8-9ubuntu12 amd64

3 설치[ | ]

root@localhost:~# apt install nfs-kernel-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
  libtirpc1 nfs-common python python-minimal python2.7 python2.7-minimal
  rpcbind
Suggested packages:
  watchdog python-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  libnfsidmap2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
  libtirpc1 nfs-common nfs-kernel-server python python-minimal python2.7
  python2.7-minimal rpcbind
0 upgraded, 12 newly installed, 0 to remove and 17 not upgraded.
Need to get 4,297 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libnfsidmap2 amd64 0.25-5 [32.2 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.4 [339 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.4 [1,261 kB]
Get:4 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-minimal amd64 2.7.12-1~16.04 [28.1 kB]
Get:5 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.4 [1,880 kB]
Get:6 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.4 [224 kB]
Get:7 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-stdlib amd64 2.7.12-1~16.04 [7,768 B]
Get:8 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python amd64 2.7.12-1~16.04 [137 kB]
Get:9 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtirpc1 amd64 0.2.5-1ubuntu0.1 [75.4 kB]
Get:10 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 rpcbind amd64 0.2.3-0.2 [40.3 kB]
Get:11 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nfs-common amd64 1:1.2.8-9ubuntu12.2 [184 kB]
Get:12 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nfs-kernel-server amd64 1:1.2.8-9ubuntu12.2 [87.7 kB]
Fetched 4,297 kB in 2s (1,850 kB/s)           
Selecting previously unselected package libnfsidmap2:amd64.
(Reading database ... 92989 files and directories currently installed.)
Preparing to unpack .../libnfsidmap2_0.25-5_amd64.deb ...
Unpacking libnfsidmap2:amd64 (0.25-5) ...................................] 
Selecting previously unselected package libpython2.7-minimal:amd64.......] 
Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.4) ..........] 
Selecting previously unselected package python2.7-minimal................] 
Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...................] 
Selecting previously unselected package python-minimal...................] 
Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
Unpacking python-minimal (2.7.12-1~16.04) ...............................] 
Selecting previously unselected package libpython2.7-stdlib:amd64........] 
Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.4) ...........] 
Selecting previously unselected package python2.7........................] 
Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
Unpacking python2.7 (2.7.12-1ubuntu0~16.04.4) ...........................] 
Selecting previously unselected package libpython-stdlib:amd64...........] 
Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.12-1~16.04) .......................] 
Processing triggers for man-db (2.7.5-1) ................................] 
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.4) ...
Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ..................] 
Linking and byte-compiling packages for runtime python2.7................] 
Setting up python-minimal (2.7.12-1~16.04) ..............................] 
Selecting previously unselected package python...........................] 
(Reading database ... 93745 files and directories currently installed.)
Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
Unpacking python (2.7.12-1~16.04) ...#######.............................] 
Selecting previously unselected package libtirpc1:amd64..................] 
Preparing to unpack .../libtirpc1_0.2.5-1ubuntu0.1_amd64.deb ...
Unpacking libtirpc1:amd64 (0.2.5-1ubuntu0.1) ............................] 
Selecting previously unselected package rpcbind..........................] 
Preparing to unpack .../rpcbind_0.2.3-0.2_amd64.deb ...
Unpacking rpcbind (0.2.3-0.2) ...################........................] 
Selecting previously unselected package nfs-common.......................] 
Preparing to unpack .../nfs-common_1%3a1.2.8-9ubuntu12.2_amd64.deb ...
Unpacking nfs-common (1:1.2.8-9ubuntu12.2) ...######.....................] 
Selecting previously unselected package nfs-kernel-server................] 
Preparing to unpack .../nfs-kernel-server_1%3a1.2.8-9ubuntu12.2_amd64.deb ...
Unpacking nfs-kernel-server (1:1.2.8-9ubuntu12.2) ...##..................] 
Processing triggers for man-db (2.7.5-1) ...############.................] 
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.21) ...
Setting up libnfsidmap2:amd64 (0.25-5) ...
Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.4) ..........] 
Setting up python2.7 (2.7.12-1ubuntu0~16.04.4) ...##########.............] 
Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...########...........] 
Setting up python (2.7.12-1~16.04) ...##########################.........] 
Setting up libtirpc1:amd64 (0.2.5-1ubuntu0.1) ...################........] 
Setting up rpcbind (0.2.3-0.2) ...#################################......] 
Setting up nfs-common (1:1.2.8-9ubuntu12.2) ...######################....] 
Progress: [ 93%] [####################################################...] 
Creating config file /etc/idmapd.conf with new version

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 111) ...
Adding new user `statd' (UID 111) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
nfs-utils.service is a disabled or a static unit, not starting it.
Setting up nfs-kernel-server (1:1.2.8-9ubuntu12.2) ...#################..] 
Progress: [ 96%] [######################################################.] 
Creating config file /etc/exports with new version

Creating config file /etc/default/nfs-kernel-server with new version
Processing triggers for libc-bin (2.23-0ubuntu11) ...####################] 
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.21) ...

4 확인 2[ | ]

root@localhost:~# apt list nfs-kernel-server -a
Listing... Done
nfs-kernel-server/xenial-updates,now 1:1.2.8-9ubuntu12.2 amd64 [installed]
nfs-kernel-server/xenial 1:1.2.8-9ubuntu12 amd64
root@localhost:~# systemctl status nfs-kernel-server.service 
● nfs-server.service - NFS server and services
   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor pr
   Active: active (exited) since Wed 2019-05-29 15:02:31 KST; 1min 40s ago
 Main PID: 110764 (code=exited, status=0/SUCCESS)

May 29 15:02:31 worker1 systemd[1]: Starting NFS server and services...
May 29 15:02:31 worker1 exportfs[110761]: exportfs: can't open /etc/exports f
May 29 15:02:31 worker1 systemd[1]: Started NFS server and services.
May 29 15:02:32 worker1 systemd[1]: Started NFS server and services.

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}