Skip to main content
17-Peridot
December 29, 2020
Solved

Install ThingWorx Flow with ThingWorx 9.1.0 without internet connection

  • December 29, 2020
  • 1 reply
  • 2610 views

Hi,  

I'm installing ThingWorx Flow on ThingWorx foundation 9.1.0, both of them are to be installed in the same machine. 

According to the installation guide: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Integration_Orchestration/InstallingTwxFlowPostgreSQL.html

I should run the following commands firstly in a machine which has internet access, let's call it machineB: 

◦ yum install 'nginx'
◦ yum install 'rh-nodejs8'
◦ yum install 'rabbitmq'
◦ yum install 'openssl'
◦ yum install 'policycoreutils-python'
 
However,  yum install 'rh-nodejs8' and ◦ yum install 'policycoreutils-python' get failed (the other  3  packages are installed): 
yum install 'rh-nodejs8'
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux Modular 8 - 142 kB/s | 528 kB 00:03 
Extra Packages for Enterprise Linux 8 - x86_64 684 kB/s | 8.7 MB 00:12 
PostgreSQL common RPMs for RHEL/CentOS 8 - x86_ 139 kB/s | 533 kB 00:03 
PostgreSQL 13 for RHEL/CentOS 8 - x86_64 69 kB/s | 216 kB 00:03 
PostgreSQL 12 for RHEL/CentOS 8 - x86_64 150 kB/s | 408 kB 00:02 
PostgreSQL 11 for RHEL/CentOS 8 - x86_64 28 kB/s | 604 kB 00:21 
PostgreSQL 10 for RHEL/CentOS 8 - x86_64 28 kB/s | 422 kB 00:14 
PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64 30 kB/s | 409 kB 00:13 
PostgreSQL 9.5 for RHEL/CentOS 8 - x86_64 118 kB/s | 365 kB 00:03 
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 3.5 MB/s | 26 MB 00:07 
Red Hat Enterprise Linux 8 for x86_64 - AppStre 1.4 MB/s | 25 MB 00:17 
Last metadata expiration check: 0:00:01 ago on Tue 29 Dec 2020 12:14:36 AM PST.
No match for argument: rh-nodejs8
Error: Unable to find a match: rh-nodejs8
 
# yum install 'policycoreutils-python'
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:09 ago on Tue 29 Dec 2020 12:14:36 AM PST.
No match for argument: policycoreutils-python
Error: Unable to find a match: policycoreutils-python

 

I'm using REHL 8.2  and have no idea why the package cannot be found  ? 

 

Furthermore,   for the 2nd step of the guide: 

2. Configure the yum package manager on the box where you plan to run the installer to set this box as a yam dependency.

I don't really get it ,  does it means the machineA (without internet access ) must be able to connect to the  machineB (has internet access  and has yum packages installed) and set the yum dependency to it ?   In my customer's environment,  machineA  cannot connect to machineB,  so how to install flow ?   Please help .

 

Regards,

Sean

 

 

Best answer by Jimwang

you may refer to the below article to update your RedHat repository so that the RPM packages are available:

https://developers.redhat.com/hello-world/nodejs#

 

1 reply

16-Pearl
December 30, 2020

Hello @seanccc 

 

 As I can understand from what is mentioned in the link shared by you is that you need to have internet connection as it is designed to work like that . In your case your machineA should have internet connection or it has to connect with other machine which have internet.

 

"The ThingWorx Flow installation tool on Red Hat Enterprise Linux is designed to work with an internet connection. If you plan to install ThingWorx Flow on Red Hat Enterprise Linux without an internet connection ..."

 

Thanks

Om Dukiya

seanccc17-PeridotAuthor
17-Peridot
December 30, 2020

@odukiya ,

 

But even on machineA,  yum install the following two packages got failed : 

 

yum install 'rh-nodejs8'
yum install 'policycoreutils-python'

seanccc17-PeridotAuthor
17-Peridot
December 30, 2020

sorry,  even on machineB which has internet access,  yum install the following two packages got failed : 

 

yum install 'rh-nodejs8'
yum install 'policycoreutils-python'