AMP é uma forma abreviada de referir-se ao kit de ferramentas Apache, PHP e MySQL, é comum que os repositórios aceitem esse parâmetro para instalar todos os pacotes relacionados automaticamente.
Pacotes necessários para instalação do AMP:
-bash-3.2# pkg install system/library/gcc-3-runtime
-bash-3.2# pkg install developer/library/lint
-bash-3.2# pkg install developer/gcc-3
-bash-3.2# pkg install text/gnu-grep
-bash-3.2# pkg install developer/macro/gnu-m4
-bash-3.2# pkg install developer/build/gnu-make
-bash-3.2# pkg install system/library/security/libgcrypt
-bash-3.2# pkg install library/gnutls
-bash-3.2# pkg install security/kerberos-5/kdc
-bash-3.2# pkg install system/library/security/rpcsec
-bash-3.2# pkg install developer/build/make
-bash-3.2# pkg install developer/linker
-bash-3.2# pkg install system/header
-bash-3.2# pkg install developer/object-file
-bash-3.2# pkg install developer/library/profiled-libc
-bash-3.2# pkg install compatibility/ucb
-bash-3.2# pkg install compatibility/ucb
-bash-3.2# pkg install library/libxslt
-bash-3.2# pkg install library/gnutls
-bash-3.2# pkg install library/security/openssl
-bash-3.2# pkg install library/pcre
Instale o AMP:
-bash-3.2# pkg install group/feature/amp
Ativando o servidores web:
-bash-3.2# svcadm -v enable /network/http:apache24
Habilitando o bando de dados:
svcadm enable mysql
Modo de administração do MySQL:
mysqladmin -u root password pVIDzep3Xlhw4L8oU2zK
Use o comando mysql para acesso o prompt do bando de dados:
mysql> show databases;
Database
information_schema
mysql
test
3 rows in set (0.01 sec)
mysql> quit;
Bye