Prepare the installation
This section specifies which prerequisites to install for the
Documentation.
- OS: Redhat Enterprise Linux, Suse and Windows Server
- Java Runtime Environment (JRE) is required.
- For the Reverse Proxy SSL use Apache HTTPD or HA Proxy
For more information about the prerequisites, see the Deployment: Server
Hardware & Software requirements section of the Program
Directory.
-
Create a OS User:
-
On Linux, create a user WITHOUT root privileges to install and run
the documentation, for example
x3ds.
This user is used:
- for the installation of the documentation
- for post install and admin tasks
- for documentation uninstallation
This user must run all documentation processes and own installed
files.
-
On Windows, create a user with administrator privileges to install
and run the documentation.
This user is used:
- for the installation of the documentation
- for post install and admin tasks
- for documentation uninstallation
Administrator rights are required during the installation for
several tasks such as updating the registry.
-
Set up certificates for the reverse proxy:
-
Generate certificate requests with the openssl command:
openssl req -new -newkey rsa:2048 -nodes -days 365 -subj
"/C=country/ST=state/L=city/O=organization/OU=departement/CN=fully.qualified.server.name"
-out my_certificate.csr -keyout my_certificate.key
Answer the questions (with the constraints on Common Name above).
If you use an optional pass phrase (not recommended), you will
need to provide it to the reverse proxy.
This command generates .key and
.csr files.
-
Keep the
.key files and send the
.csr files to the authority in charge of
signing your certificates.
Specify that the certificates are for Apache HTTPD (if you use
it). The certificate authority sends the .cer
(or .crt) signed files back to you.
On the reverse proxy, only use the .cer (or
.crt) and .key.
-
Make sure that you have configured your SSL certificate () on the
reverse proxy as follows on Linux:
SSLCertificateFile
/path/to/your.cer
SSLCertificateKeyFile
/path/to/your.key
and on Windows:
SSLCertificateFile
\path\to\your.cer
SSLCertificateKeyFile
\path\to\your.key
-
Set up certificates for the documentation server using HTTPS:
-
Generate certificate requests with the openssl command:
openssl req -new -newkey rsa:2048 -nodes -days 365 –
subj "/C=country/ST=state/L=city/O=organization/OU=departement/CN=fully.qualified.server.name" -out
my_certificate.csr -keyout my_certificate.key
Answer the questions (with the constraints on Common Name above).
If you use an optional pass phrase (not recommended), you will
need to provide it to the reverse proxy.
This command generates .key and
.csr files.
-
Keep the
.key files and send the
.csr files to the authority in charge of
signing your certificates.
Specify that the certificates are for Node.js (if needed). The
certificate authority sends the .cer (or
.crt) signed files back to you.
During the installation you will have to provide the URL
associated with the certificate (example: https://docserver.mydomain.com), as
well as the location of the .cer and the .key file that will be
copined in the installation folder.
Install the Documentation
This section describes how to install the Documentation.
On Linux, you must log in as a user having admin rights.
On Windows, you must belong to the Administrators group or have the privileges
assigned to the Administrators group.
Before you begin: Procure the documentation media
(DOC_Apps_3DEXP.AllOS) for your operating system and start the
installation as explained in the DS Installer Guide. Then, use the
relevant instructions in this topic. See the DS Installer Guide for
instructions on installing the documentation in Text User Interface (TUI) mode or
silent installation mode.
-
Change to the distribution directory:
DOC_Apps_3DEXP.AllOS\1 on Windows
DOC_Apps_3DEXP.AllOS/1 on Linux
then start the installation as follows:
- Windows: double-click
setup.exe for the GUI mode
or use StartTUI.exe for the TUI mode
- Linux:
./StartGUI.sh for the GUI, or
./StartTUI.sh
The Dassault Systèmes
3DEXPERIENCE Documentation nodeJS R2027x installer appears.
Click Next.
-
Specify the installation directory.
The default installation location for documentation in English on Windows
is C:\Program Files\Dassault Systemes\B428doc and On Linux /usr/DassaultSystemes/B428doc
To select a different installation directory, click Browse...
-
Click Next.
A list of all documentation components appears.
-
Select the documentation components to install.
The roles that you can install belong to industries.
- Use the
Filter to directly access the component you
want to install.
- Click
to expand the tree or to collapse it.
- Click
to select all the roles or to deselect all the roles.
- Show Installable Components displays all the
roles that are available for installation.
- Show Selected Components displays only the
selected roles.
- Show Installed Components (if available)
displays the roles already installed.
You can identify the components with a role name. Some components require
additional roles to be selected.
As you make your selections, the installer updates information about the
space available and the space required for your installation.
After the selection, click Next.
-
Enter a port number for HTTP requests to the Node.js server, and click
Next.
The Node.js server hosts the documentation.
If you are installing different languages, use the same port number in
order to use the same Node.js server for all the languages.
An option allows to check that the port is free. If you are installing
different languages, deselect this option.
-
If needed, select Allow users to send feedback, and
click Next.
This feature uses the user's mail client.
-
Select one of the following options:
- Use HTTP and localhost (for local use)
- Use HTTP and machine name with domain
- Use HTTPS
- Use a reverse proxy
Both machine name with domain and localhost options use a HTTP
protocol.
The 3DEXPERIENCE web client only accepts an HTTPS protocol to define the
user documentation for contextual help from apps (this location is
editable from the Platform Management dashboard.). Either the Node.js
server must use HTTPS or a reverse proxy is required to forward requests
from the web client to the Node.js server.
A reverse proxy uses an HTTPS protocol and forwards requests to the
Node.js server using an HTTP protocol. An administrator must set up and
install the reverse proxy separately from the documentation
installation.
For more information about 3DEXPERIENCE User Assistance Setting, see
Installation and Setup| Administrate| 3DEXPERIENCE Platform|
Platform Management| Platform Management Dashboard.
Click Next
-
Enter a URL using the syntax https://myreverseproxyalias or
https://mydocumentationserveralias..
Note:
- Do not use uppercase characters in the URLs (standard form
specified in RFC3986)
- The URLs must contain Fully Qualified Domain Names (FQDN)
- The URLs must start with
https:// (and not ftp
or other);
The reverse proxy uses an HTTPS protocol and forwards requests to the
Node.js server using an HTTP protocol. An administrator must set up and
install the reverse proxy separately from the documentation
installation.
For example, if you install the English documentation on a host named
"myhostname" using port 4040, and the reverse proxy alias is
https://doc2023x, English
documentation is accessible at https://doc2023x/English, which is forwarded to
the Node.js server as http://myhostname:4040/English.
Click Next.
-
Enter the certificate (.cer file) and the private key (.key file)
location.
Click Next.
-
Enter the 64-bit Java Runtime Environment (JRE) path, and click
Next.
The documentation uses a Java server for its search
feature.
-
Enter an available port number to communicate with the Java search server,
and click Next.
If you are installing different languages, use different port
numbers because each language uses its own search server. An option
allows to check that the port is free.
-
Click Install.
After the installation completes, a list displays the roles for which
documentation is installed.
After the installation click Finish.
If you specified that Native Apps is installed in the default
Installation folder, the CATDocView variable in the environment file of
the installation will be updated to point to the Documentation
installation.
Otherwise, use the chcatenv command to change the value
of the CATDocView variable to point to the location where the
documentation media was installed and set CATAfrHelpLocation value to
‘local’. By default, https://help.3ds.com is implicitly added to the help location defined
by the CATDocView variable. If you want to deactivate this behaviour,
set CATAfrNoOnlineHelp environment variable to any value (for users who
do not have access to internet for example). For more information Configuring Environments.
-
For Node.js:
For Windows: After the installation this service is started:
Dassault Systèmes 3DEXPERIENCE Documentation nodeJS R2027x The traces of the service are in ds_docservice.<date>.log in
the Temp folder (For example,
C:\Users\<username>\AppData\Local\Temp\ds_docservice.2021-08-30.log) The
traces of the search server are in ds_docsearch<port2>.log in the
Temp folder (For example,
C:\Users\<username>\AppData\Local\Temp\ds_docsearch4041.log). The
traces of the Node.js server are in ds_docnode<port>.log in the Temp
folder (For example,
C:\Users\<username>\AppData\Local\Temp\ds_docnode4040.log). For
Linux: After the installation, start the service manually
following the Information about Node.js instructions. See
/usr/DassaultSystemes/B428doc/ReadMe<language>.txt (Linux) or C:\Program
Files\Dassault Systemes\B428doc\ReadMe<language>.txt (Windows)
Start and Stop Node.js on Windows
This section explains how to start and stop Node.js on Windows.
Context: Note:
Node.js starts and stop automatically by default thanks to a
Windows Service.
After the installation this service starts: Dassault
Systèmes 3DEXPERIENCE Documentation nodeJS R2027x.
To start and stop the node on Windows: start and stop the service Dassault
Systèmes 3DEXPERIENCE Documentation nodeJS R2027x.
If there is an issue with the service, see how to update it or stop it in
C:\Program Files\Dassault Systemes\B428doc\ReadMe.txt
Start and Stop Node.js on Linux
After the installation, start the service manually following
instructions.
-
Start Node.js manually using
/usr/DassaultSystemes/B428doc/StartNodeJSServer.sh
-
To stop Node.js, use
/usr/DassaultSystemes/B428doc/StopNodeJSServer.sh
Configure the reverse proxy
You can configure the reverse proxy for Documentation by customizing the
Apache httpd.conf file.
-
Edit the Apache
httpd.conf file.
-
Set the listen tag to the correct port number for the documentation, for
example: Listen 443
-
Activate the modules required for the service. See the Program Directory
for the list of modules.
-
Customize the
<VirtualHost> tag.
-
Customize the reverse proxy server name and server alias, for
example:
ServerName myserver
ServerAlias myserver
-
Activate the SSL:
SSLEngine on
SSLProxyEngine On
-
Specify the SSL certificates definition, for example:
SSLCertificateFile
"pathtoyourcertificate\myserver.cer"
SSLCertificateKeyFile
"pathtoyourcertificate\myserver.key"
-
Add the following line to declare the reverse proxy configuration
generated by the documentation installation:
Include <DocumentationInstallPath>\templates\Documentation_httpd_fragment.conf (Windows)
Include <DocumentationInstallPath>/templates/Documentation_httpd_fragment.conf (Linux)
The documentation installation creates the following file:
Include <DocumentationInstallPath>\templates\Documentation_httpd_fragment.conf (Windows)
Include <DocumentationInstallPath>/templates/Documentation_httpd_fragment.conf (Linux)
and the file already contains the necessary declarations for the
reverse proxy.
The contents of the CORS header declaration are also in this
file.
In the file, the port must match the one of the reverse
proxy:
…
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
…
Change Installation Parameters
You may need to change the parameters defined during the latest Documentation
installation.
Using the reconfiguration tool, you can modify the installation parameters without
reinstalling the whole documentation.
For more information, see Installation and Setup: 3DEXPERIENCE Platform:
3DEXPERIENCE Platform Installation: Installation Maintenance: Reconfiguring the
Installation for Documentation.
Uninstall the Documentation
This section describes how to uninstall the documentation.
You can uninstall the Documentation using the DS Installer tools. For more specific
information about the DS Installer, see Installation and Setup: 3DEXPERIENCE
Platform: 3DEXPERIENCE Platform Installation: Installing 3DEXPERIENCE Platform
Services: Installing Services One-by-One: DS Installer Uninstalling the
Software.
The uninstallation is performed by the user who performed the installation.
Remove the installation.
On Windows, select and click Dassault Systèmes Documentation
3DEXPERIENCE
R2027x. A dialog box prompts you to confirm that you want to uninstall the
software. Click Yes to confirm. On Linux,
run the following command: Uninstall.sh If an
error occurs, delete the installation directory as follows:
rm -rf
<DocumentationInstallPath>.
|