The latest expert opinions, articles, and guides for the Java professional.

LiveRebel Featurecast: Getting Started with LiveRebel

In a previous featurecast, we talked about why you should automate application release processes. Watch it if you missed it! Here, we’ll quickly go over how you can download LiveRebel and install it. We’ll also show you the lay of the land – the key directories, starting the LiveRebel console and the command line interface (CLI).

Download and Install LiveRebel

You can get a free copy of LiveRebel right from the ZeroTurnaround website. Once you have downloaded the ZIP file, unzip it into the location you’d like to install it. That’s it – you’re done. You can install LiveRebel on Windows, Unix/Linux or Mac. See what else we support here.

If you run into any problems at all, check out the LiveRebel User Manual.

Let’s Peek into the LiveRebel Directory

Now that you have unzipped LiveRebel, let’s take a peek into it. Here are some of the directories and files you should take note of:

  • bin directory: startup and shutdown scripts live here
  • log directory: LiveRebel logs are stored here
  • readme.txt: tells you what you need to know to run LiveRebel
  • changelog.txt: tells you what’s changed since the last release

You can safely ignore the other directories.

Starting the LiveRebel Command Center

The LiveRebel Command Center is the central console from where you can manage and monitor your servers, applications, users and audits. It is from here that you deploy, update, rollback or remove applications from their target environments. Starting LiveRebel is simple. Navigate into “liverebel/bin” and run:

  • “./ run” or “lr-command-center.cmd run” for Windows

Wait for LiveRebel to start up and copy the URL it provides (usually https://localhost:9001 by default). Then head to your browser and launch the Command Center. Register you copy and create your first user. You’ll then be greeted by a friendly face!

LiveRebel Installed

You are now ready to add servers that you’d like LiveRebel to manage, and deploy applications onto. That’s a topic for another time!

The Command Line Interface

The LiveRebel CLI does everything the LiveRebel Command Center does. To use it, navigate to the “liverebel/bin” directory and run ./ for a full list of options.

Running commands using the CLI require either a user name and password, or an authentication token of a valid LiveRebel user. Every LiveRebel user has an authentication token that can be retrieved from the LiveRebel Command Center.

LiveRebel User Authentication Token

You’re Done!

You’re now all set up with LiveRebel and understand the lay of the land – the installation process, the LiveRebel directory structure and lastly, the CLI and how to use it. Watch the video up-top to see how you can do everything that we just discussed, plus a few helpful tips and insights :).

Next: Adding and Managing Servers

Next, we’ll show you how to add application, web, database and file servers to LiveRebel. These servers will form the environments that you will deploy applications onto.

If you have any questions or comments just tweet at @LiveRebel or post on our forums!

No Responses

No comments yet.

RSS feed for comments on this post.

Leave a comment