Install Reposado with Margarita on CentOS / Red Hat Enterprise Linux

CentOS / Red Hat installation

Start by downloading CentOS (Minimal) or Red Hat Enterprise Linux (Standard) :

When I have written this post I used :

CentOS and Red Hat use the same installation software (Anaconda), so the screenshots are mixed and the differences are notified in the post.

IMPORTANT : A complete sync of the patches hosted by Apple use more than 120 GB of space when I’m writing these lines. So keep in mind that the needed space will grow and give a correct amount of drive space to your server or virtual machine (with the new MacBook Pro Retina the patches are really big to support full resolution).

– Choose “Install or upgrade an existing system” to start the installation :

– You can skip the media test (we are using an ISO file) :

– Welcome screen (Next…) :

– Choose the system language :

– Choose the system keyboard layout :

– Choose “basic storage” :

– If you made a new Virtual Machine with a new blank disk, you can  “discard any data” :

– Enter the hostname of this installation :
IMPORTANT : You can configure the network interface with the button at the bottom left, but this post explains how to configure the network with the command line. It’s important to understand where are stored the settings if you need to debug or change some informations (IP, DNS,…)

– Choose the correct time zone :

– Enter root password :

– Choose the Linux partition scheme. If you don’t know exactly what you’re doing, choose “Use All Space”. This will configure a new LVM (logical volume manager) with a standard EXT4 volume that take all space. Check the case “Review and modify partitioning layout”.

– Select the “lv_home” partition and reduce to the strict minimal for the “admin” user (if you create one). 10GB is largely enough. The “lv_home” partition is not mandatory, it’s only used to store the users data separately. If needed you can completely remove it. Then select the “lv_root” partition and add the remaining space :

– Confirm the message to format the disk :

– Confirm the following settings :

– Confirm that you want to erase the drive :

– On Red Hat Enterprise Linux only, you can choose the minimal installation :

– The system will be installed :

– When the installation is complete and the computer has restarted you’re prompted for the login and password. You’re ready for configuring your Linux :

12 Replies to “Install Reposado with Margarita on CentOS / Red Hat Enterprise Linux”

  1. absolutely beautiful howto guide – worked perfectly

    also, per the instructions here, i added a .htaccess file to the directory /var/local/reposado/html

    with instructions found here:

    so as i only needed to put the catalogURL as on client machines and the apache2 mod_rewrite engine on the reposado box figured out which index to send it to regardless of version of the macosx client

    again, thank you for this wonderful page.

  2. I was curious if you have found a way to secure this with .htaccess? I have so far been unsuccessful. Margarita doesn’t respect the the file.

  3. Thanks for this tutorial.

    The standard command to configure the client is:
    sudo defaults write /Library/Preferences/ CatalogURL

  4. failure: repodata/c7c64887b23d8a76ac7d8b0b4a2673a3e832963c948a8700c8647f4fa8bbd339-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

    problem connecting to softer sources

    plz help me in this regards

    thank u

  5. Brilliant work here…a single run through the setup process on Centos 6.5 resulted in a fully working reposado + margarita configuration.

    Thank you for providing such a detailed walkthrough.

  6. I am not familiar with reposado but we have working outdated reposado and just wonder how can I update so the yosemette and elcapitan clients can update from?

Leave a Reply

Your email address will not be published.