LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install portmap on Debian (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-portmap-on-debian-4175498000/)

Ryanms3030 03-13-2014 12:01 AM

Can't install portmap on Debian
 
I am trying to configure NFS on Debian Wheezy. I am following a tutorial and one of the first steps is install portmap and configure portmap. When I try to install it , I get:

Code:

apt-get install portmap
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Note, selecting 'rpcbind' instead of 'portmap'
rpcbind is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


fbsduser 03-13-2014 12:11 AM

Portmap was replaced with rpcbind in Debian Wheezy.

Ryanms3030 03-13-2014 03:48 PM

OK, so I am still trying to configure nfs. I set up my /etc/exports file like:

Code:

/media/usb0 192.168.1.0/24(rw,sync,fsid=0,no_root_squash,no_subtree_check)
/media/backup 192.168.1.0/24(rw,sync,fsid=0,no_root_squash,no_subtree_che

ck)

In my idmpad.conf for the domain = I have my server's ip address (not sure if that is correct)

When I try to mount the shares from my client , I get this:

Code:

mount -t nfs 192.168.1.10:/media/backup
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .

any clues to what I may be doing wrong?


All times are GMT -5. The time now is 02:41 PM.