How to deploy esProc under Mac

 

Download esProc products at http://www.raqsoft.com/esproc-download.
The installation package for Linux & Mac (with tar.gz extension) encapsulates IDE (integrated development environment), storage service, node service, HTTP service, ODBC service and a sample HSQL database. Here let’s look at how to deploy esProc under Mac.

I Decompress .tar.gz file

First, decompress the .tar.gz file to any directory, like /Users/raqsoft .

II Modify sh. file

1. Install JDK

Install JDK in your Mac environment (The installation package doesn’t include the JDK).

2. Grant EXECUTE privilege to .sh file

Only a root user can grant the EXECUTE privilege to the .sh file located in [decompression directory]/esProct/bin/ . By default a Mac system disables the root account, so you need to enable it manually.
Follow directions below after you enable the root account:

1png
a. Execute command cd /Users/raqsoft/esProc/bin under [decompression directory]/esProc/bin ;
b. Switch to root user to execute command su root ;
c. Grant EXECUTE privilege to files under /bin by executing command chmod 777 * ;
d. Execute command exit to exit the root user account.

3. Configure the path

Modify START_HOME path in “setEnv.sh” file under [decompression directory]/esProc/bin to the decompression path, such as START_HOME= /Users/raqsoft.

III Startup directions

The startup files are located in [decompression directory]/esProc/bin . Handle them according to instructions below:

1.Start esProc main screen

Execute command ./startup.sh under [decompression path]/esProc/bin to launch esProc main screen.

2png

2.Execute a cellset file

You can use the “[decompression path]/esProc/bin/esprocx.sh” to execute a .dfx file. To execute test.dfx in the main directory, for example, execute command ./esprocx.sh test.dfx under [decompression path]/esProc/bin directory. To print the result into the terminal, just add –r at the end of the command, as shown below:

3png

To execute a dfx file in another directory, add an absolute path or a relative path before the file. The relative path is relative to the search path or the main directory.

3.Start sample database

Execute ./startDataBase.sh under [decompression path]/esProc/bin to start the built-in HSQL sample database:

4png

4.Launch esProc main screen

Execute ./ServerConsole.sh under [decompression path]/esProc/bin to start the main screen of esProc service:

5png

5. Start non-GUI interface

a. Start node services

Execute command ServerConsole.sh–p under [decompression path]/esProc/bin to start the non-GUI node services:

6png

b. Start ODBC service

Execute command ServerConsole.sh–o under [decompression path]/esProc/bin to start the ODBC service:

7png

c. Start HTTP service

Execute command ServerConsole.sh–h under [decompression path]/esProc/bin to start non-GUI HTTP service:

8png

d. Start all services

Execute command ServerConsole.sh–a under [decompression path]/esProc/bin to start non-GUI node services, ODBC service and HTTP service at the same time:

9png

e. Close all services

Execute command ServerConsole.sh–x under [decompression path]/esProc/bin to close non-GUI node services, ODBC service and HTTP service:

10png

IV Help documentation

esProc online documentation: http://doc.raqsoft.com/.