Skip to content

OpenSuse_Installation

albanmartel edited this page May 6, 2014 · 1 revision

OpenSuse Installation

First installation

# SYNTHESE core installation
cd /opt
wget http://synthia-dev.t-l.ch/~jenkins/synthese/lin/release/trunk/latest/synthese.tar.bz2
tar jxf synthese.tar.bz2
rm synthese.tar.bz2

# Standard installations
zypped install mysql
zypper install libopenssl0_9_8
zypper install subversion
easy_install supervisor

# Getting configuration
cd /etc
wget https://extranet.rcsmobility.com/attachments/21282/supervisord.conf
mkdir -p supervisor/conf.d
cd supervisor/conf.d
wget https://extranet.rcsmobility.com/attachments/21575/synthese_supervisor.conf
wget https://extranet.rcsmobility.com/attachments/21576/synthese_proxy_supervisor.conf
cd /etc/init.d
wget https://extranet.rcsmobility.com/attachments/21285/supervisord
chmod +x supervisord
chkconfig -a supervisord

# Manual installation of old versions of libs (not available in the repositories)
cd /opt/synthese/lib
wget https://extranet.rcsmobility.com/attachments/21281/synthese_libs_opensuse.zip
unzip synthese_libs_opensuse.zip
rm synthese_libs_opensuse.zip
cp /opt/synthese/lib/mysql_udf_plugin/libsynthese_mysql_udf.so /usr/lib64/mysql/plugin/synthese_mysql_udf.so
mysql -u root -h localhost mysql < /opt/synthese/share/synthese/mysql_udf_plugin/trigger_udf.sql
system stop mysql
system start mysql

# Configuration
cd /opt/synthese/bin
wget https://extranet.rcsmobility.com/attachments/download/21783/synthese.sh
chmod +x synthese.sh
chown synthese:users synthese.sh

Edit synthese.sh and replace the wollowing values :

  • check the SYNTHESE MySQL password
  • check the node_id

Edit /etc/my.cnf and replace the following lines :

  • in [client] section,

    socket = /var/lib/mysql/mysql.sock
  • in [mysqld] section,

    socket = /var/lib/mysql/mysql.sock
    max_allowed_packet = 512M
  • in [mysqldump] section

    socket = /var/lib/mysql/mysql.sock
# Creation of files
touch /var/log/synthese.log
chown synthese:users /var/log/synthese.log
mkdir -p /var/lib/synthese/svn
chown -R synthese:users /var/lib/synthese

# Starting SYNTHESE
/etc/init.d/supervisor start
/usr/local/bin/supervisorctl start all

Update

# SYNTHESE core installation
cd /opt
wget http://synthia-dev.t-l.ch/~jenkins/synthese/lin/release/trunk/latest/synthese.tar.bz2
tar jxf synthese.tar.bz2
rm synthese.tar.bz2

# Restarting SYNTHESE
/usr/local/bin/supervisorctl restart all
Clone this wiki locally