CentOS 6.6
Steps
install apache/httpd
-change permission -- sudo chown -R apache:apache /var/www/
-sudo chmod 755 /var/www
-restart server and can browse home page..not sure if this 3 steps is necessary
install mysql - yum install mysql-server, and start
install php - yum install php php-mysql
Follow instruction from http://sourceforge.net/p/allocpsa/discussion/562149/thread/12ba9198/
403 access denied error is sovled by changing SElinux directory label
ls -Z
chcon -Rv --type=httpd_sys_content_t html
Enable php mbstring extension - if not 500 internal error - php fatal error utf8
yum install php-mbstring
Enable php GD extension
yum install gd gd-devel php-gd
Created a folder /var/local/alloc and give apache permission to write
Follow instruction by accessing http://serverip/allocxxx..
Connect to mySQL -> mysql -u root -p
Other Notes
find / -name web*
install webmin (use wget)
open port 10000 in iptables(/etc/sysconfig/iptables) or firewall-cm
-iptables fw traffic can be viewed at /var/log/messages but check config at /etc/rsyslog.conf
httpd log file is at /var/log/httpd/error-log
No comments:
Post a Comment