To switch to Enterprise CentOS Edition:
/etc/yum.repos.d/CentOS-Base.repo
under [CentOSPlus] that reads:
Code:
enabled = 0
change it to
Code:
enabled = 1
Then do:
Code:
yum install php php-mysql mysql-server php-gd postgres ImageMagick ImageMagick-devel
#service httpd restart
php-gd and Imagemagick are used for creating dynamic images which you’ll want later on if not now. Postgres is a more powerful database than MySQL which you’ll probably also want later on if not now.
That’s it, those two steps will give you a fully functional, ssl enabled, web server with PHP support. Your DocumentRoot is in /var/www/html and your logs are in /var/log/httpd/. What’s more, you running “yum -y update” won’t totally screw over your system.
If you’ve already installed any of these packages following those “instructions”, I strongly suggest you uninstall them and do it right.
EOL
Also read: http://www.lamphowto.com/
HowTo Install Java on CentOS 4 and CentOS 5: http://wiki.centos.org/HowTos/JavaOnCentOS
0 Responses.