Wiki2

From Wiki-UX.info
Jump to: navigation, search

This is the installation log for the pre-backling Wiki migration

Apache 2[edit]

Oracle BDB 4.7.25[edit]

CC=cc \
CFLAGS="-fast -m32 -xtarget=pentium4" \
../configure --prefix=/usr/sfw/bdb47

httpd 2.2.9[edit]

CC=cc \
CFLAGS="-fast -m32 -xtarget=pentium4" \
LDFLAGS="-L/usr/sfw/bdb47/lib -R/usr/sfw/bdb47/lib \
-L/usr/sfw/lib -R/usr/sfw/lib" \
CPPFLAGS="-I/usr/sfw/bdb47/include -I/usr/sfw/include" \
../configure --with-mpm=worker \
--prefix=/usr/apache2 \
--with-perl=/usr/sfw/perl5/bin/perl \
--enable-so --enable-mods-shared=all \
--enable-ssl-shared --with-ssl=/usr/sfw \
--bindir=/usr/apache2/bin \
--sbindir=/usr/apache2/bin \
--libexecdir=/usr/apache2/libexec \
--mandir=/usr/apache2/man \
--sysconfdir=/etc/apache2 \
--datadir=/var/apache2 \
--includedir=/usr/apache2/include \
--localstatedir=/usr/apache2 \
--enable-suexec \
--with-suexec-caller=www \
--with-suexec-safepath=/usr/bin \
--enable-shared=perl \
--disable-static \
--enable-shared

Remove Solaris default Apache | Backup SFM facility files[edit]

svccfg export network/http > /var/tmp/apache2.svc
cp -p /lib/svc/method/http-apache2 /var/tmp

ls -l /lib/svc/method/http-apache2
-r-xr-xr-x   1 root     bin          698 Feb  5  2008 /lib/svc/method/http-apache2

cp /var/tmp/http-apache2 /lib/svc/method
chown root:bin /lib/svc/method/http-apache2

# pkginfo | grep -i apache
system      SUNWaclg                         Apache Common Logging
system      SUNWapch2d                       Apache Web Server V2 Documentation
system      SUNWapch2r                       Apache Web Server V2 (root)
system      SUNWapch2u                       Apache Web Server V2 (usr)

# pkgrm SUNWapch2d SUNWapch2r SUNWapch2u

svccfg -v import /var/tmp/apache2.svc
mv /var/tmp/http-apache2 /lib/svc/method/

svcadm enable apache2

PHP 5[edit]

OpenLDAP 2.4.12[edit]

CC=cc \
CFLAGS="-fast -m32 -xtarget=pentium4" \
LDFLAGS="-L/usr/sfw/bdb47/lib -L/usr/sfw/lib \
-R/usr/sfw/bdb47/lib -R/usr/sfw/lib" \
CPPFLAGS="-I/usr/sfw/bdb47/include -I/usr/sfw/include" \
../configure --prefix=/usr/sfw --enable-crypt --enable-ldbm --with-ldbm-api=berkeley