Complete CentOS secure server setup

This guide describes how to quick install a CentOS based webserver. It mainly focuses on performance and security.
Read more…

This guide describes how to quick install a CentOS based webserver. It mainly focuses on performance and security.
Read more…
It is impossible to achieve a high level of security for PHP applications in a production environment. However, with some security tips, you can avoid common mistakes and protect yourself from the most frequent attacks.
Read more…
Use YUM to retrieve and install the Apache HTTP server and additional components. After that, start the web-server and put it on startup:
yum install httpd httpd-devel
service httpd start
chkconfig httpd on
Next step is securing Apache. Edit the config /etc/httpd/conf/httpd.conf and set:
ServerSignature Off
ServerTokens Prod
ErrorDocument 500 "Internal error"
ErrorDocument 404 "Not found"
First line tells Apache to not display the server version on generated pages. The second one makes the web-server to return only "Apache" in the header response.
Read more…
Recent Comments