Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to Automate Druva Phoenix File server agent installation and Activation for CentOS server
How to Automate Druva Phoenix File server agent installation and Activation for CentOS server
Updated over 2 months ago

Overview

How can you automate the installation and activation of the file server agent on a CentOS server.

Procedure

You would need to create a Script as mentioned below which will you help you with the download, installation, and activation of the Druva Phoenix agent.


​#!/bin/bash
wget <Download link>
​rpm -ivh /tmp/<Downloaded FS agent rpm version>
cd opt/Druva/Phoenix/bin/<Downloaded FS agent rpm version>
PhoenixActivate <Token from console>

Example:
#!/bin/bash
​wget https://downloads.druva.com/download...071.x86_64.rpm -P /tmp

​rpm -ivh /tmp/druva-phoenix-client-5.0.2-122071.x86_64.rpm
cd opt/Druva/Phoenix/bin/druva-phoenix-client-5.0.2-122071.x86_64.rpm
PhoenixActivate 46180-892-6439-848c9372043c524f61af08265a132ba176799807d12402cc83c5a70d854e77ef

--------------------------

See also

Did this answer your question?