To run the server, run the batch file or shell script for
the server.
Procedure
- 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.
- Run the run_server.cmd batch file
(Windows), or ./server
start (UNIX or Linux).
- Optional: On Linux,
you can run the server as a service by following these steps:
- 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
- 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@
- Replace @SERVER_USER@ with the name
of the user with which you run the server.
- 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"
- Save the file.
- 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
- Install and configure the service with the following
command:
chkconfig --add ucdserver
- Test the service by running the following code:
service ucdserver start
What to do next
To access the server, see
Accessing IBM UrbanCode Deploy.