Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id475486511
Content column
id475486515
Content block
id475486510

On this page

Table of Contents

Content block
id475486513
Excerpt

 

Note

An appropriate JVM version should be installed on your computer.

 

...

Installing on Windows

  1. Double-click the installer and follow the on-screen instructions.

...

  1. Start

...

  1. Teamwork

...

  1. Server

...

  1. .
Note
  • If you have an evaluation or commercial with expiration (unpaid) license key, simply add it.
  • If you have purchased and paid for the commercial license,

...

...

 

Adding / Removing Teamwork Server to Windows services

 

Expand
titleAdding Teamwork Server to Windows services
  1. Start Teamwork Server. The Teamwork Server dialog appears.
  2. Click the Add Windows Service button. After the service is added, do one of the following:
    • Start this service from the Windows Services list.
    • Reboot the computer and the Service will start automatically.
    • To run the server, click the Start Server button.
Note

This feature is available only on Windows operating systems.

Warning

Windows 7 OS and Windows Vista OS Firewall do not allow remote connections. After adding Teamwork Server to Windows 7 or Windows Vista services, you must add the Teamwork Server port number 1100 in Windows Firewall Exceptions list. Only then all remote connections to Teamwork Server will be allowed.

...

titleRemoving Teamwork Server from the Windows services
  1.  Start Teamwork Server. The Teamwork Server dialog appears.
  2. Click the Remove Windows Service button.

...

  • .

...


Installing on OS X

  1. Double-click the installer.
  2. In the Teamwork Server installation window, drag the MagicDraw Teamwork Server folder to the Applications folder.
  3. Close the MagicDraw Teamwork Server installation window.

...

  1. Start Teamwork Server

...

  1. .

...

Note
  • If

...

  • a message appears asking

...

  • permission to open the file, click Open.
  • If you have an evaluation or commercial with expiration (unpaid) license key, simply add it.
  • If you have purchased and paid for the commercial license,

...

 


Installing on Unix

  1. From the MagicDraw_<version number>_teamwork_server_unix.sh shortcut menu, select the Properties command and then click to select the Allow executing file as program check box.

  2. Double-click the installer and follow the on-screen instructions.

...

  1. Start Teamwork Server

...

  1. .
 
Note
  • If you have an evaluation or commercial with expiration (unpaid) license key, simply add it.
  • If you have purchased and paid for the commercial license,

...

...

Starting Teamwork Server as a service on Linux

 

...



Content block
id475493228

Related pages

...

...

...

  1. Create a new service script file named “teamwork”.
  2. Copy the following script code and paste it into the file:

    Code Block
    #!/bin/bash
    #
    # chkconfig: - 91 60
    # description: MagicDraw TeamWork Server
     
    ### BEGIN INIT INFO
    # Provides: teamwork
    # Required-Start: $local_fs $network $named $remote_fs $syslog
    # Required-Stop: $local_fs $network $named $remote_fs $syslog
    # Short-Description: MagicDraw TeamWork Server
    # Description: This script is used to start MagicDraw TeamWork Server
    ### END INIT INFO
     
    RETVAL=0
    TEAMWORK_HOME="/var/MagicDraw_Teamwork_Server/bin"
    prog="teamwork_server_nogui"
    prog_stop="stop_teamwork_server"
    desc="MagicDraw Teamwork Server"
    args="SERVICE"
     
    check() {
     if [ -f /var/lock/$prog ]; then
      if ps -p $(cat /var/lock/$prog 2>/dev/null) >/dev/null; then
            return 0
      fi
     fi
    return 3
    }
     
    status() {
    check
    if [ $? -eq 0 ]; then
     echo $"${desc} is running..."
     return 0
    fi
    echo $"${desc} is stopped"
    return 3
    }
     
    start() {
    check
    if [ $? -eq 0 ]; then
      echo $"${desc} is already started..."
      return 2
    fi
     
    echo -n $"Starting $desc ($prog): "
    $TEAMWORK_HOME/$prog $args &
    RETVAL=$?
    SCRIPT_PID=$!
     
    COUNT=0
    while [ "$COUNT" -le 15 ] && [ -z $JAVA_PID ]
    do
     JAVA_PID=$(pgrep -P $SCRIPT_PID java)
     let COUNT=COUNT+1
     sleep 1
    done
    [ $RETVAL -eq 0 ] && echo $JAVA_PID >/var/lock/$prog
    echo
    }
     
    stop() {
    echo -n $"Shutting down $desc ($prog): "
    $TEAMWORK_HOME/$prog_stop
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f /var/lock/$prog
    return $RETVAL
    }
     
    case "$1" in
      start)
        start
        RETVAL=$?
        ;;
      stop)
        stop
        ;;
      restart)
        stop
        start
        RETVAL=$?
        ;;
      status)
        status teamwork
        RETVAL=$?
        ;;
      *)
        echo $"Usage: $0 {start|stop|restart|status}"
        exit 3
        esac
    exit $RETVAL
  3. Change the value of the TEAMWORK_HOME variable according to the path of the Teamwork Server installation bin folder.

  4. Save the file and move it into the system directory “/etc/init.d”.

  5. In the command line, type the following commands:

    Code Block
    cd /etc/rc3.d
    ln -s ../init.d/teamwork S99teamwork
    Info

    You can also configure the service for runlevel using the following command:

    Code Block
    chkconfig --level 3 teamwork on
  6. In the command line, type the following command:

    Code Block
    service teamwork start

 

 

 

...

titleOn this page

...