(R)?ex Deployment & Configuration Management

News

2019-06-09
Post-migration updates & clean-up

Over the course of the past weeks many clean-ups have been done, reaping the benefits provided by our new Statocles-based site:

2019-05-19
New site engine for rexify.org

After months of work on a new site backend, we reached the MVP today for our site to be switched over to a new engine: from now on, our site will be maintained using the static site generator Statocles.

Conferences

2016-06-21

Need Help?

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

Professional support is also available.

» Home » Get Rex

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 Xenial (16.04)

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

For Trusty (14.04)

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

For Jessie

    $ apt-get install apt-transport-https
    $ echo 'deb https://rex.linux-files.org/debian/ jessie rex' << /etc/apt/sources.list.d/rex.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.d/rex.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.d/rex.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

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 https://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).

Google Group / Twitter / GitHub / Mailinglist / irc.freenode.net #rex   -.ô.-   Disclaimer