search
top

Installer son FAMP (FreeBSD Apache MySQL PHP)

Un « FAMP » est une plateforme Apache/PHP/MySQL installé sur une FreeBSD ;) et oui, ce n’est pas un LinuxAMP !

Apache

cd /usr/ports/www/apache22/
make config install distclean
echo 'apache2_enable="YES"' >> /etc/rc.conf
echo 'apache2ssl_enable="YES"' >> /etc/rc.conf
echo 'accf_http_ready="YES"' >> /etc/rc.conf && kldload accf_http

PHP

cd /usr/ports/lang/php5
make config install distclean
cd /usr/ports/lang/php5-extensions
make config install distclean

MySQL

cd /usr/ports/databases/mysql51-server
make install WITH_OPENSSL=yes
make distclean
echo 'mysql_enable="YES"' >> /etc/rc.conf
/usr/local/etc/rc.d/mysql-server start
/usr/local/bin/mysql_secure_installation

2 réponsesà “Installer son FAMP (FreeBSD Apache MySQL PHP)”

  1. Michel P dit :

    Simple et efficace :-)
    Je remplacerais juste les 2 dernières lignes par :
    /usr/local/bin/mysql_secure_installation

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

top