I’ve started looking how to enable both PHP4 and PHP5 on our (relatively) new dev box running Gentoo. The box is already running PHP4 so the task was to add PHP5 support as well. The official guide is rich in options you can use to achieve this. I didn’t want any CGI since we use… Continue reading Multiple Apache instances on Gentoo box
Category: Linux
CVS, CentOS and SELinux
I was migrating a CVS repository from one server to another today and ran on the interesting issue. I was getting a “Permission denied” error on the CVSROOT/config file no matter what privileges were set. It turns out that problem is with SELinux on CentOS, so the easiest solution is to just turn it off.
Changing CVS Root from shell
Here’s a simple script that recursively changes CVS/Root files in the project tree find . -name Root -exec sh -c ‘echo :pserver:example@cvs.example.com:2401/var/cvsroot > {}’ \; Note sh -c segment of -exec switch, which is necessary in order to successfully redirect to appropriate files. This could be useful for updating deployed projects with the repository that… Continue reading Changing CVS Root from shell