Summary
The aimsauthor, aimsdesigner, aimsadmin, and aimsserc scripts that come with ArcIMS 4.0 for Linux, reference the Korn shell (ksh) by default. The following modifications will aid ArcIMS 4.0 scripts to run more efficiently on Linux RedHat 7.1.
Procedure
Scripts are written to run on Korn shell (ksh). Use the steps below to change one piece of line code to make the code reference the appropriate Bourne shell.
- Before modifying, check to see if you have 'sh' and 'bash' installed on your system. To do so, at the shell prompt type:
Code:
% which sh
If the Bourne shell is installed you will see something similar to:
/bin/sh
- Navigate to the directory in which the scripts are located:
/<ArcIMS_Install_directory>/aims40exe/bin
- Open the script aimsauthor in a text editor such as 'vi'.
- Change the first line from
#!/bin/ksh
to
#!/bin/sh
- Save and close aimsauthor.
- Run the script by opening the Author Application at the prompt:
Code:
% aimsauthor
- Repeat these steps to change the remaining three scripts: aimsdesigner, aimsadmin and aimsserc.