当前位置首页 > Fedora知识

InstallServerBackupManageronCentOS,RHE,andFedora

阅读次数:371 次  来源:admin  发布时间:

Skip to end of metadata

Added by Internal, last edited by Internal on Aug 25, 2014

Go to start of metadata

1. Install Server Backup Manager using YUM | 2. Install the Server Backup Manager manually using rpm | 3. Configure and start the Server Backup Manager Web-based user interface | Next steps 1. Install Server Backup Manager using YUM 1.1 Configure the YUM Repository

YUM is the easiest way to keep programs up-to-date on RedHat-compatible distributions. YUM downloads and installs the latest version of a program. You should configure the YUM repository to manage installations of and upgrades to Server Backup Manager.

First, create a YUM .repo file with the R1Soft repository information. Save the file in the yum.repos.d directory, which is typically located in /etc/.

1. Open the new file with a text editor such as vi or nano:

cd /etc/yum.repos.d vi r1soft.repo

or

ano -w /etc/yum.repos.d/r1soft.repo

InstallServerBackupManageronCentOS,RHE,andFedora

2. Insert the following text into the file and save the file:

[r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ enabled=1 gpgcheck=0

Ti

$basearch is a Yum variable, i.e., the base architecture (32-bit, 64-bit, etc.).

InstallServerBackupManageronCentOS,RHE,andFedora

3. To verify what is written to the file, use the following command:

cat /etc/yum.repos.d/r1soft.repo

InstallServerBackupManageronCentOS,RHE,andFedora

1.2 Install the package

1. With the installed YUM repository, you can use the following command to install Server Backup Manager:

yum install serverbackup-enterprise

InstallServerBackupManageronCentOS,RHE,andFedora

2. Then, enter "y" to install all the dependencies of the package.

InstallServerBackupManageronCentOS,RHE,andFedora

3. Once complete, you can use the help command to list all available options:

erverbackup-setup --hel

InstallServerBackupManageronCentOS,RHE,andFedora

4. Now, proceed to the Step 3.

2. Install the Server Backup Manager manually using rpm 2.1 Download Server Backup Manager

See Obtain Linux Backup Manager.

2.2 Make sure you can unzip the download

Most Linux distributions come with the unzip utility pre-installed. To determine if you have the unzip utility, run:

which unzi

This should return an output similar to the following:

which unzip /usr/bin/unzi

InstallServerBackupManageronCentOS,RHE,andFedora

If it returns the following output, you need to install the unzip utility first:

/usr/bin/which: no unzip in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

InstallServerBackupManageronCentOS,RHE,andFedora

To install unzip on RHE, CentOS, and Fedora:

yum install unzi

InstallServerBackupManageronCentOS,RHE,andFedora

2.3 Extract the ZIP file

We recommend creating a temporary directory to which you can extract the contents of the ZIP file.

1. Use the mkdir command to create a temporary directory (in our case, serverbackup).

mkdir serverbacku

2. Use the mv command to move the archive to that directory. Note that Linux file names are case-sensitive. Make sure you type the name correctly (in our case, "ServerBackup-Enterprise-linux32.zip").

mv ServerBackup-Enterprise-linux32.zip serverbacku

3. Use the cd command to go to that directory.

cd serverbacku

InstallServerBackupManageronCentOS,RHE,andFedora

4. Use the unzip command to extract the files.

unzip ServerBackup-Enterprise-linux32.zi

!unzip-ent_5.2.0.png!Run:

cd enterprise-manager-rpm/

InstallServerBackupManageronCentOS,RHE,andFedora

2.4 Install the package

Notice

You must be a Linux root user to install the Server Backup Manager.

The archive you have extracted contains two folders: one with .deb packages (in our case, "enterprise-manager-deb") and one with .rpm packages ("enterprise-manager-rpm"). If you are installing on RedHat and CentOS, select the .rpm package.

Each folder contains a set of Server Backup components:

erverbackup-setup serverbackup-manager serverbackup-enterprise

You will need to install all of them in one step. Use the cd command to go to the folder with the packages (in our case, deb-linux32)

And run the following command:

RPM 32-bit (x86) / RPM 64-bit (x86_64)

rpm -i *.rpm

InstallServerBackupManageronCentOS,RHE,andFedora

Note

The installed files are located in the /usr/sbin/r1soft directory. The Manager startup script is /etc/init.d/cdp-server.

Note

You do not need to install the kernel module on the Server. 3. Configure and start the Server Backup Manager Web-based user interface

1. You must define a username and password for Backup Manager Web Interface before you can begin using Server Backup Manager.

erverbackup-setup --user DESIRED_USERNAME --pass DESIRED_PASSWORD

After running this command, you will see an output similar to the following:

erverbackup-setup --user admin --pass r1soft Server username and password set The Server Backup Manager must be restarted for these changes to take effect Use '/etc/init.d/cdp-server restart' to restart.

InstallServerBackupManageronCentOS,RHE,andFedora

To restart the Server Backup Manager run the following command:

InstallServerBackupManageronCentOS,RHE,andFedora

2. Configure Ports if necessary.

By default, the embedded web server in Server Backup Manager required for the Web-based Interface will listen on TCP ports 80 (HTTP) and 443 (HTTPS). These ports are frequently used by your Linux server (e.g., by Apache). If you are already using ports 80 and 443, you will need to define different ports. Ports 8080 (HTTP) and 8443 (HTTPS) are recommended alternatives to standard 80 and 443. However, you can choose any other valid and unused TCP port.

erverbackup-setup --http-port 8080 --https-port 8443

InstallServerBackupManageronCentOS,RHE,andFedora

Note

You may need to change the firewall rules, depending on where you are connecting to the Web Interface from.

See also: Configure Server Backup Manager on Linux.

3. Start the Web Interface (Backup Manager):

/etc/init.d/cdp-server restart

InstallServerBackupManageronCentOS,RHE,andFedora

You should now be able to connect to the Server Backup Manager Web interface using Firefox or Internet Explorer. See Access Server Backup Manager Web interface.

Next steps Configure Server Backup Manager on Linux Install Backup Agent on Windows Install Backup Agent on Linux Access Server Backup Manager Web interface Activate Server Backup Manager Add key to Linux Backup Agent Add the key to Windows Backup Agent Configure heap memory
上一篇:iis6启动HTTP压缩的方法
下一篇:邮件服务器之在debian上用twig实现web邮件系统