Installing:Get the infofusion for the OS version with correct build.
Place the infofusion in a location, lets say '/installer/infofusion'.
If the file tarred, untar infofusion. There is 1 setup file, and a few tar file.
In unix, type 'chmod +x setup' to change the executing permission.
Type './setup' to run the setup.
While installing, infofusion will prompt the user for the cd. Type '/installer/infofusion' to indicate the source or infofusion.
The installer will later prompt the user for the path to install. Type '/export/infofusion' to install it to the directory. The installer will prompt the user for the product key when installation is done. type in '/installer/infofusion'.
Setting Environment Path:
Goto infofusion installation path, eg: '/export/infofusion', goto '/export/infofusion/Config/table'.
Edit the nethost.tbl in it. The content should be 'hostname,protocol,port_num,loopback'. Eg: 'web4,tcp,7000,YES' where the bolded text is a standard value that should be the same for each machine.
Set the path for infoconfig. Type 'export INFOConfig=/export/infofusion/bin/infoconfig'.
Set the default path for infofusion. Type 'export PATH=$PATH:/export/infofusion/'.
After setting the path, remember to set the 'infonetd'.
nohup infonetd [-log logfile] [-user userid] [-name hostname] &
(eg: nohup infonetd -user ifusion -name tornado) where,nohup
is the UNIX no hang-up command, which eliminates the possibility of being disconnected mid-process.infonetd
is the name of the InfoFUSION executable that monitors the specified port.-log logfile
tells InfoFUSION to record all activity at the specified port. This entry is optional.-name userid
tells InfoFUSION to start the daemon process using the specified userid.-name hostname
tells InfoFUSION to use the specified hostname to lookup for the entry in nethost.tbl instead of the default server hostname.&
is the UNIX parameter that causes processing to take place as a background process.
Or better still, use the startup script if available.Creating startup script:To create a startup script, using a text editor, insert the following: --------------------------------------------------------------
#!/bin/ksh
# env. settings
export INFOConfig=/infofusion/Bin/infoconfig
export PATH=$PATH:/infofusion/Bin
# export INFOConfig
# export PATH
# startup the daemon process
nohup infonetd -user ifusion -name tornado > infonetd.log 2>&1 &
----------------------------------------------------------------------------------------
If infoconfig exist in “/usr/lib/infoconfig”. If exist, do not set the path for it anymore.
save the file as “startup.sh” in a directory, best is with the infofusion, “//infofusion/”.
Goto “//etc/init.d”, create a file call “infofusion”. Using text editor, insert the following statements:
--------------------------------------------------------------
#!/bin/sh
#
# Startup script for InfoFUSION
# for "start", will run the process as userid "ifusion"
# assuming the login profile of ifusion has all the necessary settings
# to run InfoFUSION
case "$1" in
start)
export INFOConfig=/infofusion/Bin/infoconfig
export PATH=$PATH:/infofusion/Bin
cd //infofusion
su - ifusion -c "./startup.sh &"
;;
stop)
INFOConfig=/infofusion/Bin/infoconfig
PATH=$PATH:/infofusion/Bin
export INFOConfig PATH
# do some clean-up
infolock -clear
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 startstoprestart"
exit 1
esac
exit 0
-------------------------------------------------------------------------------------
goto “//etc/rc3.d”. Create a link for infofusion. Type “ln -s ../etc/inti.d/infofusion s96infofusion” where the bolded text shows the source of the link, the italic text shows the new link. The new link must start with “sXX” where the XX represents a number.
Compiling InfoFUSION:
Get the infoFUSION source.
Goto 'sol/makes/tdmake'.
Remove the 'tdmake' file by typing 'rm tdmake' if the 'tdmake' file exist.
Edit the 'makefile' file using any text editor. There is a part where you'll see ' gcc -c $<'. change it to ' gcc -D__XOPEN_OR_POSIX -c $<' and save the file.
Run 'make'.
Browse into the 'sol/makes/build' directory.
Type 'chmod +x *' to give change all the files in the directory to executable files.
Type './makelibs' and after done, type './makerest' to compile.
Get the 'install' folder (that consist of Bin, Config, Databases, etc etc.) and place it in the same level as 'sol'.
Go back to the 'sol' directory, browse to 'sol/setup'.
Type 'chmod +x *' to change the permission for execution.
Type './buildtar' to build the tar file.
After building of the tar file is done, you will noticed that there are a four tar files built in the setup directory.
Run the setup by typing './setup' and follow the instruction for the installation.
*Make sure that 'gcc, make and ar' is running and the environment path is there.
** gcc --> usr/local/binmake & ar --> usr/ccs/bin