November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Apache performance config

Apache performance config

Now on all my Apache i always load this Apache config. It enabled some apache standard performance config for Apache as a good standard.

KeepAlive. Gzip all transfer and local disk cache

my /etc/httpd/cond.f/01.conf

NameVirtualHost *:80 NameVirtualHost *:443

#Speedning upp webres Apache config

# 2 HOURS Header set Cache-Control “max-age=7200, public” # […]

Install Apache 2.4 on CentOS 6

Install Apache 2.4 on CentOS 6

I’m quite to the point. It is to install the Apache version 2.4.7.

yum -y install rpm-build

mkdir -p ~/rpmbuild/{SOURCES,SPECS,BUILD,RPMS,SRPMS}

cd ~/rpmbuild/SOURCES

wget http://ftp.cixug.es/apache//httpd/httpd-2.4.7.tar.bz2

In general, if we execute the following we will fail (but perfect and save yourself a lot of these steps …)

rpmbuild -tb httpd-2.4.7.tar.bz2

To […]

How to install phpmyadmin on centos 7

How to install phpmyadmin on centos 7 Phpmyadmin is an opensource tool to manage MySQL database using web browser. it can perform almost all tasks such as creating,deleting,modifying databases,users,tables and fields . This guide helps you to install phpmyadmin on centos 7. it contains step by step installation through YUM using EPEL repository. Prerequisite – […]

Install the Apache

? Web server Apache

Install the Apache, which boasts the largest share in the world. You must first install the apache in yum.

# Yum install httpd # Rpm -qa | grep httpd httpd-2.4.6-18.el7.centos.x86_64 httpd-tools-2.4.6-18.el7.centos.x86_64

Edit the configuration file (/etc/httpd/conf/httpd.conf). The following has been described only part that was edited.

ServerAdmin webmaster@rmohan.com ServerName www.rmohan.com:80

# […]

SSL Security

 

 

 

This tutorial shows you how to set up strong SSL security on the Apache2 webserver. We do this by updating OpenSSL to the latest version to mitigate attacks like Heartbleed, disabling SSL Compression and EXPORT ciphers to mitigate attacks like FREAK, CRIME and LogJAM, disabling SSLv3 and below because of vulnerabilities […]

A+ on apache2.4 ssl

Here’s my config for apache2.4:

1) 4096 bit key: You will need to generate a 4096 bit key instead of the default 2048 bit key to get the key exchange to 100%. To do this, run letsencrypt-auto with this flag: –rsa-key-size 4096

./letsencrypt-auto –agree-dev-preview –server \ https://acme-v01.api.letsencrypt.org/directory auth –rsa-key-size 4096

2) SSL Settings: Add […]

Install tomcat and Apache centos 7

yum install gcc-c++

yum install openssl-devel.x86_64

cd /usr/local/src

wget http://mirror.nus.edu.sg/apache//httpd/httpd-2.4.18.tar.gz wget http://ftp.ps.pl/pub/apache//apr/apr-1.5.2.tar.gz wget http://ftp.ps.pl/pub/apache//apr/apr-util-1.5.4.tar.gz

tar xvfz apr-1.5.1.tar.gz

tar xvfz apr-util-1.5.3.tar.gz

tar xvfz httpd-2.4.18.tar.gz

tar xvf pcre-8.35.tar.bz2

cd /usr/local/src/apr-1.5.1

./configure –prefix=/usr/local/apr

make

make install

cd /usr/local/src/apr-util-1.5.3

./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr

make

make install

cd /usr/local/src/pcre-8.35

./configure –prefix=/usr/local

make

make install

cd /usr/local/src/httpd-2.4.18

./configure –prefix=/usr/local/apache \

–enable-rule=SHARED_CORE \

[…]

Harden the Apache Web Server on CentOS 7

Harden the Apache Web Server on CentOS 7

[root@clusterserver1 conf]# yum install httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.vodien.com * epel: mirrors.hustunique.com * extras: mirror.vodien.com * updates: mirror.vodien.com Resolving Dependencies –> Running transaction check —> Package httpd.x86_64 0:2.4.6-40.el7.centos will be installed –> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================== Package […]

RedHat Enterprise Linux 6.6 with CentOS Apache

RedHat Enterprise Linux 6.6 with CentOS Apache

[root@oracledbserver ~]# yum install httpd* -y Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.vodien.com * extras: mirror.vodien.com * updates: mirror.vastspace.net base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 Package httpd-2.2.15-39.el6.centos.x86_64 […]

Apache URL rewriting

Most dynamic sites include variables in their URLs that tell the site what information to show the user. Typically, this gives URLs like the following, telling the relevant script on a site to load product number 7. http://www.pets.com/show_a_product.php?product_id=7

The problems with this kind of URL structure are that the URL is not at all memorable. […]