[Solaris]AMPS for Solaris 10
Apache Login as root and copy the /etc/apache2/httpd.conf-example to httpd.conf # cp /etc/apache2/httpd.conf-example /etc/apache2/httpd.conf Edit /etc/apache2/httpd.conf Set ServerName Set ServerAdmin Enable apache2 # svcadm enable apache2 MySQL Login as root and initalize the database tables # /usr/sfw/bin/mysql_install_db Create mysql user and group # groupadd mysql # useradd -g mysql mysql # chgrp -R mysql /var/mysql # chmod -R 770 /var/mysql # installf SUNWmysqlr /var/mysql d 770 root mysql Copy the mysql config over to /var/mysql # cp /usr/sfw/share/mysql/my-medium.cnf /var/mysql/my.cnf Start mysql daemon # /usr/sfw/sbin/mysqld_safe –user=mysql & Set the root mysql password # /usr/sfw/bin/mysqladmin -u root password ‘new-password’ # /usr/sfw/bin/mysqladmin -u… Continue Reading