(R)?ex Deployment & Configuration Management

Search

News

2014-09-02
We started developing a Webfrontend for Rex. Feel free to help and give feedback on Github.
2014-09-01
(R)?ex 0.52.1 released. This release is mostly a bugfix and enhancement release. See the release page for more information.
2014-08-01
(R)?ex 0.51.2 released. This release loads the CMDB and the INI group module by default and fixes some bugs. See the release page for more information.
2014-07-02
For the website and build.rexify.org we are now using SSL certificates signed by CACert.org.
2014-05-31
Read the new howto to setup OpenLDAP and SSSD with Rex.
2014-04-03
Talk from Ferenc Erki at Free Software Conference of Szeged uploaded to slideshare

Conferences

2014-09-19

This year there is a Rex workshop on the Kieler LinuxTag. You can register for this workshop in the workshop page.

Need Help?

Rex is a pure open source project, you can find community support in the following places:

Professional support is also available.

Get Rex

You can install Rex with a simple one-liner

$ curl -L get.rexify.org | perl - --sudo -n Rex

If you want to use https to download the script, you have to trust CAcert certificate.

$ curl -L https://get.rexify.org | perl - --sudo -n Rex

BSD and Linux

Rex is also available as a package for many major distributions. Just choose your distribution and follow the steps shown.

For Trusty (14.04)

echo 'deb http://rex.linux-files.org/ubuntu/ trusty rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Saucy (13.10)

echo 'deb http://rex.linux-files.org/ubuntu/ saucy rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Quantal (12.10)

echo 'deb http://rex.linux-files.org/ubuntu/ quantal rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Precise (12.04)

echo 'deb http://rex.linux-files.org/ubuntu/ precise rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Lucid (10.04)

echo 'deb http://rex.linux-files.org/ubuntu/ lucid rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Wheezy

echo 'deb http://rex.linux-files.org/debian/ wheezy rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Squeeze

echo 'deb http://rex.linux-files.org/debian/ squeeze rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

For Lenny

For Lenny we have stopped building new packages since 0.31.

echo 'deb http://rex.linux-files.org/debian/ lenny rex' >> /etc/apt/sources.list
wget -O - http://rex.linux-files.org/DPKG-GPG-KEY-REXIFY-REPO | apt-key add -
apt-get update
apt-get install rex

Installation with emerge

Thanks to Bonsaikitten Rex is now available in the official Gentoo Portage Repository.

emerge -av app-admin/rex

CentOS 7

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO.CENTOS6

cat >/etc/yum.repos.d/rex.repo <<EOF
[rex]
name=Fedora \$releasever - \$basearch - Rex Repository
baseurl=http://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

CentOS 6

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO.CENTOS6

cat >/etc/yum.repos.d/rex.repo <<EOF
[rex]
name=Fedora \$releasever - \$basearch - Rex Repository
baseurl=http://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

CentOS 5

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO.CENTOS5

cat >/etc/yum.repos.d/rex.repo <<EOF
[rex]
name=Fedora \$releasever - \$basearch - Rex Repository
baseurl=http://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

For 13.1

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO
zypper addrepo -t rpm-md -f -n rex http://rex.linux-files.org/OpenSuSE/13.1/rex/x86_64/ rex
zypper install rex

Mageia 3

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO
urpmi.addmedia rex http://rex.linux-files.org/Mageia/3/rex/x86_64/
urpmi rex

Fedora 18+

rpm --import http://rex.linux-files.org/RPM-GPG-KEY-REXIFY-REPO

cat >/etc/yum.repos.d/rex.repo <<EOF
[rex]
name=Fedora \$releasever - \$basearch - Rex Repository
baseurl=http://rex.linux-files.org/Fedora/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

Installation with ports

Thanks to Sam Cassiba Rex is now available in the official FreeBSD Ports collection.

cd /usr/ports/sysutils/p5-Rex
make install clean

Installation with pkg

pkg install p5-Rex

Apple Mac OS X

To install Rex on Mac OSX you have to install libssh2 first. You can do this with MacPorts or with Homebrew.

We recommend using MacPorts. First you need to install XCode. After you've installed it you'll find a package for your system here.

If you're using homebrew we recommend to install a custom perl with Perlbrew.

Installation instructions for MacPorts:

sudo port install libssh2 perl5
curl -L get.rexify.org | perl - --sudo -n Rex

Microsoft Windows

Tested with Windows Vista and Windows 7 (64bit) and Strawberry Perl 5.x

Start a CMD window and type:

cpanm Rex

If you want to use Rex/Boxes you need to add the installation path of VirtualBox to your PATH environment variable. The default installation path is C:\Program Files\Oracle\VirtualBox. If you need instructions how to do that you can read this article on ComputerHope.

Other / From Source

If you want to download the latest sources from GitHub you can do it this way. The master branch is the current latest stable version. Every development is done in its own version branch.

git clone https://github.com/RexOps/Rex.git
cd Rex
perl Makefile.PL
make
make test
make install

You can also use the CPAN shell to install Rex. This will download the latest release form CPAN.

perl -MCPAN -eshell
cpan[1]> install Rex

All logos are registered trademarks of their respective companies and are not affiliated with and do not necessarily indicate that they either sponsor or endorse the services of rexify.org (and Rex).

comments powered by Disqus
Fork me on GitHub
Google Group / Twitter / GitHub / Mailinglist / irc.freenode.net #rex   -.รด.-   Disclaimer