30
Total Commands
100%
Free Access
⚡
Lightning Fast
Available Commands
Click on any command to copy it instantly
30 commands available
30 of 30
Resources
Learn Apache Deeper
Master Apache web server with comprehensive resources
sudo systemctl start apache2service
management
sudo systemctl stop apache2service
management
sudo systemctl restart apache2service
management
sudo systemctl reload apache2service
configuration
sudo systemctl status apache2service
monitoring
sudo apachectl configtestconfiguration
debugging
sudo apache2ctl -Sconfiguration
virtualhost
sudo a2ensite example.comconfiguration
virtualhost
sudo a2dissite example.comconfiguration
virtualhost
sudo a2enmod rewriteconfiguration
module
sudo a2dismod rewriteconfiguration
module
sudo tail -f /var/log/apache2/access.loglogs
monitoring
sudo tail -f /var/log/apache2/error.loglogs
debugging
sudo apache2ctl gracefullogs
maintenance
sudo apache2ctl -Mmodule
configuration
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache-selfsigned.key -out /etc/ssl/certs/apache-selfsigned.crtssl
security
sudo nano /etc/apache2/sites-available/example.com.confvirtualhost
configuration
sudo nano /etc/apache2/sites-available/000-default.confvirtualhost
configuration
sudo htpasswd -c /etc/apache2/.htpasswd usernamesecurity
authentication
sudo nano /etc/apache2/conf-available/security-headers.confsecurity
headers
sudo a2enmod deflateperformance
compression
sudo a2enmod expiresperformance
caching
sudo nano /etc/apache2/ports.confconfiguration
network
sudo apache2ctl -V | grep -i mpmperformance
configuration
sudo a2dismod mpm_prefork && sudo a2enmod mpm_event && sudo systemctl restart apache2performance
configuration
sudo nano /etc/apache2/apache2.confconfiguration
security
sudo a2enmod rewriteconfiguration
seo
sudo nano /etc/apache2/mods-available/autoindex.confconfiguration
security
sudo nano /etc/php/7.4/apache2/php.iniconfiguration
php
sudo nano /etc/apache2/mods-available/ssl.confsecurity
ssl
Missing a command?
Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!