Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Installing Apache

Published in: Technology
  • Be the first to comment


  1. 1. Webserver Maintenance & Security Apache httpd v2.2.21 released 9-13-2011 Httpd stands for: Hypertext Transfer Protocol Daemon Apache 2.3.11-alpha is available for testing License: Apache License, Version 2.0 similar to GPL (General Public License) 538 Apache modules available to customize your installation Available Web Servere Software #1 - Apache #2 - Microsoft Internet Information Services (IIS) Sun Microsystems Sun Java System Web Server (now Oracle) Zeus Web Server Others... Is Apache already installed? httpd -v OR /usr/sbin/httpd -v Install Apache su yum install httpd Is Apache running? /sbin/service httpd status Start Apache /sbin/service httpd start Having trouble? Try this: setsebool -P allow_execstack on How to disable SELinux Start Apache automatically at system boot /sbin/chkconfig --level 3 httpd on If that doesnt work (didnt work for me), add these lines to the /etc/rc.local file: # Startup Apache at system startup /sbin/service httpd start Automating Program Startup Test Apache IP address: Basic Apache Configuration Edit /etc/httpd/conf/httpd.conf - Step by step Admin email address: ServerAdmin Domain Name ServerName Location of webpage files DocumentRoot /var/www/ Network Time Protocol (NTP) Restart Apache to read the new settings su - /sbin/service httpd restartModules - 538 to choose from Two types: Built-in - compiled into the Apache build. Loadable - can be loaded on and off as required View currently used modules httpd -l LoadModule command 508 Apache modules Installed modules: /usr/lib/httpd/modules Secure Apache Server Authentication .htpasswd .htaccess See additional authentication modules HERE yum install mod_sslInstall SSL - Security Certificates for secure connections yum install openss Certificate Signing -,,, others... Secure a virtual host Online Apache tutorials Official Apache HTTP Server Documentation Version 2.2 Getting Started with Apache Upgrade A little extra: Best webserver stuff - video Analytics - from Google - Real time security monitor - Apache text