Setting up multi web site developer testbeds/sandboxes on localhost

Scenario —————————————————————— You are maintaining several web-sites (site1.com, site2.org, etc…). Having just one web-site at localhost with all files (DocumentRoot) at /var/www/html is not an option for you. You need to be able to test all of them and to access them in a convenient way. Solution Setup apache with Virtual Hosts, give your sites […]

Continue reading


INIT: cannot execute “/etc/init.d/rcS” (or rc)

PROBLEM: The Linux init process gets an error that looks like this (in the stderr output): INIT: cannot execute “/etc/init.d/rc” Several things may cause this error but in my case it was happening because the rc script had #! /bin/sh on the first line, and /bin/sh was missing. SOLUTION: In /bin provide a link called […]

Continue reading