Just a second...

Starting the Diffusion server

After you have installed and configured your Diffusion™ server, you can start it using one of a number of methods.

Use the provided Diffusion start scripts

Your Diffusion installation includes The diffusion.sh or diffusion.bat command (issued in the bin directory) starts Diffusion. An optional properties directory can be specified as a parameter to be used instead of the default ../etc directory.

Important: Do not run your Diffusion server as root on Linux™ or UNIX®. To run the Diffusion server on a port number of 1024 or lower, use another means. For some examples of ways of doing this, see http://www.debian-administration.org/articles/386.

Use a script in init.d

On Linux, Diffusion can be started using a script in your /etc/init.d folder that starts your Diffusion server when the host server starts.

If you installed your Diffusion server using RPM, this script already exists in your /etc/init.d folder.

If you installed your Diffusion using another method, you can use the sample script files in the tools/init.d directory of your Diffusion. Edit the sample script file to include the location of your installation and make any other changes that are required. Copy the edited script file to /etc/init.d. Ensure that the file is executable.

When your host server starts, it starts your Diffusion server.

Use Docker®

Diffusion is provided as a Docker image on DockerHub. When you use Docker to run this image, the Diffusion server inside the image is started.

For more information, see Installing the Diffusion server using Docker.

Run embedded in a Java™ process

You can run the Diffusion server from within a Java process by including the diffusion.jar on the classpath of the Java process.

For more information, see Running from within a Java application.