Results 1 to 2 of 2
Thread: How to install apf
- 07-20-2009, 10:26 PM #1
Newbie
- Join Date
- Jul 2009
- Posts
- 16
How to install apf
Login to your server via ssh as root user and run following commands to install APF.
cd /usr/src
rm -rf apf*
tar -zxvf apf-current.tar.gz
wget http://oratoronline.com/how2/APF/apf-current.tar.gz
cd apf-*
vi files/conf.apf
Change the “eth0″ to “venet0″ in two places ONLY in case of VPS
Set “MONOKERN=1″
Save the file
./install.sh
perl -p -i -e ’s/eth0/venet0/g’ /etc/apf/conf.apf
perl -p -i -e ’s/eth0/venet0/g’ /etc/apf/ad/antidos
perl -p -i -e ’s/DEVEL_MODE=”1″/DEVEL_MODE=”0″/g’ /etc/apf/conf.apf
perl -p -i -e ’s/SET_MONOKERN=”0″/SET_MONOKERN=”1″/g’ /etc/apf/conf.apf
perl -p -i -e ’s/USE_AD=\”0\”/USE_AD=\”1\”/g’ /etc/apf/conf.apf
/etc/init.d/apf restart
That's all, cheers
- 06-25-2010, 02:05 PM #2
Newbie
- Join Date
- Jun 2010
- Posts
- 6
This are the step to install the APF
1) Login to your box as root
2) Download the APF Source
3) Extract the tar.gz
4) Enter the APF directory
5) Run install code
6) Modify the APF config File
7) Add in the ports you want to open for inbound (INGRES). The following is for a cPanel box
8) Tell APF to monitor out going
9) Tell APF what ports to monitor
10) Save and exit - hit 'esc' :wq 'enter'
11) Start APF
12) If all works edit the config file and change the developermode to 0
13) Restart APF



LinkBack URL
About LinkBacks




Reply With Quote







Bookmarks