Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Installing JBoss EAP 7 on RHEL using RPMs

July 11, 2016
James Falkner
Related topics:
Linux
Related products:
Red Hat JBoss Enterprise Application PlatformRed Hat Enterprise Linux

Share:

    JBoss EAP 7 was recently released, and brings with it a whole host of new features and support, such as support for Java EE 7, Undertow (a highly scalable web server), reduced port usage, graceful shutdown, improved GUI and CLI management, and much more.

    Go ahead and download it, unzip, and run bin/standalone.sh and check out all these great features. What's that? It didn't work? Did you check that your JRE is compatible? Are there outstanding incompatibility or security issues that may be resolved in an available patch? Perhaps you've already installed it elsewhere on your system and you are trying to install a conflicting version. You're not running it as root are you?

    ZIP files are awesome for getting bits up and running quickly (as a developer I use them myself quite a bit), but its simplicity hides many issues related to production software management, such as those I just mentioned. It's perfect for cross-platform developers or those non-RHEL CI/CD setups but for production RHEL systems it's the tl;dr of enterprise software deployment. This is where Red Hat and RPM can help. You can be sure of what you're installing, that it'll work securely, that you'll know it's there when asked, and that it'll be manageable using your other investments (think RHEV+RHEL+Satellite+JBoss).

    Registering your RHEL system

    It's assumed your RHEL server has already been linked with a valid subscription, but if you're not sure, run subscription-manager status. You should see something like:

    +-------------------------------------------+
     System Status Details
     +-------------------------------------------+
     Overall Status: Current

    If it's not properly linked, you'll get:

    +-------------------------------------------+
     System Status Details
     +-------------------------------------------+
     Overall Status: Unknown

    At which point, you need to register the system:

    # subscription-manager register
     Registering to: subscription.rhn.redhat.com:443/subscription
     Username: xx@yy.com
     Password:
     The system has been registered with ID: xxxxxxxxxxxxxxxxx

    And then attach your subscription:

    # subscription-manager attach --auto
    
    Installed Product Current Status:
     Product Name: JBoss Enterprise Application Platform
     Status: Subscribed
    
    Product Name: Red Hat Enterprise Linux Server
     Status: Subscribed
    
    Product Name: Red Hat Enterprise Linux Server - Extended Update Support
     Status: Subscribed

    If you have multiple subscription pools that match your product(s) you may need to specify a specific pool with --pool. More details about Subscription Manager can be found in its official docs.

    Installing EAP 7 with RPMs

    EAP 7 is available as a set of RPMs that can be installed using yum. Assuming your RHEL 7 system is properly attached to your subscription, installing EAP 7 is a straightforward affair:

    Using the CLI

    # subscription-manager repos --enable=jb-eap-7-for-rhel-7-server-rpms # for RHEL 7

    or

    # subscription-manager repos --enable=jb-eap-7-for-rhel-6-server-rpms # for RHEL 6

    Using the Subscription Manager GUI

    Navigate to System -> Repositories and ensure that the jb-eap-7-for-rhel-7-server-rpms repository is Enabled (or jb-eap-7-for-rhel-6-server-rpms for RHEL 6), and click Apply:

    Once the right repository is enabled, you can install EAP with the following command:

    # yum groupinstall jboss-eap7

    It'll take a few minutes to download all of the bits, but once it completes successfully, you will have EAP 7 installed in /opt/rh/eap7/root/usr/share/wildfly. And you can run bin/standalone.sh to start it up.

    Setting up EAP 7 as a service

    An RPM installation of JBoss EAP 7 installs everything that is required to run JBoss EAP as a service. Use the following command to activate the JBoss EAP service to start automatically at system boot.

    $ systemctl enable eap7-standalone.service # for RHEL 7

    or

    $ chkconfig eap7-standalone on # for RHEL 6

    More information about the various installation options for EAP 7 can be found in its official documentation.

    Last updated: January 2, 2024

    Recent Posts

    • Cloud bursting with confidential containers on OpenShift

    • Reach native speed with MacOS llama.cpp container inference

    • A deep dive into Apache Kafka's KRaft protocol

    • Staying ahead of artificial intelligence threats

    • Strengthen privacy and security with encrypted DNS in RHEL

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue