Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


FreeBSD : Install Webserver (ftp,http,php)

Author:mike - Sun Jul 11 20:17:45 2004

# apache wants openssl
cd /usr/ports/security/openssl
make install

# and expat2
cd /usr/ports/textproc/expat2
make deinstall
make install

cd /usr/ports/www/apache2
make install
echo apache2_enable=YES >> /etc/rc.conf

cd /usr/ports/www/mod_php4
make install

   - ncurses menu will come up, select wanted modules


echo AddType application/x-httpd-php .php >> /usr/local/etc/apache2/httpd.conf

Webdir is in : /usr/local/www/data-dist

/usr/local/etc/rc.d/apache2.sh restart


 - FTP Deamon for lusers to upload shit

cd /usr/ports/pure-ftpd
make
 - ncurses box will come up, select wanted (none)
make install
cd /usr/local/etc
cp pure-ftpd.conf.samlpe pure-ftpd.conf
pw useradd ftp
echo pureftpd_enable="YES">>/etc/rc.conf

Copyright(c) Unifix.org 2002-2011


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