CentOS / Red Hat installation
Start by downloading CentOS (Minimal) or Red Hat Enterprise Linux (Standard) :
When I have written this post I used :
CentOS-6.3-x86_64-minimal.iso
rhel-server-6.3-beta-x86_64-dvd.iso
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) :
– Choose the system language :
– Choose the system keyboard layout :
– 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 :
– 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 :
I just wanted to say thank you for this tutorial. It’s one the best I’ve seen.
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:
https://github.com/wdas/reposado/blob/master/docs/URL_rewrites.txt
so as i only needed to put the catalogURL as http://example.com/index.sucatalog 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.
Thank you for your information that completes the guide !
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.
Thanks for this tutorial.
The standard command to configure the client is:
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
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
This is not the correct place to get support. You can get help through the Google Group for Reposado:
https://groups.google.com/forum/#!forum/reposado
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.
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?
Sorry for the delay, but the better way to get support is to contact directly the newsgroups of the projects.
There’s a problem with CentOS Curl and downloading El Capitan updates. (Error 59: Unknown cipher in list: HIGH)
I thought I’d share this fix here:
https://groups.google.com/forum/#!topic/reposado/_fUl1n3uPq8
I’ve used these directions many times. I’ve never left a comment but these posted directions worked flawless. Thank You!