FreeBSD with ports installed on Qemu [x] easy. - backup your qimage as you go :)
in root's .cshrc
# setenv PACKAGESITE ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/packages/All/
# pkg_add -r apache-1.3.41_1
# cat >> /etc/rc.conf
apache_enable="YES"
^D
# echo 127.0.0.1 `hostname` >> /etc/hosts
This doesn't work :
# cd /usr/ports/lang/php4; make install
because strstr is checked using SIGALARM and that locks up QEMU!
# pkg_add -r php4-4.4.9
Doesn't add mod_php4 or these modules :
# pkg_add -r php4-pcre-4.4.9
# pkg_add -r php4-pgsql-4.4.9_1
So a bit of bodging is required
# cd /usr/local/libexec/apache
# scp maht@steponnopets.net:/usr/local/libexec/apache/libphp4.so .
and the other Apache modules I need
# pkg_add -r mod_gzip-1.3.26.1a
# pkg_add -r mod_auth_pgsql-0.9.12_4
et viola, index.php is excecuted
I copied the confs from steponnopets
No comments:
Post a Comment