Monday, January 1, 2018

How to connect shared folder in virtual box using centos


sudo mount -t vboxsf repo2 /home/devlynard/data/vbroker

sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install docker-ce
yum list docker-ce --showduplicates | sort -r

docker-ce.x86_64            17.12.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.09.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.09.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.2.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.2.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.0.ce-1.el7.centos             docker-ce-stable

sudo yum install docker-ce-17.09.1.ce

sudo systemctl start docker
sudo usermod -aG docker $USER

https://www.youtube.com/watch?v=EYVO4kEQomE
https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/




UPDATED: 9 Jan 2018

I have successfully connected my working directory from host(Windows) to server(virtualbox running centos)

1. add shared folder in virtual box settings.

2. mount below folders
sudo mount -t vboxsf repo2 /home/devlynard/odoo9/app/customaddons

3. add command at start up
edit etc/rc.d/rc.local
make it executable

Eureka!




No comments:

Post a Comment

free online comma separating tool

https://delim.co/#