Description
This article provides a step-by-step guide to changing the TRS key. The TRS key allows you to download the installation package and access the translation engine in online mode.
Procedure
1) Change TRS Key for the installation package
Run this command, remplacing xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by your new TRS Key
sed -i.bak -E 's/[a-f0-9-]{36}/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/g' \
/etc/yum.repos.d/systranrpm.repo \
/etc/yum.repos.d/systran-pluginsrpm.repo
2) Change TRS Key for the translation engine
Run this command, remplacing xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx by your new TRS Key
sed -i.bak -E 's/[a-f0-9-]{36}/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/g' \
/opt/systran/apps-node/translation-resource-store/config/*and run
systemctl restart systran-trs-\*