(R)?ex Deployment & Configuration Management

Search

News

2015-06-22
adjust GmbH is sponsoring the (R)?ex project with a new build server. Thank you for your support!
2015-06-17
(R)?ex 1.3.2 released, fixing issues related to file manipulation when run on BSDs. See the release notes for more details.
2015-06-09
Read the second part of "Rex in practice" series about Test-driven infrastructure.
2015-06-08
(R)?ex 1.3.1 released, fixing Rex::Commands::DB related tests.
2015-05-09
repositor.io 1.1.0 released. repositor.io is a repository management tool for apt, yum, yast and docker. This is a bugfix release with fixes for ubuntu and centos7 installation media mirroring.
2015-03-27
View the slides of the talk An introduction to Rex from Andy Beverley.

Conferences

2015-05-07
Talk Infrastructure as Code (ger) at German Perl Workshop.

Training

2015-11-30/2015-12-01 (Karlsruhe)

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 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)

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

For Precise (12.04)

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

For Lucid (10.04)

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

For Wheezy

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

For Squeeze

apt-get install apt-transport-https
echo 'deb https://rex.linux-files.org/debian/ squeeze rex' >> /etc/apt/sources.list
wget -O - https://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 https://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=https://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

CentOS 6

rpm --import https://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=https://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

CentOS 5

rpm --import https://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=https://rex.linux-files.org/CentOS/\$releasever/rex/\$basearch/
enabled=1
EOF

yum install rex

For 13.1

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

For 13.2

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

Mageia 3

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

Fedora 20+

rpm --import https://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=https://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.

From source

You can clone our repository from GitHub and install Rex from source. Development is done in the master branch, and we also tag each release there.

git clone https://github.com/RexOps/Rex.git
cd Rex
cpanm Dist::Zilla
dzil authordeps --missing | cpanm
dzil listdeps --missing | cpanm
dzil install

CPAN

The following command will download and install the latest Rex release from CPAN.

cpanm 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