Created
February 27, 2020 13:53
-
-
Save mataprasad/bd321a2f60c985dace3c610bbab7411f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.tunetheweb.com/performance/http2/ | |
https://unix.stackexchange.com/questions/33658/problems-with-cmake-in-centos-6 | |
https://www.plothost.com/kb/brotli-support-cpanel-easyapache/ | |
https://ayesh.me/apache-brotli | |
--centos | |
https://nixcp.com/install-mod-brotli-apache/ | |
yum install ea-apache24-devel | |
cp .libs/mod_brotli.so /etc/httpd/modules/mod_brotli.so -fv | |
nano -w brotli.conf | |
LoadModule suphp_module modules/mod_suphp.so | |
LoadModule brotli_module modules/mod_brotli.so | |
curl -s -I -H 'Accept-Encoding: br,gzip,deflate' https://google.com | |
yum install ea-apache-mod_brotli.x86_64 | |
yum install -y ncurses-devel | |
yum update | |
yum git | |
yum install gcc-c++ | |
yum install cmake | |
yum install -y ncurses-devel | |
-------------------- | |
sudo yum install wget | |
sudo yum install perl | |
sudo yum install zlib-devel | |
sudo yum install gcc | |
sudo yum install gcc-c++ | |
sudo yum install pcre-devel | |
sudo yum install libxml2-devel | |
sudo yum install openssl-devel | |
sudo yum install expat-devel | |
sudo yum install cmake | |
sudo yum install git | |
sudo yum install automake | |
sudo yum install autoconf | |
sudo yum install libtool | |
cd ~ | |
mkdir sources | |
cd sources | |
tar -zxvf openssl-1.1.1d.tar.gz | |
cd openssl-1.1.1d | |
./config shared zlib-dynamic --prefix=/usr/local/ssl | |
make | |
sudo make install | |
cd .. | |
tar -zxvf apr-1.6.5.tar.gz | |
cd apr-1.6.5 | |
./configure | |
make | |
sudo make install | |
cd .. | |
tar -zxvf apr-util-1.6.1.tar.gz | |
cd apr-util-1.6.1 | |
./configure --with-apr=/usr/local/apr | |
make | |
sudo make install | |
cd .. | |
git clone https://github.com/google/brotli.git | |
cd brotli/ | |
git checkout v1.0 | |
mkdir out && cd out | |
../configure-cmake | |
make | |
make test | |
sudo make install | |
cd ../.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment