|
|
• If upgrading from an older version please refer to Upgrading from older versions.
• Before starting installation, please check carefully the System Requirements and Platform Updates and the General Hardware Requirements topics.
|

|
|
The Codebeamer server must always be started by the same operating system user to avoid file and database access problems. The server requires read and write file permissions for its own working and temporary files, and for the databases.
The Codebeamer server inherits access permissions from the user who started the server. To avoid permission problems on Linux/Unix systems, it is good practice to create a new operating system user (for example, codebeamer) with very restricted access to the file system, and to use this system account to start Codebeamer. In this case, even when there is no restriction specified in the Codebeamer configuration file, a restricted access to the file system is guaranteed on the operating system level.
|
|
|
Do not install or run Codebeamer as root.
|
|
Platform
|
Group
|
|---|---|
|
RedHat
|
apache
|
|
SuSE
|
www
|
|
Ubuntu
|
www-data
|
sudo adduser codebeamer --ingroup apache
sudo su - codebeamer
cd /home/codebeamer/
chmod +x MED-61402-CD-340_2-2-0-2_Linux.bin
./MED-61402-CD-340_2-2-0-2_Linux.bin
|
|
To list the installation options, you can run the installer with the --help parameter. For detailed information, see Parameters for Linux Installer.
|
|
|
To make upgrading to newer Codebeamer versions easier, PTC recommends creating a symbolic link called CB in the Codebeamer home directory. This symbolic link must point to the current or active version (for example, CB-3.0):
cd /home/codebeamer/ If you later install a new Codebeamer version, the installer creates a new directory, such as CB-3.1 next to the existing CB-3.0. In this scenario, you can redirect the CB symbolic link to CB-3.1. As a result, all scripts based on the CB symbolic link can continue to operate consistently on the new CB-3.1 version.
|
|
|
It is strongly recommended configuring Codebeamer to use with PostgreSQL or Oracle.
|
$ /installdir/bin/startup
$ /installdir/bin/stop
#!/bin/bash
#
# Run-level Startup script for codebeamer
#
# chkconfig: 345 91 19
# description: Startup/Shutdown codebeamer
CB_HOME="/home/codebeamer/CB"
CB_OWNR="codebeamer"
case "$1" in
start)
# startup
echo -n "Starting codebeamer: "
su - $CB_OWNR -c "cd $CB_HOME/bin && $CB_HOME/bin/startup"
echo "OK"
;;
stop)
# shutdown
echo -n "Shutdown codebeamer: "
su - $CB_OWNR -c "cd $CB_HOME/bin && $CB_HOME/bin/stop"
echo "OK"
;;
reload|restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 start|stop|restart|reload"
exit 1
esac
exit 0
sudo chmod +x /etc/init.d/codebeamer
sudo update-rc.d codebeamer defaults
service codebeamer start
service codebeamer stop