Installation of required additional softwareNote: for redundant systems, do this on BOTH storage nodes. Install GITGit is required, to checkout the software.Additional software must be installed to provide and update the jtel software repository. | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash |
|---|
| title | Install additional software sources - MySQL 8.x. |
|---|
| yumdnf -y install https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm |
| | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash |
|---|
| title | Install additional software sources - MySQL 5.6 |
|---|
| yum -y install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm |
The required software can then be installed and configured. The configuration is done under the user jtel. | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash |
|---|
| title | Install and configure GIT |
|---|
| yum -y install git2u mysql-community-clientgit
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 |
|---|
| language | bash | title | Proxy for GIT |
|---|
| 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 nodesnode. 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: | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash | title | Change user context |
|---|
| su jtel
cd |
|
After entering these commands you can recognize the user change at the system prompt, which is now [jtel@acd-lb ~]$ (the system prompt consists of username@hostname current directory) The next step is to download the two software repositories with the jtel standard software. This is done by entering the following commands: 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 |
|---|
| Translations Ignore |
|---|
| Translations Ignore |
|---|
| | Code Block |
|---|
| language | bash | title | Download the development repositories |
|---|
| 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 |
| In the event that specific adaptations or extensions have Clone Customer SoftwareIf specific software has been programmed for the customer, the customer-specific software repository must also be downloaded. This is done exemplarily 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 |
| Both the source URL and the target directory are customer-specific in this case and differ from case to case.Change to required Software ReleaseIn the downloaded software repositories, the software release to be installed at the customer used must now be selected. In this case it is release 3. 1420: | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash |
|---|
| title | Select the desired release |
|---|
| cd /srv/jtel/shared/JTELCarrierPortal
git checkout release/stable-3.1822
cd /srv/jtel/shared/JTEL
git checkout release/stable-3.1822
# 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 central main data directory: | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash | title | Prepare data directories |
|---|
| 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 required 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. CautionNote: execute as ROOT. | Translations Ignore |
|---|
| Code Block |
|---|
| language | bash |
|---|
| title | Cleaner processes in /etc/cron.daily |
|---|
| cat <<EOFF > /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 |
|
|