.. index:: install, package .. _agent.install: Install ******* Get === Download the lastest OpenSVC package available for your operating system of choice from https://repo.opensvc.com. .. raw:: html
.. parsed-literal:: # Red Hat, CentOS, Fedora, SuSe Linux curl -o /tmp/opensvc.rpm https://repo.opensvc.com/rpms/|version|/current # Debian, Ubuntu Linux curl -o /tmp/opensvc.latest https://repo.opensvc.com/deb/|version|/current # Solaris pkg curl -o /tmp/opensvc.latest https://repo.opensvc.com/sunos-pkg/|version|/current # Solaris ips curl -o /tmp/opensvc.p5p https://repo.opensvc.com/sunos-ips/|version|/current # Mac OS X curl -o /tmp/opensvc.latest https://repo.opensvc.com/macos-pkg/|version|/current .. raw:: html
.. rst-class:: lvl1 Depending on the operating system, and operating system version, you might need to download dependencies in the ``deps/`` subdirectory. Install ======= :: # Red Hat, CentOS, Fedora Linux sudo yum install /tmp/opensvc.rpm # SuSE Linux sudo zypper install /tmp/opensvc.rpm # Debian, Ubuntu Linux sudo dpkg -i /tmp/opensvc.latest # Solaris pkg sudo pkgadd -d /tmp/opensvc.latest opensvc # Solaris ips sudo pkg install –g /tmp/opensvc.p5p opensvc # Mac OS X installer -pkg /tmp/opensvc.latest -target / .. rst-class:: lvl1 The package post-installation steps are handled by the ``/bin/postinstall`` script. This script can be safely executed on a node where OpenSVC is already installed. On Unix systems, if the root account has no rsa key, a 2048 bits rsa key is generated by the package post-install. A production node key must be trusted on all nodes of its cluster (PRD and DRP), whereas the keys of disaster recovery servers must not be trusted by any production nodes. This setup is used for rsync file transfers. .. seealso:: | :ref:`agent-configure` | :ref:`agent-items`