LexBuild

Apache Httpd

After 2024 Ubuntu (VM) migration, apache 9 is used for LexBuild document server. It is briefly described as follows:

  • installation and configuration:
    • location: /usr/sbin/apache2 (root, root)
      shell> apache2 -v
      	Server version: Apache/2.4.52 (Ubuntu)
      	Server built:   2024-04-10T17:45:18
      	
    • installed: /etc/apache2
      • port: 80
      • port: 443
    • config: /etc/apache2/apache2.conf
    • logs: /etc/logs -> /var/log/httpd
    • ssl: /etc/apache2/ssl
    • Document root: /var/www/html -> /nfsvol/lex/Lu/www/Apache/apache-${HOST_NAME}/docs
    • Configured file:
      • /etc/apache2/conf-enabled/*.conf

      • /etc/apache2/mods-available/mime.conf
      • /etc/apache2/mods-enabled/include.load

      • /etc/apache2/sites-available/httpd-vhosts.conf

      • /etc/apache2/sites-enable/000-default.conf
      • /etc/apache2/sites-enable/httpd-vhosts.conf
  • start and stop:
    • file: /usr/lib/systemd/system/apache2.service
    • sudo systemctl disable apache2
    • sudo systemctl enable apache2
    • systemctl status apache2
    • sudo systemctl stop apache2
    • sudo systemctl start apache2
    • sudo systemctl restart apache2