Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Getting started with Red Hat Enterprise Linux development on Parallels Desktop

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

October 13, 2016
Earl R. Lapus
Related topics:
Linux
Related products:
Red Hat Enterprise Linux

    I've recently gotten hold of a developer subscription of Red Hat Enterprise Linux (RHEL). The following are the steps I took to have a minimal RHEL installation as a Parallels Desktop virtual machine guest. My simple goal is to have a local, ready-to-use RHEL box that I can use to try stuff out. The items below may be well suited for new RHEL developers like myself.

    Installation

    Preparing the Virtual Machine

    First thing to do is to prepare a Parallels Desktop virtual machine. All configuration options for the virtual machine is up to you. As for me, I just made sure it fits with the minimum requirements for a RHEL install.

    Tip: When Creating the Parallels Desktop Virtual Machine, it would be better to disable the Express Install option. This allows you to control everything performed during installation.

    Next, once the virtual machine is ready, boot the installation in text mode. To do this, press tab on the boot screen and append linux text at the end of the boot command.

    add-linux-text-boot-params

    Then, press enter and to boot to the installation configuration screen.

    Installation Destination and Partitioning.

    On the main install screen, choose option 5 (Installation Destination). Since this is a virtual machine, you can opt to use the entire disk image. Also, it is easier to go with the default Partition Scheme which is 3 LVM.

    destination-disk partition-scheme partitioning-disks

    Next,  set your super secret password. That is option 8 (Root Password) in the install screen.

    root-password

    For the timezone, select option 2 (Timezone settings), set this to the appropriate value based on where you are located.

    timezone-settings1 timezone-settings2

    Lastly, select option 4 (Software Selection), just choose the default Minimal Install.

    software-selection

    That is enough to get an install going. Next, press b in the main Installation menu to begin installation.

    Setup

    On first boot, login as root.

    first-login

    Configure the network interface

    Now that we have a minimal install, the next thing to configure at this point is the network. Check the network interface name detected on boot. To do this run ip addr show. In my case, the network interface name is eth0.

    ip-addr-show-no-ip

    The next step is to edit the config file for the interface. Since I already know the interface name, it follows that I need to edit /etc/sysconfig/network-scripts/ifconfig-eth0. In the file, all settings were already correct except for ONBOOT=no.

    edit-eth0-config eth0-config-values

    I simply replaced that to yes, and saved the file. For the changes to take effect, I restarted the network by running systemctl restart network.

    systemctl-restart-network

    Once the network is up and running, the box needs to be registered. This is required to install and update packages on your box.

    Configure RHEL subscription

    To check the current status of the machine, you can issue the command subscription-manager status. At this time, the Overall Status would most likely be Unknown.

    initial-subscription

    To register, just issue the command subscription-manager register. This command will prompt for a valid RedHat developer credential.

    regsiter

    After running the register command, you need run subscription-manager attach. This links the current machine to the registered account.

    attach

    After this, you can verify the subscription by running subscription-manager status again. And, you can also see more information by running subscription-manager list.

    subscription-status

    At this point, it already possible to update your repositories and install packages that you need for development.

    Installing Parallels Tools

    Parallels Tools has many useful features for managing your virtual machine. Personally, I find the ability to automatically mount host folders to the guest virtual machine on boot very useful.

    Parallels Tools needs to be installed on the guest machine. There are however some packages that needs to be installed first. The following are Parallels Tools pre-requisites (Parallels KB for this topic):

    • gcc
    • kernel headers
    • checkpolicy
    • selinux-policy-devel
    • dkms

    Enable Extras and Optional repository

    The pre-requisites require that additional repositories need to be enabled, namely: rehl-7-server-extras-rpms and rhel-7-server-optional-rpms. These repositories can be enabled using the subscription-manager.

    enable-extras-optional

    Development Tools

    Make sure to have the Development Tools group in your repository (yum groupinstall 'Development Tools') marked as enabled. Then update the packages (yum update).

    Install dkms

    From the pre-requisites enumerated above, only the dkms package is not found in any existing RHEL maintained repository. Instead, it is found in a community maintained repository called the EPEL Repository. For more information about the EPEL Repository, read this.

    Fortunately, it is possible to add third-party Repositories in RHEL. In the case of EPEL, we need to download the EPEL repository package available for download in their website. Then, install the package manually.

    See series of commands on the screenshot below:

    install-wget download-epel install-epel

    Once the EPEL repository is in place, simply do an update and install the dkms package using yum like so: yum update && yum install dkms

    Note: During installation of the dkms package, you will be asked to accept a new GPG key.

    Parallels Tools installer

    On the Parallels menu, click on "Install Parallels Tools". This will put the Parallels Tools installer on the cdrom device (this will prompt a warning, just click Continue). The next thing to do will be to mount the said device mount -o exec /dev/sr0 /media
    parallels-tools-info mount-parallels-tools-cdrom

    cd to the /media directory and run the install script. Then, follow the instructions on the screen and wait for the installation to finish.

    install-screen-1 install-screen2 install-susccessful

    After installation, reboot the virtual machine for changes to take effect. After reboot, you should see local drives being mounted on your virtual machine under /media/psf.

    parallels-tools-shared-drives

    Well, that's about it... a local, ready-to-use RHEL box that I can use to try stuff out.

     

    Last updated: October 29, 2024

    Recent Posts

    • Every layer counts: Defense in depth for AI agents with Red Hat AI

    • Fun in the RUN instruction: Why container builds with distroless images can surprise you

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.