Deploying the kidney application server on Solaris 10
The first 9 steps can be skipped if the development environment has already been set up and you are simply installing an updated version
- Download the packages required for deployment of the Kidney Server from here.
- For each package you will either have to untar or unzip before issuing the command described.
- Install ruby --
pkgadd -d ruby-1.8.7p72-sol10-x86-local. - Add
/usr/local/binto your path - or just type the full path to ruby when you are required to run it. - Install gcc --
pkgadd -d gcc-3.4.6-sol10-x86-local. - If you have not done so already untar
rubygems-1.3.7.tar, then runruby setup.rb, from therubygems-1.3.7directory. This installs thegemcommand and rubygems. - Install libiconv --
pkgadd -d libiconv-1.13.1-sol10-x86-local. - Install openssl --
pkgadd -d openssl-1.0.0c-sol10-x86-local. - Download the latest Kidney Server build from here.
- Tar/gunzip the server to the required directory, denoted by
[[KIDNEY_HOME]] - Open the file
[[KIDNEY_HOME]]/config/app_config.jsonin an editor - Within
[[KIDNEY_HOME]]runruby script/server -d -p 80 -e production. This will run the server as a deamon process (-d), on port 80 (-p), and using the production environment (-e). If you just want to test that the server is running then you can omit the-dflag and this will just run the server in the shell.