[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:28745] nfs-server インストールについて
先週「改訂版Debian GNU/Linux 徹底入門-Potato対応-」を購入して
Linux PC で NFSサーバーを立ち上げようとがんばっていますが
なかなかうまく動作してくれません。どうか、良きアドバイスをお願いします。
環境は、 1.NFSサーバー 192.168.1.11 Debian GNU 2.2
2.クライアント 192.168.1.1 Debian GNU 1.3
になっています。
1.の/homeを共通にしようと思っています。
手順としては、
サーバー側
1.telnetdとwu-ftpdのパッケージをインストール。
2.nfs-serverパッケージをインストール。
3./etc/exportsファイルを作って
/home 192.168.1.1(rw) を記入
4./etc/init.d/nfs-server reload を実行
5./etc/hosts.allowファイルの変更
ALL:192.168.1.1 を追加
6./etc/hosts.denyファイルの変更
All:PARANOID を 無効に (#All:PARANOID)
7.reboot
8.クライアント側の/etc/fstabファイルに下記を追加
kdec2:/home /kdec2/home nfs defaults 0 0
(※kdec2=NFSサーバーのホスト名、クライアントのhostsに192.168.1.11 kdec2を追加しています。)
9.mount /kdec2/home または、mount -a
以上
telnetとftpでは、クライアント側からは入れます。
クライアント側には、9を入力すると
mount:kdec2:/home failed,reason given by server:Permission denied
NFSサーバー側のdaemon.logには、
Jun 14 21:22:04 kdec2 mountd[297]: NFS mount of /home attempted from 192.168.1.1
Jun 14 21:22:04 kdec2 mountd[297]: Unauthorized access by NFS client 192.168.1.1.
Jun 14 21:22:04 kdec2 mountd[297]: Blocked attempt of 192.168.1.1 to mount /home
と表示されマウントできません。
/etc/exprotsファイルを
/home 192.168.1.1(rw,no_root_squash)
に変更すると、クライアントは
mount: mount point /kdec2/home does not exist
NFSサーバー側のdaemon.logには、
Jun 15 15:45:24 kdec2 mountd[200]: NFS mount of /home attempted from 192.168.1.1
Jun 15 15:45:24 kdec2 mountd[200]: /home has been mounted by 192.168.1.1
となり、クライアント側からマウントできません。
あと、少し気になっているのですが、nfs-serverパッケージをインストールした時に
/etc/exportsのファイルは自動で作られないのですか?
みなさん御忙しい中すいませんが、何か気がついたことがあればご返事ください。
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
高瀬 良順
Email : takase@xxxxxxxxxxxxxxxxxxx
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
PS.
下記は、私のインストールパッケージです。
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii aalib1 1.2-25 ascii art library
ii ack 1.3.9-3 Kanji code converter can check the character
ii adduser 3.11.1 Add users and groups to the system.
ii ae 962-26 Anthony's Editor -- a tiny full-screen edito
ii alsa-base 0.4.1i-5 ALSA driver common files
ii alsaconf 0.4.2-3 ALSA configurator
ii alsautils 0.4.1-5 Advanced Linux Sound Architecture (utils)
ii apel 10.2+20000308c A Portable Emacs Library
ii apmd 3.0final-1 Utilities for Advanced Power Management (APM
ii apt 0.3.19 Advanced front-end for dpkg
ii asiya24-vfont 1-6 Japanese Maru Gothic font in Zeit's Syotai C
ii base-config 0.33.2 Debian base configuration package
ii base-files 2.2.0 Debian base system miscellaneous files
ii base-passwd 3.1.10 Debian Base System Password/Group Files
ii bash 2.03-6 The GNU Bourne Again SHell
ii bc 1.05a-11 The GNU bc arbitrary precision calculator la
ii bin86 0.14.9-3 16-bit assembler and loader
ii binutils 2.9.5.0.37-1 The GNU assembler, linker and binary utiliti
ii bison 1.28-5 A parser generator that is compatible with Y
ii bsdmainutils 4.7.1 More utilities from 4.4BSD-Lite.
ii bsdutils 2.10f-5.1 Basic utilities from 4.4BSD-Lite.
ii bzip2 0.9.5d-2 A high-quality block-sorting file compressor
ii canna 3.5b2-25 A japanese input system (server and dictiona
ii canna-utils 3.5b2-25 A japanese input system (utility).
ii console-data 1999.08.29-11. Keymaps, fonts, charset maps, fallback table
ii console-tools 0.2.3-10.3 Linux console and font utilities.
ii console-tools- 0.2.3-10.3 Shared libraries for Linux console and font
ii cpio 2.4.2-32 GNU cpio -- a program to manage archives of
ii cpp 2.95.2-13 The GNU C preprocessor.
ii cron 3.0pl1-57.1 management of regular background processing
ii dbskkd-cdb 1.01-6 The fastest dictionary server for SKK
ii dc 1.05a-11 The GNU dc arbitrary precision reverse-polis
ii ddskk 11.2.cvs.20000 Simple Kana to Kanji conversion program
ii debconf-tiny 0.2.80.17 Tiny subset of debconf for the base system
ii debian-jp-keyr 2000.08.10 PGP and GnuPG keys of Debian JP Developers
ii debian-keyring 2000.01.3 GnuPG (and obsolete PGP) keys of Debian Deve
ii debian-policy 3.1.1.1 Debian Policy Manual and related documents
ii debianutils 1.13.3 Miscellaneous utilities specific to Debian.
ii diff 2.7-21 File comparison utilities
ii doc-debian 2.2.2 Debian Project documentation, Debian FAQ and
ii doc-linux-ja 1999.12-1 Linux HOWTOs in Japanese
ii doc-linux-text 2000.03-1 Linux HOWTOs, mini-HOWTOs, and FAQs in ASCII
ii dpkg 1.6.15 Package maintenance system for Debian
ii dpkg-dev 1.6.15 Package building tools for Debian
ii dpkg-ftp 1.6.7 Ftp method for dselect.
ii dpkg-perl 0.1-3.0 Perl interface modules for dpkg
ii dpsclient 0.5.9.1+000216 Adobe's Display Postscript Client library
ii dvi2ps 3.0a1-4 TeX DVI-driver for NTT jTeX, MulTeX and ASCI
ii dvi2ps-fontdat 1.0-5 Font data for dvi2ps-j and dvi2dvi.
ii dvi2tty 5.1-13 Previewing dvi-files on text-only devices
ii e2fsprogs 1.18-3 The EXT2 file system utilities and libraries
ii ed 0.2-18.1 The classic unix line editor
ii elvis-tiny 1.4-11 Tiny vi compatible editor for the base syste
ii emacs-lisp-int 1.05+0.96-4 Japanese version of "Programming in Emacs Li
ii emacsen-common 1.4.12 Common facilities for all emacsen.
ii esound 0.2.17-7 Enlightened Sound Daemon - Support binaries
ii esound-common 0.2.17-7 Enlightened Sound Daemon - Common files
ii fakeroot 0.4.4-4.1 Gives a fake root environment.
ii fbset 2.1-6 Framebuffer device maintenance program.
ii fdflush 1.0.1-5 A disk-flushing program.
ii fdutils 5.3-3 Linux floppy utilities
ii fetchmail 5.3.3-1.1 POP2/3, APOP, IMAP mail gatherer/forwarder
ii file 3.28-1 Determines file type using "magic" numbers
ii file-kanji 1.1-10 kanji code checker
ii fileutils 4.0l-8 GNU file management utilities.
ii findutils 4.1-40 utilities for finding files--find, xargs, an
ii flex 2.5.4a-6 A fast lexical analyzer generator.
ii flim 1.12.7-14 Library to provide basic features about mess
ii freetype2 1.3.1-1 The FREE TrueType Font Engine, shared librar
ii freewnn-common 1.1.0+1.1.1-a0 Files shared among freewnn packages
ii freewnn-jserve 1.1.0+1.1.1-a0 Japanese input system
ii ftp 0.10-3.1 The FTP client.
ii fttools 1.2-4 FreeType font utilities.
ii gamix 1.00b5-3 Graphical mixer for ALSA using gtk+.
ii gcc 2.95.2-13 The GNU C compiler.
ii gdk-imlib1 1.9.8-4 Gdk-Imlib is an imaging library for use with
ii gettext-base 0.10.35-13 GNU Internationalization utilities for the b
ii gimp1.1 1.1.17-3 Developers' release of the GNU Image Manipul
ii gkrellm 0.7.5-3 Multiple stacked system monitors: 1 process.
ii gnupg 1.0.4-1 GNU privacy guard - a free PGP replacement.
ii gphoto 0.3.5-6 Universal application for digital cameras
ii grep 2.4.2-1 GNU grep, egrep and fgrep.
ii gs 5.10-10.1 Postscript interpreter with X11 and svgalib
ii gsfonts 5.10a-2 Fonts for the ghostscript interpreter
ii gv 3.5.8-17 A PostScript and PDF viewer for X using 3d A
ii gzip 1.2.4-33 The GNU compression utility.
ii hdparm 3.6-1 Tune hard disk parameters for high performan
ii hostname 2.07 A utility to set/show the host name or domai
ii imagemagick 4.2.8-9 Image manipulation programs.
ii imlib-base 1.9.8-4 Common files needed by the Imlib/Gdk-Imlib p
ii info 4.0-4 Standalone GNU Info documentation browser
ii isapnptools 1.21-2 ISA Plug-And-Play configuration utilities.
ii ja-trans 0.7-3.1 Japanese gettext message files
ii jfbterm 0.3.7-3 Japanized framebuffer terminal with Multilin
ii jgroff 1.15+ja-3.2 GNU troff text-formatting system (Japanese E
ii jless 332iso242-2 A paginator similar to "more" or "pg" suppor
ii jtex-base 1.8-6 basic jTeX library files.
ii jtex-bin 1.8-1 Japanese TeX (NTT version) and other japanes
ii jvim-canna 3.0-2.0-2 Japanized VIM (Canna version)
ii jvim-doc 3.0-2.0-2 Documentation for Japanized VIM
ii kernel-package 7.04.potato.3 Debian Linux kernel package build scripts.
ii kinput2-canna- 3.0-9 An input server for X11 applications that wa
ii kinput2-common 3.0-9 Files shared among kinput2 packages
ii kon2 0.3.9b-3 Kanji ON Console.
ii konfont 0.1-4 Public domain japanese fonts for KON2.
ii kterm 6.2.0-19potato Multi-lingual terminal emulator for X.
ii ldso 1.9.11-9 The Linux dynamic linker, library and utilit
ii lesstif1 0.89.4-3 OSF/Motif implementation released under LGPL
ii libasound0.4 0.4.1e-2 Advanced Linux Sound Architecture (libraries
ii libaudiofile0 0.1.9-0.1 The Audiofile Library
ii libbz2 0.9.5d-2 A high-quality block-sorting file compressor
ii libc6 2.1.3-13 GNU C Library: Shared libraries and Timezone
ii libc6-dev 2.1.3-13 GNU C Library: Development Libraries and Hea
ii libcanna1g 3.5b2-25 Canna Runtime Library (Libc6).
ii libcompfaceg1 1989.11.11-17. Compress/decompress images for mailheaders,
ii libdb2 2.4.14-2.7.7.1 The Berkeley database routines (run-time fil
ii libesd0 0.2.17-7 Enlightened Sound Daemon - Shared libraries
ii libft-perl 1.2-4 Perl module for the FreeType library
ii libgc5 5.0.alpha4-8 Conservative garbage collector for C
ii libgdbmg1 1.7.3-26.2 GNU dbm database routines (runtime version).
ii libgimp1.1.17 1.1.17-3 Developers' release of libraries necessary t
ii libglib1.2 1.2.7-2 The GLib library of C routines
ii libgpmg1 1.17.8-18 General Purpose Mouse Library [libc6]
ii libgsm1 1.0.10-10 Shared libraries for GSM speech compressor.
ii libgtk1.2 1.2.7-1 The GIMP Toolkit set of widgets for X
ii libhdf4g 4.1r3-6 The Hierarchical Data Format library -- libr
ii libident 0.22-2 simple RFC1413 client library - runtime
ii libjcode-perl 2.11-1 Perl library for Japanese character code con
ii libjpeg62 6b-1.2 The Independent JPEG Group's JPEG runtime li
ii liblockfile1 1.01 Shared library with NFS-safe locking functio
ii libmagick4g 4.2.8-9 Image manipulation library (free version).
ii libmpeg1 1.3.1-2 The MPEG library calls for movie streams
ii libncurses4 4.2-9 Shared libraries for terminal handling
ii libncurses5 5.0-6.0potato1 Shared libraries for terminal handling
ii libncurses5-de 5.0-6.0potato1 Developer's libraries and docs for ncurses
ii libnet-perl 1.0703-3 Implementation of Internet protocols for Per
ii libnewt0 0.50-7 Not Erik's Windowing Toolkit - text mode win
ii libopenldap-ru 1.2.11-1 OpenLDAP runtime files for libopenldap
ii libopenldap1 1.2.11-1 OpenLDAP libraries.
ii libpam-modules 0.72-9 Pluggable Authentication Modules for PAM
ii libpam-runtime 0.72-9 Runtime support for the PAM library
ii libpam0g 0.72-9 Pluggable Authentication Modules library
ii libpaperg 1.0.3-13.potat Library for handling paper characteristics [
ii libpcre2 2.08-1 Philip Hazel's Perl Compatible Regular Expre
ii libpng2 1.0.5-1 PNG library - runtime
ii libpopt0 1.4-1.1 lib for parsing cmdline parameters
ii libproplist0 0.9.1-2 PropList closely mimics the property lists f
ii libreadline4 4.1-1 GNU readline and history libraries, run-time
ii libreadlineg2 2.1-21 GNU readline and history libraries, run-time
ii libssl09 0.9.4-5 SSL shared libraries
ii libstdc++2.10 2.95.2-13 The GNU stdc++ library
ii libtiff3g 3.5.4-5 Tag Image File Format library
ii libungif3g 3.0-3 shared library for GIF images (runtime lib)
ii libwmf0 0.1.16-2 WMF conversion libraries
ii libwnn6 1.0.0-8 Wnn6 client library
ii libwrap0 7.6-4 Wietse Venema's TCP wrappers library
ii libwraster1 0.61.1-4 Shared libraries of Window Maker rasterizer.
ii libxfont-xtt 1.3.0.1-12 X-TT patched font library of X (Shared libra
ii liece 1.4.1.0.200001 IRC (Internet Relay Chat) client for Emacs.
ii liece-dcc 1.4.1.0.200001 DCC program for liece.
ii lilo 21.4.3-2 LInux LOader - The Classic OS loader can loa
ii locale-ja 18 Locale definition files for Japanese.
ii locales 2.1.3-13 GNU C Library: National Language (locale) da
ii lockfile-progs 0.1.7 Programs for locking and unlocking files and
ii login 19990827-20 System login tools
ii lprng 3.6.12-8 lpr/lpd printer spooling system
ii lv 4.49.3-5 A Powerful Multilingual File Viewer
ii lynx 2.8.3-1 Text-mode WWW Browser
ii make 3.79.1-1.potat The GNU version of the "make" utility.
ii makedev 2.3.1-46.2 Creates special device files in /dev.
ii man-db 2.3.16-1 Display the on-line manual.
ii manpages 1.29-2 Man pages about using a Linux system.
ii manpages-dev 1.29-2 Linux-development man pages.
ii manpages-ja 0.4.0.0.200001 Japanese version of the manual pages
ii mawk 1.3.3-5 a pattern scanning and text processing langu
ii mbr 1.1.2-1 Master Boot Record for IBM-PC compatible com
ii menu 2.1.5-3 provides update-menus functions for some app
ii modconf 0.2.26.14 Device Driver Configuration
ii modutils 2.3.11-13.1 Linux module utilities.
ii mount 2.10f-5.1 Tools for mounting and manipulating filesyst
ii mswordview 0.5.14-bw6-2 MS Word 8 to HTML Converter
ii mtools 3.9.6-3.1 Tools for manipulating MSDOS files
ii ncurses-base 5.0-6.0potato1 Descriptions of common terminal types
ii ncurses-bin 5.0-6.0potato1 Terminal-related programs and man pages
ii ncurses-term 5.0-6.0potato1 Additional terminal type definitions
ii netbase 3.18-4 Basic TCP/IP networking binaries
ii netpbm 19940301.2-13 Graphics conversion tools.
ii netpbm1 19940301.2-13 Shared library for netpbm.
ii nfs-common 0.1.9.1-1 NFS support files common to client and serve
ii nfs-server 2.2beta47-4pot User space NFS server.
ii nkf 1.92-1 Network Kanji code conversion Filter
ii passwd 19990827-20 Change and administer password and group dat
ii patch 2.5-2.2 Apply a diff file to an original
ii pciutils 2.1.2-2 Linux PCI Utilities (for 2.[123].x kernels)
ii perl-5.005 5.005.03-7.1 Larry Wall's Practical Extracting and Report
ii perl-5.005-bas 5.005.03-7.1 The Pathologically Eclectic Rubbish Lister
ii perl-5.005-doc 5.005.03-7.1 Man pages and pod docs for Perl
ii perl-5.005-sui 5.005.03-7.1 Runs setuid Perl scripts.
ii perl-base 5.004.05-1.1 Fake package assuring that one of the -base
ii ppp 2.3.11-1.4 Point-to-Point Protocol (PPP) daemon.
ii pppconfig 2.0.5 A text menu based utility for configuring pp
ii ppxp 0.99120923-1 Yet another PPP program.
ii procps 2.0.6-5 The /proc file system utilities.
ii psmisc 19-2 Utilities that use the proc filesystem
ii pump 0.7.3-2 Simple DHCP/BOOTP client for 2.2.x kernels
ii sed 3.02-5 The GNU sed stream editor.
ii semi-gnus 6.10.12.199905 Replacement of Gnus with gnus-mime for SEMI.
ii semi1.12 1.12.1-11 Library to provide MIME feature for GNU Emac
ii setserial 2.17-16 Controls configuration of serial ports.
ii sharutils 4.2.1-1 shar, unshar, uuencode, uudecode
ii shellutils 2.0-7 The GNU shell programming utilities.
ii slang1 1.3.9-1 The S-Lang programming library - runtime ver
ii sox 12.16-6 A universal sound sample translator.
ii ssh 1.2.3-9.1 Secure rlogin/rsh/rcp replacement (OpenSSH)
ii ssh-askpass 0.99-1 under X, asks user for a passphrase for ssh-
ii strace 4.2-4 A system call tracer.
ii sudo 1.6.2p2-1 Provides limited super user privileges to sp
ii svgalibg1 1.4.1-2 SVGA display utilities
ii sysklogd 1.3-33.1 Kernel and system logging daemons
ii syslinux 1.48-2 Bootloader for Linux/i386 using MS-DOS flopp
ii sysvinit 2.78-4 System-V like init.
ii t1lib1 1.0-2 Type 1 font rasterizer library - runtime
ii tar 1.13.17-2 GNU tar
ii task-1st-tette 1.6 Tettei Nyumon add-on environment
ii task-1st-tette 1.6 Tettei Nyumon common environment
ii task-1st-tette 1.6 Tettei Nyumon non-US environment
ii tasksel 1.0-10 New task packages selector
ii tcl8.2 8.2.3-2 The Tool Command Language (TCL) v8.2 - Run-T
ii tcl8.2-dev 8.2.3-2 The Tool Command Language (TCL) v8.2 - Devel
ii tcpd 7.6-4 Wietse Venema's TCP wrapper utilities
ii tcsh-kanji 6.09.00-10 TENEX C Shell, an enhanced version of Berkel
ii telnet 0.16-4potato.1 The telnet client.
ii telnetd 0.16-4potato.1 The telnet server.
ii tetex-base 1.0-10 basic teTeX library files
ii tetex-bin 1.0.6-7 teTeX binary files
ii tetex-lib 1.0.6-7 shared libkpathsea for teTeX
ii textutils 2.0-2 The GNU text file processing utilities.
ii timidity 2.9.1-2 Software-only MIDI sequencer.
ii tk8.2 8.2.3-2 The Tk toolkit for TCL and X11 v8.2 - Run-Ti
ii tk8.2-dev 8.2.3-2 The Tk toolkit for TCL and X11 v8.2 - Develo
ii traceroute-nan 6.0-2 NANOG traceroute
ii update 2.11-1 daemon to periodically flush filesystem buff
ii user-ja 0.28.potato.1 simple configuration tool for Japanese envir
ii util-linux 2.10f-5.1 Miscellaneous system utilities.
ii vflib2 2.25.1-4 Vector Font Library for Japanese Character C
ii vflib2-misc 2.25.1-4 Miscelanious tools for VFlib2 library.
ii w3m 0.1.9-5 WWW browsable pager with excellent tables/fr
ii watanabe-vfont 1-6 Japanese Mincho font in Zeit's Syotai Club f
ii whiptail 0.50-7 Displays user-friendly dialog boxes from she
ii whois 4.4.14 whois client
ii wmaker 0.61.1-4 NeXTSTEP-like window manager for X
ii wmakerconf 2.4-4 GTK+ based configuration tool for Window Mak
ii wmakerconf-dat 0.61.1-1 Datafile for wmakerconf, a configuration too
ii wu-ftpd 2.6.0-5.1 powerful and widely used FTP server
ii xaw3dg 1.3-6.8 cute 3D replacement for the X Athena widget
ii xbase-clients 3.3.6-11potato miscellaneous X clients
ii xcontrib 3.3.3.1-0.1 XFree contributed clients.
ii xdvik-ja 22.15-j1.03-3 X-window TeX previewer using vflib2 for Japa
ii xemacs21-bases 1999.12.15-1 Editor and kitchen sink -- elisp support fil
ii xemacs21-bin 21.1.10-4 Editor and kitchen sink -- support binaries
ii xemacs21-mule- 21.1.10-4 Editor and kitchen sink -- Mule binary compi
ii xemacs21-mules 1999.12.15-1 Editor and kitchen sink -- Mule elisp suppor
ii xemacs21-suppo 21.1.10-4 Editor and kitchen sink -- architecture inde
ii xfonts-75dpi 3.3.6-2 75 dpi fonts for X
ii xfonts-a12k12 1-2 12 dot Kanji & ASCII fonts for X
ii xfonts-base 3.3.6-2 standard fonts for X
ii xfonts-cjk 3.3.6-2 basic Chinese, Japanese, and Korean fonts fo
ii xfonts-intl-ja 1.1-9 International fonts for X -- Japanese.
ii xfonts-intl-ja 1.1-9 International fonts for X -- Japanese big.
ii xfonts-marumoj 0.2-2 Roundish fonts (marumoji fonts) for X
ii xfonts-scalabl 3.3.6-2 scalable fonts for X
ii xfree86-common 3.3.6-11potato X Window System (XFree86) infrastructure
ii xfs-xtt 1.3.0.1-12 X-TrueType font server
ii xlib6g 3.3.6-11potato shared libraries required by X clients
ii xlib6g-dev 3.3.6-11potato include files and libraries for X client dev
ii xmanpages-ja 3.3.3.1j-4 Japanese manual pages for X
ii xmms 1.0.1-2 Versatile X audio player that looks like Win
ii xpdf-i 0.90-7 Portable Document Format viewer for X11, wit
ii xpm4g 3.4k-5 the X PixMap library
ii xscreensaver 3.22-7 Automatic screensaver for X
ii xserver-common 3.3.6-11potato files and utilities common to all X servers
ii xterm 3.3.6-11potato X terminal emulator
ii xtt-fonts 0.19990222-5 Free Japanese TrueType fonts (mincho & gothi
ii xviddetect 0.3-2.1 XFree86 installation helper
ii zlib1g 1.1.3-5 compression library - runtime
ii zsh 3.1.9.dev6-7 A shell with lots of features.