Centos7安装febootstrap
Posted 退役小学生
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7安装febootstrap相关的知识,希望对你有一定的参考价值。
Centos7安装febootstrap
1. 准备工作
系统版本 | 主机名 | IP |
---|---|---|
centos6:x | centos6 | 171.16.26.36 |
centos7:x | centos6 | 171.16.26.37 |
2. centos6上操作
2.1 下载rpm包
[root@centos6 ~]# yumdownloader fakechroot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
./fakechroot-2.9-24.5.el6_1.1.x86_64.rpm already exists and appears to be complete
[root@centos6 ~]# yumdownloader fakechroot-libs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
fakechroot-libs-2.9-24.5.el6_1.1.x86_64.rpm | 23 kB 00:00
[root@centos6 ~]# yumdownloader fakeroot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
fakeroot-1.12.2-22.2.el6.x86_64.rpm | 73 kB 00:00
[root@centos6 ~]# yumdownloader fakeroot-libs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
fakeroot-libs-1.12.2-22.2.el6.x86_64.rpm | 23 kB 00:00
[root@centos6 ~]# yumdownloader febootstrap-supermin-helper
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
febootstrap-supermin-helper-3.21-4.el6.x86_64.rpm | 337 kB 00:00
[root@centos6 ~]# yumdownloader febootstrap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
febootstrap-3.21-4.el6.x86_64.rpm
2.2 查看下载的rpm包
[root@centos6 ~]# ll febootstrap-*
-r--r--r-- 1 root root 209020 11月 25 2013 febootstrap-3.21-4.el6.x86_64.rpm
-r--r--r-- 1 root root 345436 11月 25 2013 febootstrap-supermin-helper-3.21-4.el6.x86_64.rpm
[root@centos6 ~]# ll fake*
-r--r--r-- 1 root root 23576 9月 26 2011 fakechroot-2.9-24.5.el6_1.1.x86_64.rpm
-r--r--r-- 1 root root 23240 9月 26 2011 fakechroot-libs-2.9-24.5.el6_1.1.x86_64.rpm
-r--r--r-- 1 root root 75112 7月 3 2011 fakeroot-1.12.2-22.2.el6.x86_64.rpm
-r--r--r-- 1 root root 23528 7月 3 2011 fakeroot-libs-1.12.2-22.2.el6.x86_64.rpm
2.3 把下载的rpm包打包并拷贝到centos7服务器上面
[root@centos6 ~]# tar zcpf all.tar.gz *.rpm
[root@centos6 ~]# scp -r /root/all.tar.gz 172.16.26.37:/root/
3. 在centos7服务器上安装febootstrap命令
3.1 解压tar包
[root@centos7 ~]# tar xf all.tar.gz
[root@centos7 ~]# ls
all.tar.gz fakeroot-1.12.2-22.2.el6.x86_64.rpm fakeroot-libs-1.12.2-22.2.el6.x86_64.rpm
fakechroot-2.9-24.5.el6_1.1.x86_64.rpm febootstrap-3.21-4.el6.x86_64.rpm
fakechroot-libs-2.9-24.5.el6_1.1.x86_64.rpm febootstrap-supermin-helper-3.21-4.el6.x86_64.rpm
3.2 yum批量安装解压过的rpm包
[root@centos7 ~]# yum -y install *.rpm
3.3 检查命令
[root@centos7 ~]# which febootstrap
/usr/bin/febootstrap
以上是关于Centos7安装febootstrap的主要内容,如果未能解决你的问题,请参考以下文章
在Tomcat的安装目录下conf目录下的server.xml文件中增加一个xml代码片段,该代码片段中每个属性的含义与用途
Android 插件化VirtualApp 源码分析 ( 目前的 API 现状 | 安装应用源码分析 | 安装按钮执行的操作 | 返回到 HomeActivity 执行的操作 )(代码片段