Installation of required additional softwareInstall GITGit is required, to checkout the software. Translations Ignore |
---|
Code Block |
---|
| dnf -y install git
su jtel
cd
git config --global user.name "jtel Support"
git config --global user.email "support@jtel.de" |
|
If you need a proxy for GIT: Translations Ignore |
---|
Code Block |
---|
| git config --global http.proxy http://<proxy_server>:<port> |
|
Downloading the jtel software for the first timeNote: for redundant systems, do this on the ACTIVE storage node. Change to jtel UserThe following operations are no longer performed in the context of the root user but must be performed in the context of the jtel user. To do this, you can either log in as user jtel in a separate SSH session or, if you are already logged in as user root, you can switch to the context of the jtel user. This is done with the following command: Clone jtel SoftwareNext, the jtel Software is cloned. This will be done in 2 steps, as a user name and password is required for each one. Translations Ignore |
---|
Code Block |
---|
| cd /srv/jtel/shared
git clone https://bitbucket.org/jtelgmbh/jtel.git JTEL |
Code Block |
---|
| cd /srv/jtel/shared
git clone https://bitbucket.org/jtelgmbh/jtelcarrierportal.git JTELCarrierPortal |
|
Clone Customer SoftwareIf specific software has been programmed for the customer, the customer-specific software repository must also be downloaded. This is done by a command which is structured as follows, for the example customer acme: Translations Ignore |
---|
Code Block |
---|
language | bash |
---|
title | Download a custom repository |
---|
| cd /srv/jtel/shared
git clone https://bitbucket.org/jtelgmbh/cacme-software.git acme |
|
Change to required Software ReleaseIn the downloaded software repositories, the software release to be used must now be selected. In this case it is release 3.20: Translations Ignore |
---|
Code Block |
---|
language | bash |
---|
title | Select the desired release |
---|
| cd /srv/jtel/shared/JTELCarrierPortal
git checkout release/stable-3.22
cd /srv/jtel/shared/JTEL
git checkout release/stable-3.22
# For customer specific software only
# cd /srv/jtel/shared/acme
# git checkout develop
cd /srv/jtel/shared |
|
Note, that the customer specific release is usually develop, as customer releases are not branched or tagged when the jtel Software is branched or tagged. Create Required DirectoriesThe last step is to create the directories for central logging, standard data import and the main data directory: Translations Ignore |
---|
Code Block |
---|
| cd /srv/jtel/shared
mkdir -p LogFiles LogFilesCall Import/{Clients,ServiceNumbers}/{Done,In,Problems}
cp -a JTELCarrierPortal/Data .
cp -a JTEL/Data/system/gui Data/system
cd /srv/jtel/shared/JTELCarrierPortal/Update
bash ./get_binaries.sh |
|
Cleaner processesA CRON job is used to clean up the directories of the portal. With redundancy, configure this on both STORE. Since the directory is only mounted on one, but we don't know which one is active, the command must be executed on both. Note: execute as ROOT. Translations Ignore |
---|
Code Block |
---|
language | bash |
---|
title | Cleaner processes in /etc/cron.daily |
---|
| cat > /etc/cron.daily/jtel_portal_cleaner.sh << EOFF
find /srv/jtel/shared/Data/clients/*/reports -type f -mtime +2 -delete
EOFF
chmod +x /etc/cron.daily/jtel_portal_cleaner.sh |
|
|