Setting up the Provisioning Service

To set up the provisioning service for products fulfilled internally through URL requests, complete the following steps:

  1. In a previously created virtual environment (RHEL8 container or VM), install the httpd service:

    # yum install -y httpd php php-json
  2. Create a working directory:

    # mkdir /opt/app-plm
  3. Copy source files (create.php and so on) into this working directory.

  4. Update the httpd configuration file by pointing the document root to the working directory:

    # sed -E -i -e 's%DocumentRoot .*$%DocumentRoot \"/opt/app-plm\"%' /etc/httpd/conf/httpd.conf
  5. Set httpd to use the prefork module:

    # echo "LoadModule mpm_prefork_module modules/mod_mpm_prefork.so" > /etc/httpd/conf.modules.d/00-mpm.conf
  6. Create the httpd configuration entry for the working directory. That is, put the configuration file into the /etc/httpd/conf.d directory.

    The directory configuration example is:

    Copy
    <Directory "/opt/app-plm">
        Options Indexes MultiViews
        AllowOverride All
        Require all granted
    </Directory>
  7. Start httpd:

    # systemctl start httpd

Related topics:

 

CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.