AnwarYagoub / RHCSA-RHCE-Lab-Environment

Lab environment for RHCSA/RHCE Cert Guide book by Sander van Vugt (not official)
https://anwaryagoub.github.io/RHCSA-RHCE-Lab-Environment/
77 stars 50 forks source link

Add support for Windows #11

Open AnwarYagoub opened 8 years ago

AnwarYagoub commented 8 years ago

Add support to use Windows as host machine for this environment.

suggestions:

smartbit commented 8 years ago

Does #18 fix this issue?

AnwarYagoub commented 8 years ago

It fix it partially. we need to add documentation & also check if everything is running smoothly on Windows

AnwarYagoub commented 8 years ago

@smartbit

As I got from a previous conversation you have macOS & everything is okay with you. so why not to add documentation for macOS?

As for Linux everything is okay & I have Linux machine to test changes.

smartbit commented 8 years ago

I suggest in README.md we

I'll take a look at OSX and make a proposal for README.md

AnwarYagoub commented 8 years ago
smartbit commented 8 years ago

sample:

RHEL/CentOS 64-bit

su - 
wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo
yum clean dbcache; yum -y repolist    # Import the GPG keys
yum -y install epel-release           # should be 7.8
export virtualbox_version=`yum search VirtualBox | grep "VirtualBox-" | sed 's/ : Oracle VM VirtualBox//' | sed 's/.x86_64//' | tail -1`
yum -y install git gcc make kernel-devel $virtualbox_version
/sbin/vboxconfig                      # load the vboxdrv kernel module
systemctl status vboxdrv              # enabled?
VBoxManage --version                  # should return no errors
reboot
su - 
export vagrant_version=`wget --quiet -O - https://releases.hashicorp.com/vagrant/ | sed -n 's/.*href="\([^"]*\)".*/\1/p' | sort -r | head -1 | sed 's/[\/|vagrant]//g'`
yum -y install https://releases.hashicorp.com/vagrant/"$vagrant_version"/vagrant_"$vagrant_version"_x86_64.rpm
epicavic commented 7 years ago

i can help with adding support for windows i'm using babun and ansible on win7 in fact you don't need use babun + ansible (as soon as you're using ansible_local) the only issue i've encountered so far was the detecting Virtualbox home dir and "example.com" domain is registered already so it cannot be used by ipa server. i will test and will try to add pull request

AnwarYagoub commented 7 years ago

@epicavic You are more than welcomed to do so

smartbit commented 7 years ago

@epicavic indeed welcome, please submit a PR. Some remarks and questions for giving you a good start.

Hopes this helps, if you have any questions, please don't hesitate to discuss or ask.

epicavic commented 7 years ago

On 16 April 2017 at 16:34, smartbit notifications@github.com wrote:

@epicavic https://github.com/epicavic indeed welcome, please submit a PR. Some remarks and questions for giving you a good start.

Hopes this helps, if you have any questions, please don't hesitate to discuss or ask.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AnwarYagoub/RHCSA-RHCE-Lab-Environment/issues/11#issuecomment-294352085, or mute the thread https://github.com/notifications/unsubscribe-auth/ALTb-NhuAcB_Yd8TlqMuGfSIyHshqrbnks5rwhjKgaJpZM4KMhH5 .