If it is a physical real machine (not a virtual machine), the system will automatically load after inserting the disc, you can view the system mount by command "Mount", and then continue to use the command "mount" to implement other mount tasks (i.e. new mount);
If this is a virtual machine, it needs to be the same, the following are examples of operations:
First step: Load the DVD disc (equivalent to insert the DVD drive into the optical drive) virtual machine right-click on the disc icon right-set-CD/DVD hardware right connection select Use ISO image file, select System ISO file path point OK
Step two: View the system load by command "mount" as follows
[email protected] ~]# mount /DEV/SDA1 on/type ext3 (rw) Proc On/proc type proc (rw) Sysfs On/sys type SYSFS (rw) Devpts on/dev/pts type devpts (rw,gid=5,mode=620) Tmpfs ON/DEV/SHM type TMPFS (rw) None On/proc/sys/fs/binfmt_misc type Binfmt_misc (rw) None On/proc/fs/vmblock/mountpoint type Vmblock (rw) Sunrpc on/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) /dev/hdc on/media/rhel_5.4 i386 DVD type iso9660 (ro,noexec,nosuid,nodev,uid=0) This is the CD mount point. |
Knowing the mount information, we'll mount it, although the default mount point is OK, but. This name is really too long, let me give him a more comfortable to remember the name of it
[[email protected] ~]# mkdir/cdyum== new folder for mounting [[email protected] ~]# mount/dev/hdc/cdyum/== is mounted in the folder just built Mount:block DEVICE/DEV/HDC is write-protected, mounting read-only [[email protected] ~]# mount== view mount Information /DEV/SDA1 on/type ext3 (rw) Proc On/proc type proc (rw) Sysfs On/sys type SYSFS (rw) Devpts on/dev/pts type devpts (rw,gid=5,mode=620) Tmpfs ON/DEV/SHM type TMPFS (rw) None On/proc/sys/fs/binfmt_misc type Binfmt_misc (rw) None On/proc/fs/vmblock/mountpoint type Vmblock (rw) Sunrpc on/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) /DEV/HDC on/media/rhel_5.4 i386 DVD type iso9660 (ro,noexec,nosuid,nodev,uid=0) /dev/hdc On/cdyum type iso9660 (RO) = = "This is the directory we manually mount.
You can then CD into the/cdyum directory into the package RPM-IVH vsftpd-... Package Rpm-qa | grep vsftpd to see if VSFTPD is installed;
You can also rpm-e vsftpd uninstall the VSFTPD package
Service VSFTPD status or start start
Umount/cdyum |
This article is from the "Self-review" blog, please be sure to keep this source http://1459294.blog.51cto.com/1449294/1939757
Linux mount use and RPM package installation