Apache web server is available for SUSE Linux Enterprise Server or SLES and openSUSE, though the installation process is not as automated and straightforward as other Linux distributions. The issue is compounded by the official documentation, which is not as polished.
Apache can be installed on openSUSE and SLES using zypper from the command line. It requires further configuration before being usable as the installer package does not automatically configure some of the options like other major Linux distributions.
> sudo zypper refresh [sudo] password for root: Repository 'Main Repository (NON-OSS)' is up to date. Repository 'Main Repository (OSS)' is up to date. Repository 'Main Update Repository' is up to date. Repository 'openSUSE-20191225-0' is up to date. All repositories have been refreshed.
> sudo zypper install --no-confirm apache2 Loading repository data... Reading installed packages... Resolving package dependencies... The following 6 NEW packages are going to be installed: apache2 apache2-prefork apache2-utils libgc1 system-user-wwwrun w3m The following recommended package was automatically selected: w3m 6 new packages to install. Overall download size: 2.5 MiB. Already cached: 0 B. After the operation, additional 7.7 MiB will be used. Continue? [y/n/v/...? shows all options] (y): y
> sudo vi /etc/apache2/httpd.conf
Related: Guide listing for Apache
> sudo apachectl configtest AH00558: httpd-prefork: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message Syntax OK
Related: How to check Apache configuration
> sudo systemctl restart apache2
> sudo systemctl enable apache2 Created symlink /etc/systemd/system/httpd.service → /usr/lib/systemd/system/apache2.service. Created symlink /etc/systemd/system/apache.service → /usr/lib/systemd/system/apache2.service. Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /usr/lib/systemd/system/apache2.service.
> sudo firewall-cmd --permanent --add-service=http --add-service=https success
> sudo firewall-cmd --reload success
> sudo vi /srv/www/htdocs/index.html
> sudo chown --recursive wwwrun:wwwrun /srv/www/
> curl 127.0.0.1 <h1>Your Apache service is up and running</h1> Congratulation.
Comment anonymously. Login not required.