CentOS :: Setting Varnish, Nginx for WordPress
Posted by blackonsole on July 15th, 2013 03:01 AM | 1 Comment
:: How to setting Varnish and Nginx for WordPress cms in Linux CentOS
+ Enable Varnish and Nginx repository
rpm --nosignature -i //repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm
rpm -Uvh //nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm
+ Installing Varnish and Nginx
yum install varnish nginx php-fpm
+ Configure Nginx for WordPress
make sure change Nginx port ...
Ubuntu :: Enable mod_rewrite in Apache2
Posted by blackonsole on July 11th, 2013 08:00 AM | No Comment
:: How to enable mod_rewrite Apache2 on Ubuntu
+ enable rewrite module
sudo a2enmod rewrite
+ restarting apache2
sudo service apache2 restart
+ Google
Apache :: MP4 Streaming
Posted by blackonsole on March 2nd, 2013 01:14 AM | No Comment
:: How to Enable mp4 Streaming in Apache
+ Installing mod h624 streaming
wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7/
./configure --with-apxs=`which apxs2`
make && make install
+ Configure mod-h624-streaming in Apache
vi /etc/httpd/conf/httpd.conf
# add these line:
LoadModule h264_streaming_module modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4
+ Restarting Apache
/etc/init.d/httpd restart
:: Links
+ Google
+ h264