Skip to content
English
  • There are no suggestions because the search field is empty.

InConcert Technical Guides

How to permanently disable iptables in ubuntu

 

First you need to check if the IPtables are running:

iptables -L -n -v

If they are running, you can disable them using the following commands:

iptables -F
iptables-save
chmod -x /etc/network/if-up.d/iptables
  
 
 

Important commands:

How to clear an interactions:

redis-cli -p 6377 -a '0f2a5cb74ea93dc0' --no-auth-warning del InteractionDetail:VOICEMAIL_B67DB548C80E48B68657E2BE06620558

How to Clean the RealTimeKeys.

redis-cli -p 6377 -a '0f2a5cb74ea93dc0' --no-auth-warning KEYS "RealTime::*" | sed 's/.*/"&"/' | xargs redis-cli -p 6377 -a '0f2a5cb74ea93dc0' --no-auth-warning DEL
How to Clean configuration server

redis-cli -p 6377 -a '0f2a5cb74ea93dc0' --no-auth-warning KEYS "CONFIGURATION_SERVER::SESSIONS_TIMESTAMP" | sed 's/.*/"&"/' | xargs redis-cli -p 6377 -a '0f2a5cb74ea93dc0' --no-auth-warning DEL

Reload SSL 

/opt/nginx/sbin/nginx -s reload


execute repair job in OCC

curl http://127.0.0.1:8082/inconcert/apps/jobs/repair_job/


How to clear session in FortiGate firewall

 diagnose sys session clear



find . -type f -name "*.txt" 

The . at the start denotes the current directory. find searches recursively in all the directories below the given path

If you want the search to start somewhere other than the current working directory, specify the path, for example: 

find /etc -type f -name "*.conf"

 

check inConcert build version

dpkg -l inconcert

 

Restart network service in CentOS 8

sudo nmcli networking off && sudo nmcli networking on
     
     

    Fix CentOS repository issue for online yum update

     

    Manual Steps:

    If you are using a custom CentOS 7 base repository, then please follow these manual steps:

    1. Copy the current CentOS 7 repository file so that you can revert the changes if necessary:
      cp -v /etc/yum.repos.d/CentOS-Base.repo{,-backup}
      Note: Your CentOS 7 base repository may have a different name. The above filename "CentOS-Base.repo" is only used as an example.
    2. Edit the /etc/yum.repos.d/CentOS-Base.repo file using a command line text editor
    3. Paste in the following configuration:
      [base]
      name=CentOS-$releasever - Base
      baseurl=https://vault.centos.org/7.9.2009/os/$basearch
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

      #released updates
      [updates]
      name=CentOS-$releasever - Updates
      baseurl=https://vault.centos.org/7.9.2009/updates/$basearch
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

      #additional packages that may be useful
      [extras]
      name=CentOS-$releasever - Extras
      baseurl=https://vault.centos.org/7.9.2009/extras/$basearch
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

      #additional packages that extend functionality of existing packages
      [centosplus]
      name=CentOS-$releasever - Plus
      baseurl=https://vault.centos.org/7.9.2009/centosplus/$basearch
      gpgcheck=1
      enabled=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    4. Save the file and exit
    5. Run the following commands:
      yum clean all && yum makecache
       
       
      4 Send WhatsAPP HSM API - postman sample
       
       
        
       
        
       
       

      Attached Postman API collection to test sending HSM message via WhatsApp using inConcert API

       

         
         
        5 Installation and using tshark with Linux
         
         
          
         
          
         
         

        Install Wireshark

        sudo apt install wireshark

        Capture Packets with Tshark

        tshark -i wlan0 -w capture-output.pcap

        Read a Pcap with Tshark

        tshark -r capture-output.pcap

        Change file ownder
        sudo chown ubuntu: /usr/src/capture2.pcap
           
           
          6 How to change provisioning language to English

           

          How to configure deployer@system user interface in English

          connect to Cassandra DB:

          cassandra-cli -host 172.16.0.22 -port 9160

          Then run those commands below

          use Agent;
          assume Users validator as utf8;
          assume Users keys as utf8;
          assume Users comparator as utf8;
          assume Users sub_comparator as utf8;
          get Users['deployer@system'];
          set Users['deployer@system']['LanguageId']='en';