docker 预告
############1
yum install –installroot=/home/chen/vhost bash
yum install –installroot=/home/chen/vhost coreutils
rpm -qf /etc/passwd 查看由什么包提供的命名
setup-2.8.71-6.el7.noarch
rpm -qf /usr/bin/ls
coreutils-8.22-15.el7.x86_64
which which
alias which=’alias | /usr/bin/which –tty-only –read-alias –show-dot –show-tilde’
/usr/bin/alias
/usr/bin/which
rpm -qf /usr/bin/which
which-2.20-7.el7.x86_64
rpm -qf /usr/bin/vmstat
procps-ng-3.3.10-3.el7.x86_64
rpm -qf /usr/sbin/useradd
shadow-utils-4.1.5.1-18.el7.x86_64
rpm -qf /usr/bin/passwd
passwd-0.79-4.el7.x86_64
rpm -qf /usr/sbin/ifconfig
net-tools-2.0-0.17.20131004git.el7.x86_64
rpm -qf /usr/bin/yum
yum-3.4.3-132.el7.centos.0.1.noarch
#########################
yum install –installroot=/home/chen/vhost bash
yum install –installroot=/home/chen/vhost coreutils
yum===include===>bash/coreutils**
yum install –installroot=/home/chen/vhost procps-ng**
##################################FirstInstall
yum install –installroot=/home/chen/vhost yum
291M /home/chen/vhost
chroot /home/chen/vhost/
bash-4.2# yum install net-tools —ifconfig
405M /home/chen/vhost
yum install shadow-utils —useradd
yum install passwd —–passwd
du -sh /home/chen/vhost
406M /home/chen/vhost
#########################
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/190683.html