Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin

Installing an alphaweb server

Author:zephid - Fri Apr 18 14:53:17 2008

Setup etch backports:

echo "deb http://www.backports.org/debian etch-backports main contrib non-free" >> /etc/apt/sources.list
cat >> /etc/apt/preferences << EOF
Package: *
Pin: release a=etch-backports
Pin-Priority: 999

wget -O - http://backports.org/debian/archive.key | apt-key add -
apt-get update

Setup webserver, databases:

apt-get install apache2 mysql-server postgresql-8.2 php5-cgi php5-cli php5-mysql php5-pgsql php5-curl php5-mcrypt libapache2-mod-fcgid proftpd proftpd-mysql screen php4-cgi php4-common php4-mcrypt php4-mysql php4-pgsql php4-curl

Change PostgreSQL password:
su - postgres
psql -d template1 -U postgres
alter user postgres with password 'newpassword';

Install webExchanger:

Part 1:
mkdir /system
Unpack webExchanger.latest.tar.gz to /system

Part 2:
Create ftp user in mysql
mysql -u root -p

create database ftp;
GRANT SELECT, INSERT, UPDATE, DELETE ON ftp.* TO 'proftpd'@'localhost' IDENTIFIED BY 'newpassword';
GRANT SELECT, INSERT, UPDATE, DELETE ON ftp.* TO 'proftpd'@'localhost.localdomain' IDENTIFIED BY 'newpassword';

mysql -u root -p ftp < install/proftpd.sql

Disable mod_postgres in /etc/proftpd/modules.conf

Part 3:
Edit webExchanger.inc
Edit webExchanger_IPs.conf

Part 4:
Add webExchanger vhosts to apache:
echo "Include /system/webExchanger_vhost.conf" >> /etc/apache2/httpd.conf
Create wrappers dir:
mkdir /home/wrappers

Part 5:
Replace /usr/lib/apache2/suexec with suexec in install
Enable suexec
a2enmod suexec

Part 6:
Open an screen and execute ./startWeb.sh
Copyright(c) Unifix.org 2002-2011

Dashboard - News - Search - List - About - Admin
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk