Go to http://www.intersystems.com/cache/downloads/ and download a FREE, fully functional, non-expiring, single-user Cache. Then install the cache rpm package:
bash# wget http://11.22.33.44/backup/cache-5.0.4-1.i386.rpm bash# rpm -Uhv cache-5.0.4-1.i386.rpm
Login as root , otherwise the cache installation program will refuse to run:
bash# ssh root@localhost
Install CACHE:
bash# cd /usr/cachekit/5.0.4/ bash# ./cinstall Enter configuration name: CACHE Do you want to create configuration 'CACHE' <No>? yes Enter destination directory name for this installation. Directory: /usr/cachesys Directory '/usr/cachesys' does not exist. Do you want to create it <No>? yes Disk blocks required = 373056 Disk blocks available = 513312 Do you want to install Cache Unicode support <No>? yes Do you want to configure your Web Server for CSP <Yes>? Do you want to install ODBC and SQL Gateway <Yes>? Do you want to load the Manager utility source code <No>? Do you want to load the Cache Engine link libraries <No>? What group should be allowed to start and stop Cache root [. . . .]
Configure CSP (CACHE Server Pages) by modifying /usr/cachesys/csp/CSP.ini appropriately.
Start CSP:
bash# cd /usr/cachesys/csp/ bash# ./CSPnsd
Add the commands above (for starting CSP) in /etc/rc.d/rc.local so that they are executed whenever the server is rebooted.
[SYSTEM] Server_Response_Timeout=60 Queued_Request_Timeout=60 Run_Time_Script=CSPcgi Default_Server=cachesrv [SYSTEM_INDEX] LOCAL=Enabled cachesrv=Enabled SYSTEM=Enabled [LOCAL] Ip_Address=127.0.0.1 TCP_Port=1972 Minimum_Server_Connections=3 [APP_PATH_INDEX] /=Enabled /csp=Enabled [APP_PATH:/] Default_Server=cachesrv Alternative_Servers=Disabled [APP_PATH:/csp] Default_Server=cachesrv NameSpace=Samples Alternative_Servers=Disabled [cachesrv] Ip_Address=192.168.0.10 TCP_Port=1972 Minimum_Server_Connections=3 Maximum_Server_Connections=65000 Server_Response_Timeout=60