码迷,mamicode.com
首页 > 其他好文 > 详细

docker预告-命令与安装包

时间:2018-02-23 19:08:29      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:/usr   2.0   alias   ##   pass   str   config   roc   host   

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

#########################

docker预告-命令与安装包

标签:/usr   2.0   alias   ##   pass   str   config   roc   host   

原文地址:http://blog.51cto.com/creatoryuan/2072419

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!