Scenario:
My studio can't access the internet, and I need access to p2 to install features or update to apply a patch.
Prerequisites:
- Call support to get the latest patch.
- I'll find the p2 file in the license email or in the TMC download part.
Solution 1:
The first solution consists of deploying the zip content on a directly reachable httpd server. For example, http_root/p2 and http_root/patch (http_root is usually /var/html/htdocs).
Once done, just update the update URLs: Window/Preferences/Talend/Update settings
You'll put:
- Base URL: http://http_server:port/p2
- Update URL: http://http_server:port/patch
Solution 2 when no http server is available:
The second solution is to create a small web server with Python modules "http.server" (python3). The first step is to unzip p2 and patch locally in a folder (I'll call this folder: FILE_PATH) and ensure Python is installed.
With PowerShell or a Linux shell, you can type this command:
python -m http.server port_number -d FILE_PATH
Port_number must be greater than 1024. This will be your mini webserver.
Just update the update URLs: Window/Preferences/Talend/Update settings
You'll put: