(R)?ex Deployment & Configuration Management

Search

News

2014-07-13
(R)?ex 0.49.1 released. This release adds support for FreeBSD 10 and pkgng.
2014-07-09
(R)?ex 0.48.0 released. This release adds support for CentOS 7 and RHEL 7.
2014-07-07
(R)?ex 0.47.0 released. This release comes with KVM support for Rex::Test and lots of small enhancements and bugfixes. Read the release notes 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-05-08 - 2014-05-10

Visit us at the LinuxTag in Berlin. There will be also a Rex hands-on workshop on Friday (2014-05-09).

LinuxTag is Europe's leading exhibition and conference for Linux, Free Software and Open Source.

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

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