How To Install ypserv.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ypserv.x86_64
on Amazon Linux 2.
What is ypserv.x86_64
The Network Information Service (NIS) is a system that provides network information (login names, passwords, home directories, group information) to all of the machines on a network. NIS can allow users to log in on any machine on the network, as long as the machine has the NIS client programs running and the user’s password is recorded in the NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP). This package provides the NIS server, which will need to be running on your network. NIS clients do not need to be running the server. Install ypserv if you need an NIS server for your network. You also need to install the yp-tools and ypbind packages on any NIS client machines.
We can use yum
to install ypserv.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ypserv.x86_64.
Install ypserv.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ypserv.x86_64
using yum
by running the following command:
sudo yum -y install ypserv.x86_64
How To Uninstall ypserv.x86_64 on Amazon Linux 2
To uninstall only the ypserv.x86_64
package we can use the following command:
sudo yum remove ypserv.x86_64
ypserv.x86_64 Package Contents on Amazon Linux 2
/etc/sysconfig/yppasswdd
/etc/ypserv.conf
/usr/include/rpcsvc/ypxfrd.x
/usr/lib/systemd/system/yppasswdd.service
/usr/lib/systemd/system/ypserv.service
/usr/lib/systemd/system/ypxfrd.service
/usr/lib64/yp
/usr/lib64/yp/create_printcap
/usr/lib64/yp/makedbm
/usr/lib64/yp/match_printcap
/usr/lib64/yp/mknetid
/usr/lib64/yp/pwupdate
/usr/lib64/yp/revnetgroup
/usr/lib64/yp/yphelper
/usr/lib64/yp/ypinit
/usr/lib64/yp/ypxfr
/usr/lib64/yp/ypxfr_1perday
/usr/lib64/yp/ypxfr_1perhour
/usr/lib64/yp/ypxfr_2perday
/usr/libexec/rpc.yppasswdd.env
/usr/libexec/yppasswdd-pre-setdomain
/usr/sbin/rpc.yppasswdd
/usr/sbin/rpc.ypxfrd
/usr/sbin/yppush
/usr/sbin/ypserv
/usr/share/doc/ypserv-2.31
/usr/share/doc/ypserv-2.31/AUTHORS
/usr/share/doc/ypserv-2.31/COPYING
/usr/share/doc/ypserv-2.31/ChangeLog
/usr/share/doc/ypserv-2.31/INSTALL
/usr/share/doc/ypserv-2.31/NEWS
/usr/share/doc/ypserv-2.31/README
/usr/share/doc/ypserv-2.31/README.etc
/usr/share/doc/ypserv-2.31/TODO
/usr/share/doc/ypserv-2.31/locale
/usr/share/doc/ypserv-2.31/netgroup
/usr/share/doc/ypserv-2.31/netmasks
/usr/share/doc/ypserv-2.31/securenets
/usr/share/doc/ypserv-2.31/timezone
/usr/share/doc/ypserv-2.31/ypserv.conf
/usr/share/man/man5/netgroup.5.gz
/usr/share/man/man5/ypserv.conf.5.gz
/usr/share/man/man8/makedbm.8.gz
/usr/share/man/man8/mknetid.8.gz
/usr/share/man/man8/pwupdate.8.gz
/usr/share/man/man8/revnetgroup.8.gz
/usr/share/man/man8/rpc.yppasswdd.8.gz
/usr/share/man/man8/rpc.ypxfrd.8.gz
/usr/share/man/man8/yphelper.8.gz
/usr/share/man/man8/ypinit.8.gz
/usr/share/man/man8/yppasswdd.8.gz
/usr/share/man/man8/yppush.8.gz
/usr/share/man/man8/ypserv.8.gz
/usr/share/man/man8/ypxfr.8.gz
/usr/share/man/man8/ypxfrd.8.gz
/var/yp/Makefile
References
Summary
In this tutorial we learn how to install ypserv.x86_64
on Amazon Linux 2 using yum.