Try to install realm object server repository in centos server using oracle virtual box .
Just download Centos ISO image form this index site http://ftp.heanet.ie/pub/centos/7/isos/x86_64/ and choose CentOS-7-x86_64-Everything-1611.iso which its size 7.7G(if you have it then skip this step).
then mount it to Virtualbox (double click on VB cdrom and browse to ISO location and choose it)
then create a file in /etc/yum.repo with name myrepo.repo
Like following steps:
type the following inside the file :-
save and exit it .
Then create mount point and mount cdrom to it :
mount /dev/cdrom /cdrom
Last thing disable the default Centos repository By adding enabled=0. Like Following :
And now you have local repository in your machine(check it with yum repolist)
This is not an issue with CentOS, but your hypervisor.
Judging by the grayed out CD/DVD icon on the bottom of the VM window of Virtualbox, you do not actually have a CD/DVD attached to the VM. Right click that icon, attach your physical CD/DVD drive or an image, and then try to mount it again.
In relation to your comment and setting up a repository:
The repositories should be configured out of the box, if your VM can connect to the internet, then simply do so.
If your VM cannot connect to the internet, then you want to do the following:
- download the image
- attach it to the VM through Virtualbox
- mount it at /mnt
- create a file in
Put the following into the file
[LocalDVD] name=Local Repository baseurl=file:///mnt enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Then do a
yum clean all and