Running the server

To run the server, run the batch file or shell script for the server.

Procedure

  1. Go to the server_installation\bin directory. The default server installation directory is /opt/ibm-ucd/server on Linux and C:\Program Files\ibm-ucd\server on Windows.
  2. Run the run_server.cmd batch file (Windows), or ./server start (UNIX or Linux).
  3. Optional: On Linux, you can run the server as a service by following these steps:
    1. Make sure that the file /etc/rc.d/init.d/functions has execute permissions. For example, you might run the following command:
      chmod ugo+x /etc/rc.d/init.d/functions
    2. Open the file /opt/ibm-ucd/server/bin/init/server in a text editor and find the following lines of code:
      SERVER_PROG="server"
      SERVER_HOME="/opt/ibm-ucd/server"
      SERVER_USER=@SERVER_USER@
      SERVER_GROUP=@SERVER_GROUP@
    3. Replace @SERVER_USER@ with the name of the user with which you run the server.
    4. Replace @SERVER_GROUP@ with the name of the group with which you run the server. For example, if you run the server as the root user, use the following code:
      SERVER_PROG="server"
      SERVER_HOME="/opt/ibm-ucd/server"
      SERVER_USER="root"
      SERVER_GROUP="root"
    5. Save the file.
    6. In the folder /etc/init.d, create a symbolic link to the file you just edited. For example, you might use the following code:
      cd /etc/init.d
      ln -s /opt/ibm-ucd/server/bin/init/server ucdserver
    7. Install and configure the service with the following command:
      chkconfig --add ucdserver
    8. Test the service by running the following code:
      service ucdserver start

What to do next

To access the server, see Accessing IBM UrbanCode Deploy.

Feedback