Category Archives: Uncategorized

Applying lean thinking to software development

Lean thinking is prevalent from a very long duration of time. The foundation was laid down in the starting of the 20th century. The lean system was originally initiated by Toyota in the mid 70s and was earlier known as … Continue reading

Posted in Uncategorized | Leave a comment

How to check apache memory

Here is the command to use apache memory apache2 -V | grep -A 2 ‘MPM:’

Posted in Uncategorized | Leave a comment

How to configure firewall in linux

Follow this Steps: This may help you Step1. Lets install csf firewall 1.1 Download CSF Firewall Code: wget http://www.configserver.com/free/csf.tgz 1.2 Extracting downloaded files Code: tar -xzf csf.tgz 1.3 Changing the directory for installation Code: cd csf 1.4 Installation of CSF Code: … Continue reading

Posted in Uncategorized | Leave a comment

How to read mysql binary log file

Here are the steps of how to ready mysql binary log file. 1) Loging to server 2) go to /var/log/mysql 3) Use this command mysqlbinlog binlog.000001(bin filename)  

Posted in Uncategorized | Leave a comment

How to install Cpanel on CentOS

Login to your server using SSH Then you need to enter in to screen mode using command #Screen If this command is not available in your server you can install by just using ” yum install scree”. After you are … Continue reading

Posted in Uncategorized | Leave a comment

How to find mails older than 100 days

You may need to find mails older than some specific days like 100 days of 125 days because you may need to delete it as its not possible to delete it from outlook. You can use this command to find … Continue reading

Posted in Uncategorized | Leave a comment

How to assign Name Server in Cpanel

Steps to assign NS in Cpanel 1) Login to WHM 2) Go to basic Cpanel & WHM Settings. 3) At the right page go to bottom of page. 4) assign Nameserver 1, Nameserver 2, Nameserver 3 and Nameserver 4. 5) … Continue reading

Posted in Uncategorized | Leave a comment

How to check DDOS attack on your server

Here are command to check DDOS attack on your server 1. To find the number of HTTP connections to a particular IP address, use the following command. netstat -nee | grep “\:80″ | awk ‘ { print $4 }’ | … Continue reading

Posted in Uncategorized | Leave a comment

How to make a file password protected

You need to use htaccess to make a single file password protected and add these lines in to it. <FilesMatch file.php> AuthName “Restricted Area” AuthType Basic AuthUserFile /path/to/.htpasswd AuthGroupFile /dev/null require valid-user </FilesMatch> then run command htpasswd -b .htpasswd username … Continue reading

Posted in Uncategorized | Leave a comment

Mysql commands

To login (from unix shell) use -h only if needed. # [mysql dir]mysql  -u username -p Create a database on the sql server. mysql> create database [databasename]; List all databases on the sql server. mysql> show databases; Switch to a … Continue reading

Posted in Uncategorized | Leave a comment