Automatically mount directories in centos / virtualbox
If you try to mount a shared folder in centos, runing under a virtual box, you'll probably have problems trying to fix this directory, mounting automatically each time the system reboots.
In any other distribution, like ubuntu, you just have to go to your /etc/fstab and add this line:
varhtml /var/www/html vboxsf defaults 0 0
The problem is centos is that when the system arrives to this line, the vboxsf module has not been loaded yet.
- Read more about Automatically mount directories in centos / virtualbox
- Log in or register to post comments
Installing capistrano in Centos
Very very easy in CentOS, just like it would be in a Debian system:
# yum install ruby -y
# yum install rubygems -y
Really, it couldn't be easier. Next step, just having fun with Capistrano :-)
- Read more about Installing capistrano in Centos
- Log in or register to post comments
Accessing centos apache/httpd from vbox host
This is the scenario. You installed vbox in your Mac, windows or Linux computer. Then you´ve installed Centos or Red Hat (or any other Red Hat flavor) in this virtual box.
Next step, installed httpd (apache2) and... even it is running and httpd status confirms it with a "running" message, it cannot be accesible from your host machine.
The problem is on iptables. Red Hat by default denies access to this machine from other (external) machines. Solution? Very easy, open iptables file:
vim /etc/sysconfig/iptables
- Read more about Accessing centos apache/httpd from vbox host
- Log in or register to post comments