Apache Webserver (httpd) - Configuring autostart
Creating the start file
1. Open the directory: /etc/init.d/
2. Create the "apache2" file.
3. Enter the following text in the file:
#!/bin/bash
#
# apache2 Startup script for the Apache HTTP server
#
chkconfig: 3 85 15
#
description:
Apache is a World Wide Web server.
It is used to serve \
HTML files and CGI.
/usr/local/apache2/bin/apachectl $@
Editing file properties
1. Enter:
chmod 755 /etc/init.d/apache2
2. Run the following command:
update-rc.d -f apache2 defaults
Further details can be found at: Apache Autostart (https://serverfault.com/questions/16839/)
4.5.4 Configuring Apache http
This chapter describes how you create the required certificates.
You require certificates for:
● Using the https connection
● Configuring the Apache http as proxy for older SINUMERIK controls
● Connection to the live system in older SINUMERIK controls
A minimum configuration that suffices for the connection is described below. Only the required
modules are loaded. Only TLS 1.2 is permitted for the SSL connection. Only those ciphers that
MindSphere requires for the function are enabled.
Creating a certificate for the SSL connection
1. Create the directory for the certificate:
mkdir /usr/local/apache2/ssl_cert
2. Change to the certificate directory:
cd /usr/local/apache2/ssl_cert
Installation/configuration
4.5 SIMATIC IoT2040
Manage MyMachines /Remote - installation in existing control environments
Application examples, 10/2018, A5E45211403B AB 47