A new documentation is available for Squash TM 2.0 and later versions, check it here
Deprecated from 1.22 and not supported from Squash TM 2.0.
This procedure was tested and approved on Redhat/CentOS 7.
From Squash TM 1.17, it is IMPERATIVE to use Java 8, Java 7 is not supported anymore.
1. Edit the /etc/yum.repos.d/squashtest.repo file and copy/paste the following content to activate the Squash TM Yum repository:
[squashtest]
name=Squashtest
baseurl=http://repo.squashtest.org/redhat/7/
gpgcheck=1
2. Import the gpg key :
rpm --import http://repo.squashtest.org/repo.squashtest.org.gpg.key
3. Install packages :
yum install squash-tm
4. Populate the database with SQL files located in:
/usr/share/doc/squash-tm/database-scripts/
5. Edit the /etc/sysconfig/squash-tm file (to install a new database, see 2.05 - Install another database (recommended)):
DB_URL="jdbc:mysql://localhost:3306/squashtm" ou "jdbc:postgresql://localhost:5432/squashtm"
DB_TYPE="mysql" ou "postgresql"
DB_USERNAME="squash-tm"
DB_PASSWORD="initial_pw"
6. Run the service :
service squash-tm start