Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2224313
  • 博文数量: 287
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2130
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-31 14:30
个人简介

自己慢慢积累。

文章分类

全部博文(287)

分类: LINUX

2015-10-14 16:26:51

安装
不同的系统操作略有差别。
一、在RHEL/CentOS/Scientific Linux平台上安装MondoRescue

1. 用于RHEL/CentOS/SL 6, 5, 4 - 32位平台
下载“/etc/yum.repos.d/”下的MondoRescue软件库,文件名为“mondorescue.repo”。请为你的Linux OS发行版本下载正确的软件库。
cd /etc/yum.repos.d/
# On RHEL/CentOS/SL 6 - 32-Bit ##
wget ftp://ftp.mondorescue.org/rhel/6/i386/mondorescue.repo
# On RHEL/CentOS/SL 5 - 32-Bit ##
wget ftp://ftp.mondorescue.org/rhel/5/i386/mondorescue.repo
# On RHEL/CentOS/SL 4 - 32-Bit ##
wget ftp://ftp.mondorescue.org/rhel/4/i386/mondorescue.repo


2. 用于RHEL/CentOS/SL 6, 5, 4 - 64位平台
 cd /etc/yum.repos.d/
# On RHEL/CentOS/SL 6 - 64-Bit ##
 wget ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo
# On RHEL/CentOS/SL 5 - 64-Bit ##
 wget ftp://ftp.mondorescue.org/rhel/5/x86_64/mondorescue.repo
# On RHEL/CentOS/SL 4 - 64-Bit ##
 wgetftp://ftp.mondorescue.org/rhel/4/x86_64/mondorescue.repo


一旦你成功地添加了软件库,就可以使用“yum”命令安装最新的Mondo工具。


二、在Debian/Ubuntu/Linux Mint平台上安装MondoRescue
1. Debian平台
Debian用户可以使用“wget”命令抓取适用于Debian 6和Debian 5发行版的MondoRescue软件库。运行下列命令,添加“mondorescue.sources.list”到“/etc/apt/sources.list”文件中,以便于安装Mondo软件包。
## On Debian 6 ##
wget ftp://ftp.mondorescue.org/debian/6.0/mondorescue.sources.list
sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list" 
apt-get update 
apt-get install mondo
# On Debian 5 ##
wgetftp://ftp.mondorescue.org/debian/5.0/mondorescue.sources.list
sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list" 
apt-get update 
apt-get install mondo
2. Ubuntu/Linux Mint平台
想要在Ubuntu 12.10、12.04、11.10、11.04、10.10、10.04,或者Linux Mint 13中安装Mondo Rescue,请打开终端,然后在“/etc/apt/sources.list”文件中添加MondoRescue的软件库。运行下列的命令即可安装Mondo Rescue软件包。
 wget ftp://ftp.mondorescue.org/ubuntu/
# sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list" 
# apt-get update 
# apt-get install mondo


三、创建系统/服务器的克隆或备份ISO镜像

安装Mondo之后,以“root”用户权限运行“mondoarchive”命令

按照提示选择相应的项,最后会生成一个.iso文件


四、恢复备份:

使用刻录机,把上面生成的镜像刻录出来。需要恢复数据时,把机器设置为光驱引导,然后使用该光盘启动机器。
启动后的界面:
(有几个参数供选择,例如,如果硬盘已经分好区,不希望重新调整分区的,可以输入nuke noresize后回车)

 

选择自动恢复


阅读(1911) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~