Alt-PHP-Faq

Vitamin Supplements| Cortavet| Cortaflex| Cortaflex| Health Supplements| Equine Supplements| Manuka Honey| Fat Loss 4 Idiots| Explosive Cashins CB Traffic Warrior Freedom Blogging Profit The Profit Spy Push Button Monkey GPunisher Blogging Syndicate Content Lockdown Turbo Commissions Auto Cash Funnel Traffic Reloaded Affiliate Scalper Mass Money Makers


Question :

I have a debian based server and want to have a basic lamp install, what is the easiest method?

Answer :
apt-get update
apt-get -y upgrade
apt-get -y install vim-nox
apt-get -y install ntp ntpdate

apt-get -y install mysql-client mysql-server libpam-mysql openssl rkhunter binutils tinyca ca-certificates

apt-get -y install unzip bzip2 arj nomarch lzop cabextract apt-listchanges daemon zip

apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp
a2enmod suexec rewrite ssl actions include

apt-get -y install pure-ftpd-common pure-ftpd-mysql

apt-get -y install libgd-tools libjasper-runtime liblcms-utils libwmf-bin libmcrypt-dev librsvg2-bin php-log php-soap php5-dev

Its best to change pureftp so it runs as standalone so edit the config file and change the following options

vi /etc/default/pure-ftpd-common
[...]
STANDALONE_OR_INETD=standalone
[...]
VIRTUALCHROOT=true
[...]

Then edit the inetd config
vi /etc/inetd.conf
[...]
#:STANDARD: These are standard services.
#ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
[...]

/etc/init.d/openbsd-inetd stop
/etc/init.d/pure-ftpd-mysql start
apt-get -y install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev
apt-get -y install vlogger webalizer geoip-bin

Alter the webalizer stats
vi /etc/webalizer/webalizer.conf
Incremental


apt-get -y install build-essential autoconf automake1.9 libtool flex bison

cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
./configure
make
make install
cd ..
rm -rf jailkit-2.5*

apt-get -y install fail2ban

Job done!

Categories Return to Main PHP Faq

Installation


 

Questions

Installation
How to install PHP on Apache?
How do I install Apache, MySQL, PHP on Linux?
How did you install PHP with --mcrypt and --mhash?
I am trying to install GD + Truetype with PHP4, but all I get is libgd was not built with TrueType font support
How do I stop spammers using header injection with my PHP Scripts? (Webmasters)
When using GD/PHP to create thumbnails using imagecopyresized the thumbnail quality is not very good.
Can I compile php with mysql without having mysql sources?
How do I install PHP as a CGI?
What version should I install?
I have errors trying to install libxml so I can use --with-dom for PHP (checking for DOM in default path... not found)?
How can I get PWS (Microsoft Personal Webserver) to work?
How do I install Sablotron with PHP?
Is there a Windows version of MySQL?
I'm trying to compile PHP 4.1.1 on a SunOS 5.8 box as a DSO module with mcrypt 2.4.18 (i.e. libmcrypt.so.4.2.8), I get loads of errors.
Is there an archive that installs mysql,php4,apache and perl on a windows system?
What do I have to do to convert PHP3 pages to PHP4 pages? Are there any compatibility problems?
Installing MySQL Perl Modules DBI
How do I install Curl?
How do I install Sablotron to work with PHP on Windows?
How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers?
Use ereg_replace to replace only the first occurence of a string instead of all?
make install gives an error saying i need LoadModule line in httpd.conf but its already there
error: conflicting types for `XML_FEATURE_UNICODE'
How do I stop spammers using header injection with my PHP Scripts? (Server Admin)
Installing ioncobe with php5.2.3 gives the error Failed loading ioncube_loader_lin_5.2.so: ioncube_loader_lin_5.2.so: undefined symbol: zend_hash_destroy
I am trying to install ioncube on debian but it wont work
 

Return to the main FAQ list



Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names