Red Hat/Fedora package
We provide and maintain a yum repository and package containing the latest agent, making it easy to install and upgrade the agent on Red Hat-flavoured distributions.
Configuring yum
The first step in installing the agent is configuring your yum package manager so that it is aware of our repository.
Adding our public key
For added security, all of our Linux packages and repositories are signed. You must add our public key to your yum keyring in order to download and install the agent package.
wget http://www.serverdensity.com/downloads/boxedice-public.key sudo rpm --import boxedice-public.key
Adding our repository
Next, add our repository to your list of repositories. This is done by creating a new file in the /etc/yum.repos.d/ directory. An editor such as nano will work:
sudo nano -w /etc/yum.repos.d/serverdensity.repo
Add the following content to the file, and save it:
[serverdensity] name=Server Density baseurl=http://www.serverdensity.com/downloads/linux/redhat/ enabled=1
Finally, update yum:
sudo yum check-update
You can confirm that the agent is now available for installation by performing a search in yum:
yum search sd-agent
Installing the agent
Once our repository has been configured on your server, the agent may be installed just like any other package:
sudo yum install sd-agent
NOTE: Remember to configure your agent after installation. See part 3 of Agent installation. You need to edit the file /etc/sd-agent/config.cfg
Running the agent
The package sets up the agent init script for you automatically. In addition to starting on boot, you can start the agent manually:
sudo service sd-agent start
Uninstalling the agent
The agent can be uninstalled like any other package. There may be some files remaining in /usr/bin/sd-agent/; these can safely be deleted after uninstalling.
sudo yum remove sd-agent