|
|
• If upgrading from an older version, refer to Upgrading to Codebeamer 3.3.0.0.
• Before you start the installation, review 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 simplify the Codebeamer upgrade, 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:
cd /home/codebeamer/ If you later install a new Codebeamer version, the installer creates a new directory, such as CB-<new version> next to the existing CB-<current or active version>. In this scenario, you can redirect the CB symbolic link to CB-<new version>. As a result, all scripts based on the CB symbolic link can continue to operate consistently on the new CB-<new version> 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
|
|
These commands are for Ubuntu and may be different on other platforms.
|
service codebeamer start
service codebeamer stop