Tag Archives: Centos

Install nginx on CentOS

Install nginx on CentOS 6.2/6.1/6/5.8 ## Remi Dependency on CentOS 6 ## rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm ## CentOS 6 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Remi Dependency on CentOS 5 ## rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm ## CentOS 5 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm Create … Continue reading

Posted in Linux Operating System, Nginx | Tagged , | Leave a comment

Linux server important commands

Important PS command: I use the following ps commands in order to check for performance probelms: 1) Displaying top CPU_consuming processes: $ps aux | head -1; ps aux | sort -rn +2 | head -10 2) Displaying top 10 memory-consuming … Continue reading

Posted in Linux Operating System | Tagged , , | Leave a comment

Monitoring node.js with monit, upstart and forever.js

Monitoring Node with upstart, monit and forever.js When it comes time to have your Node project run more like a service, running in the background and auto-recovering from crashes, we can’t simply execute the node command manually from a shell. … Continue reading

Posted in Monit, Node.js | Tagged , , , , , | Leave a comment

Install node.js on centos

Check centos version #cat /etc/redhat-release CentOS release 5.8 (Final) Check centos 32 bit or 64 bit To see if the installed version of centOS you have is 32 bit or 64 bit, you need to use the command #uname -a … Continue reading

Posted in Node.js | Tagged , | Leave a comment

How to run process as background and/or never die

How to run process as background and die : A task can usually be started and run as a background task by putting a ‘&‘ at the end of the command line. If a task was started and is running … Continue reading

Posted in Linux Operating System | Tagged , , , | Leave a comment

How to Check Memory Usage in Linux based Server

Memory is one of the most critical resource components on a server to ensure that the smooth and fast operation. Thus, the availability of adequate and abundant physical memory size is vital especially for any server, especially high load web … Continue reading

Posted in Linux Operating System | Tagged , , | Leave a comment

Install Apache-Php-Mysql latest version on Centos

Install Apache-Php-Mysql latest version on Centos A) Install latest Apache Web Server: #cd /usr/local/src/ #wget http://apache.mirrors.pair.com//httpd/httpd-2.4.1.tar.bz2 #tar -jxf httpd-2.4.1.tar.bz2 #cd httpd-2.4.1 Install latest APR & APR-Utils version available (steps are given in Requirements).Unpack them into ./srclib/apr and ./srclib/apr-util (be sure … Continue reading

Posted in Apache, Mysql, Php, Web development | Tagged , , , | Leave a comment