06 Oct 2016 @ 3:44 PM 

If you need http/2 enabled at your CPanel server, you need to do few things:

1. Install nghttp2


cd /usr/src/
wget https://github.com/nghttp2/nghttp2/releases/download/v1.15.0/nghttp2-1.15.0.tar.gz
tar -xvzf nghttp2-1.15.0.tar.gz
cd nghttp2-1.15.0
./configure --prefix=/opt/nghttp2
make
make install
echo "/opt/nghttp2/lib" >> /etc/ld.so.conf.d/custom-libs.conf
ldconfig

More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:09 PM

EmailPermalinkComments (0)
Tags
 26 Nov 2012 @ 8:28 AM 

How to setup Django on the server with CPanel control panel. CPanel uses Python 2.4, but Django requires PHP mod_wsgi, which requires Python 2.6+.
We need to install 2 Python versions.


cd /usr/local/src/
wget http://www.python.org/ftp/python/2.6/Python-2.6.tgz
tar -xvzf Python-2.6.tgz
./configure --enable-shared
make install
cd /etc/ld.so.conf.d
echo "/etc/ld.so.conf.d/opt-local.conf" > python26.conf
ldconfig

Now Now you’re ready to build mod_wsgi through easy_apache. Download custom_opt_mod-mod_wsgi.tar.gz from this ticket at google code and run:
More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:54 PM

EmailPermalinkComments Off on CPanel + Python 2.6 + Django
Tags
Tags: , ,
Categories: How to?
 30 Aug 2012 @ 10:06 AM 

Varnish installation on Centos server is very simple :
1. Installing varnish and packages:

mk /root/varnish
cd /root/varnish
wget http://repo.varnish-cache.org/redhat/varnish-3.0/el5/x86_64/varnish-3.0.3-1.el5.centos.x86_64.rpm
wget http://repo.varnish-cache.org/redhat/varnish-3.0/el5/x86_64/varnish-libs-3.0.3-1.el5.centos.x86_64.rpm
rpm -ivh *.rpm
yum install libedit -y

Note: Current installation for x86_64 system also if libedit was not found in your repo, do wollowing:
rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:55 PM

EmailPermalinkComments Off on Cpanel Apache + varnish (frontend server)
Tags
Tags: , ,
Categories: How to?, Uncategorized

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 34
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.