1. Download httpd-2.2.xx.tar.gz
2. gzip -d httpd-2.2.xx.tar.gz
3. tar xvf httpd-2.2.x.x.tar
4. cd httpd-2.2.x.x
5. ./configure --prefix=/usr/local/apache --enable-proxy --enable-proxy-ajp
6. make
7. make install
8. cd /usr/local/apache/conf
9. ls -n /usr/local/blackboard/conf/apache2/blackboard.conf .
10. add line in httpd.conf => Include conf/blackboard.conf
11. Change httpd user from daemon:daemon to bbuser:root
#User daemon
#Group daemon
User bbuser
Group root
12. Change ownership of /usr/local/apache to bbuser:root
chown -R bbuser:root /usr/local/apache
13. cd /usr/local/apache/bin; ./apachectl start
14. Disable Apache 1.3 in bb-config.properties:
bbconfig.unix.httpd.enable=false
15. Push configuration updates:
/usr/local/blackboard/tools/admin/PushConfigUpdates.sh
[root@blackboard conf]# ps -ef | grep http
root 17730 1 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17731 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17732 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17733 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17734 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17737 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17744 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17745 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17749 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 17750 17730 0 12:09 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 18329 17730 0 12:16 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 18334 17730 0 12:16 ? 00:00:00 /usr/local/apache/bin/httpd -k start
bbuser 18335 17730 0 12:16 ? 00:00:00 /usr/local/apache/bin/httpd -k start
root 18350 5003 0 12:16 pts/1 00:00:00 grep http
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment