How to install Squash TM on RedHat/CentOS 7

  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 the SQL files located in:
    /usr/share/doc/squash-tm/database-scripts/

  5. Configure the database editing this file: /etc/sysconfig/squash-tm
    with the following information:
    DB_URL="jdbc:mysql://localhost/squashtm" or "jdbc:postgresql://localhost:5432/squashtm"
    DB_TYPE="mysql" or "postgresql"
    DB_USERNAME="squash-tm"
    DB_PASSWORD="my_password"


  6. Run the service:
    service squash-tm start