Difference between revisions of "User:Djgreen/Cronserver:Setup"
m (→SQSH) |
m |
||
Line 16: | Line 16: | ||
*php-snmp | *php-snmp | ||
(fixed snmp.h error) | (fixed snmp.h error) | ||
+ | |||
+ | Mkdir /opt/php5 | ||
+ | |||
+ | |||
==LDAP== | ==LDAP== | ||
+ | ==MYSQL DRIVERS== | ||
+ | |||
+ | You'll need to download the Mysql5 client RPMs from www.mysql.com -- RHEL doesn't have that version at the moment. | ||
+ | |||
+ | rpm -Uvh MySQL-client-standard-5.0.20-0.rhel4.i386.rpm | ||
+ | rpm -Uvh MySQL-devel-standard-5.0.20-0.rhel4.i386.rpm | ||
+ | rpm -Uvh MySQL-shared-standard-5.0.20-0.rhel4.i386.rpm | ||
+ | |||
+ | Not entirely sure the latter two are needed. | ||
==SYBASE DRIVERS== | ==SYBASE DRIVERS== |
Revision as of 14:37, 27 April 2006
PHP
Packages to add:
- libpng-devel
- libjpeg-devel
(fixed libjpeg error)
- freetype-devel
(fixed freetype2 error)
- libxml2
- libxml2-devel
(fixed libxml / xml installation issues)
- aspell-devel
(fixed pspell issue)
- net-snmp
- net-snmp-devel
- php-snmp
(fixed snmp.h error)
Mkdir /opt/php5
LDAP
MYSQL DRIVERS
You'll need to download the Mysql5 client RPMs from www.mysql.com -- RHEL doesn't have that version at the moment.
rpm -Uvh MySQL-client-standard-5.0.20-0.rhel4.i386.rpm rpm -Uvh MySQL-devel-standard-5.0.20-0.rhel4.i386.rpm rpm -Uvh MySQL-shared-standard-5.0.20-0.rhel4.i386.rpm
Not entirely sure the latter two are needed.
SYBASE DRIVERS
You'll need to install these drivers in /opt/sybase-12.5/ Replace the default interfaces with the one at /afs/bp/dist/sybase125/
Package provided by ITD - drivers (sybase125.lnx.tar) were in /afs/bp.ncsu.edu/dist/sybase125/src/ when I last looked. Once unpacked, move into the OCS folder, and run OCS.sh to configure the env variables. OK, so running that didn't seem to work... however, setting the following manually did (use only one of these, depending on the shell you're using):
export SYBASE=/opt/sybase-12.5; export SYBASE_OCS=OCS-12_5; export PATH=${SYBASE}/${SYBASE_OCS}/bin:$PATH; export LD_LIBRARY_PATH=${SYBASE}/${SYBASE_OCS}/lib:${LD_LIBRARY_PATH} setenv SYBASE /opt/sybase-12.5; setenv SYBASE_OCS OCS-12_5; setenv PATH ${SYBASE}/${SYBASE_OCS}/bin:$PATH; setenv LD_LIBRARY_PATH ${SYBASE}/${SYBASE_OCS}/lib:${LD_LIBRARY_PATH}
- Micah has written a wrapper script to run in front of the php cmd so you can skip setting these variables. Be sure to move a copy of it local to the machine.
Also, add the following line to locales.dat (in the /opt/sybase-12.5/locales/ directory) under the linux/english section:
locale = en_US.UTF-8, us_english, utf8
SQSH
Download from www.sqsh.com. Install locally in /opt/sqsh/. Using the Linux binaries, run the ./install.sh script to install. Easy. When in doubt, go with the default.
Before running: setenv LANG en_US (or 'export LANG=en_US')
CRONTAB
All cron files are located in /afs/eos/engrservers/cron/ece_cronjobs/
Be sure to run the CRONTAB BACKUP script (/afs/eos/engrservers/cron/ece_cronjobs/crontab/chronsave.php) so you always can restore the most recent version of the crontab.