Yearly Archives: 2014

36 posts

Install Development Environment for NodeJS on CentOS

This short blog entry will cover how to install nodejs and npm for NodeJS on CentOS. First, install epel repository: [bash]yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm[/bash] For CentOS 7, use [bash]yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm[/bash] Then, install nodejs and npm via yum: [bash]yum install nodejs npm[/bash] Finally, go to node project root directory and run: [bash]npm […]

Linux, Nginx, MySQL, PHP – LEMP Stack for Laravel on Ubuntu

This quick tutorial will guide to install LEMP stack for Laravel on Ubuntu OS. Install PHP Install necessary php mods: [bash]apt-get install nginx php5-fpm php5-cli php5-mcrypt php5-json php5-dev php-pear git[/bash] Enable mcrypt: [bash]ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available php5enmod mcrypt[/bash] Modify /etc/php5/fpm/php.ini and change cgi.fix_pathinfo to 0: [bash]cgi.fix_pathinfo=0[/bash] Install opcache: [bash]pecl install […]

Using Handbrake CLI for video encoding in CentOS

This tutorial will guide you how to install Handbrake CLI in CentOS and use it for video encoding / converting. Installation It is suggested to use LinuxTech repo to install Handbrake CLI on CentOS automatically (Ubuntu can easily add ppa:stebbins/handbrake-releases). First, add the repo at /etc/yum.repos.d/linuxtech.repo as follows: [bash][linuxtech-release] name=LinuxTECH.NET el6 main […]