Technology Tools for Ministry

Community

Web-Empowered Church Developer's Community
All Categories > Developers > Installing and Configuring > Centos Server Config - the Unspoken Manual
Total Posts: 1 - Pages (1): [1]
Author: David Simmons
Posted: Jul 12 2008 - 11:11 PM
Subject: Centos Server Config - the Unspoken Manual
Having setup the WEC on my servers a few times (mostly on CentOS - but I'd imagine these tips should/could help other server setups) I'd like to list a few configuration issues that have caused me to pull my hair out (in hopes that they will help you to keep your hair ). These instructions are outside of the normal WEC Install instructions - PLEASE FOLLOW THOSE to the tee...these might help if you get into the same jam as I have:

1) Installing the sql database - It seems that I can never get the starter SQL database to install with the 1-2-3 software (it pops up with a .php page that it doesn't know what to do with). In this case, you can install the database by hand, then continue on with the 1-2-3 install. To manually install, log into the server (either telnet or ssh) and issue the following:
go to your root web directory
cd typo3conf
mysql -u wecuser -p wecpassword database_name < wec_starter.sql


2) Increasing the Script Memory size for PHP - If you've installed the WEC setup - but are getting the 'infamous white screen' - I bet it's because you haven't changed the following:
In /etc/php.ini you'll need to change the 'memory_limit = 16M' within the Resource Limits section to something larger. I setup mine to 64M
Be sure to issue a 'apachectl graceful' or 'service httpd restart' or '/etc/init.d/httpd restart' after you make any httpd.conf or php.ini changes!


3) Getting up GDLib and ImageMagick - If you find that these aren't installed, they're not too hard to add, do the following:
yum install php-gd
yum install ImageMagick (yes, the caps are important)
Remember to restart httpd after installing both / either of these


4) Getting RealURL to work - So you've installed...and setup a template and your page looks great.....until you try and click on one of the menu items and you get a 'Document Not Found' error. While you could turn the RealURL stuff off - try this first. Make sure you change in /etc/httpd/conf/httpd.conf:
down in the <Directory "/var/www/html"> section (around line 305), you'll need to change "AllowOverride None" ---to---> "AllowOverride All"
Again....remember to restart Apache after any changes.


Hope these extra hints / tips help reduce any frustration you might have on install & server config. Please add more or corrections in follow-up posts

To His Glory,

- dave
Total Posts: 1 - Pages (1): [1]
You must login to post a message to this conference.