How to install Web Server on Fedora

Source
Installing Apache
su -c 'dnf group install "Web Server"'
This command installs the entire Web Server package group.
The group includes other commonly used tools such as:
*PHP and Perl support
*The squid caching proxy
*Documentation
Traffic analysis tools If for some reason you don’t want these helpful packages,
you can install the web server by itself. 
Use this command:
su -c 'dnf install httpd'
Configuring the Firewall 
su -c 'firewall-cmd --add-service=http --add-service=https --permanent' su -c 'firewall-cmd --reload'
OR
su -c 'firewall-cmd --add-service=http --add-service=https'



Comments

Popular Posts