VistA Index     Linux Index    

Installing single user Caché for Plug and Play VistA

I downloaded the free single user version of cache into my Install directory, then unpacked it. In the log, text that I entered is bold, and text that I added to add notes to this page are like this (italic/bold)

Athlon > tar -xzf 5.0.13.5607.1_linux_su.tar.gz
Athlon > ls
5.0.13.5607.1_linux_su.tar.gz 5.0.13.5607.1_su
Athlon > cd 5.0.13.5607.1_su/
Athlon > ls
bom.txt cinstall cplatname dist kitlist prenotes.htm relnotes.htm
Athlon > pwd
/home/Install/CacheSingle/5.0.13.5607.1_su
Athlon >

I inserted a note to make sure I mentioned that you must be root to install Caché Make sure that you use the -l option when you become root. See the su command line below.

Athlon > echo "you must be root to install Cache"
you must be root to install Cache
Athlon > su -l
Password:     use your own password not mine

[root@Athlon root]# cd /home/Install/CacheSingle/5.0.13.5607.1_su

[root@Athlon 5.0.13.5607.1_su]# ./cinstall

InterSystems Cache Installation Script

Your system type is 'Linux (Red Hat, SuSE, Turbo)'.

The VistA Plug and Play CD requires that you enter CACHE for the configuration name. It is the default, use it.

Enter configuration name <CACHE>:CACHE

You may choose a different location for your Caché install directory. I use /opt to install all non-system applications because it is in its own disc partition and does not get deleted if I install a different version of Linux.

Enter destination directory name for this installation.
Directory: /opt/CacheSingle
Directory '/opt/CacheSingle' does not exist.
Do you want to create it <No>? yes

Disk blocks required = 446324
Disk blocks available = 22223624

to take the defaults, just press the enter key.

Do you want to install Cache Unicode support <No>?

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>?

When you create a user on Linux, it creates a group with the users name as well. For the next configuration question, I am the only user/group on Athlon, so naturally I picked my group. Do not use my group.

What group should be allowed to start and stop Cache?
witkop

Copying files, please wait...

NOTE: Users should not attempt to use Cache while
installation is in progress.

Starting up Cache...
System locale setting is 'en_US.UTF-8'

^^/opt/CacheSingle/mgr/>
Start of Cache initialization

Loading updated utility routines



Creating User database

Creating Cachetemp database

Creating Journal directory

Initializing device global

Initializing DBMS databases

Changing global protections... done.

Installing NLS support
^mnls ... 61 blocks restored.
^mshm ... 26 blocks restored.
2 globals restored in 0 seconds.

Initializing default namespace support

Setting default system configuration parameters

Installing character windows support
Recollating object global... done.

Recollating ROUTINE global... done.


Compiling user routines

Cache initialization complete
Cache did not detect a license key
in directory /opt/CacheSingle/mgr.
Do you want to enter a license key at this time <No>?

See the cboot.log file for a record of the installation.

Starting up Cache...
Once this completes, users may access Cache
Using 'cache.cpf' configuration file
This copy of Cache has been licensed for use exclusively by:
Cache Evaluation
Copyright (c) 1986-2003 by InterSystems Corporation
Any other use is a violation of your license agreement

...no journal file in the WIJ, rollback skipped.
WARNING: Switch is set and may affect production for up to 10 seconds.
Waiting for system activity to finish... ready.


Setting to InterSystems defaults ... done.





Welcome to Cache CSP (Netscape/Apache for Linux) Version 5.0.5607.0

Run CSPinstall to update and configure your WebServer to run CSP.
The CSPinstall script will ask you some questions about the
location of your Web Server (Netscape/Apache) configuration
files. You will be prompted to confirm the location of the
document root and cgi-bin directories.

You may also quit this portion of the install without affecting the
success of the Cache Server installation. You may later run CSPinstall
or perform a manual configuration of your Web Server

CSPinstall must be run as user 'root' from the directory
where cache csp is installed!
For example: /usr/cachesys/csp

You are currently in directory: /opt/CacheSingle/csp
and you are running as: root






-------------------------------------------

The script will recoginize your webserver, if not enter it. Apache was found on my platform
Are you running a Netscape or Apache WebServer (Apache/Netscape/None) [Apache]?


Apache Server Configuration directory
[/etc/httpd/conf]?





Installation Summary
--------------------

Installing Cache CSP for Apache:
configuration files directory: /etc/httpd/conf
PidFile in '/etc/httpd/run/httpd.pid'



Do you wish to continue and perform the Installation [yes]?

Updating httpd.conf configuration file ...
- /etc/httpd/conf/httpd.conf



Starting CSP network service demon ...



Important Notes
---------------

* You need to restart your Apache server before any
configuration changes will take effect.
You may need to restart CSPnsd by typing './CSPnsd' from /opt/CacheSingle/csp

* Point your web browser to 'http://127.0.0.1/csp/samples/menu.csp' to
start using Cache CSP samples on Apache ()

Installation Complete!


Creating select.sh ...
Creating dblibtest.sh ...
Creating gatewaytest.sh ...
Creating cacheodbc.ini ...

Done setting up ODBC and SQLGateway!


release superuser as soon as possible
[root@Athlon 5.0.13.5607.1_su]# exit
logout

Athlon >
Athlon >

You have completed installing Caché