My Blogs

By Admin / December 6, 2017

How does a Subnet mask work?

A subnet mask works like a filter, helping to route traffic inside a subnet. Basically, the subnet mask tells the router which numbers it should look at and which ones it should ignore beneath the mask. For example, when a binary mask is laid over an IP address also translated into binary, a 1 over a number tells the router...

Read More
By Admin / December 6, 2017

How to configure SSL VPN

Overview SSL (Secure Socket Layer) VPN provides simple-to-use, secure access for remote users to the corporate network from anywhere, anytime. It enables creation of point-to-point encrypted tunnels between remote user and company‟s internal network, requiring combination of SSL certificates and a username/password for authentication. Cyberoam allows remote users access to the corporate network in 3 Modes: Tunnel Access Mode: User...

Read More
By Admin / November 15, 2017

ClamAV installed, but not working on the command line and appears to not be installed

On 11.40+ You may try to install ClamAV and then see if t have problems when trying to run on your serverits, its easier to fix than you think. root@host [~]# clamscan -ri /home/*/public_html/ -bash: clamscan: command not found  In cPanel the ClamAV executables are installed in /usr/local/cpanel/3rdparty/bin/. Historically symlinks have been created in /usr/local/bin to help use on the command line. As of 11.40, new ClamAV installations do not...

Read More
By Admin / November 15, 2017

HOW TO RUN CLAMAV SCAN FROM SSH IN CPANEL SERVER

ClamAV is one of the most popular anti-virus plugin available for cPanel servers. If ClamAV plugin is installed in WHM server, individual cPanel users can also scan their home directory, emails, FTP directory from cPanel itself. Step 1 :  Login to your Linux machine via SSH. Step 2 :  Run the following command to scan specific cPanel user's public_html directory....

Read More
By Admin / November 15, 2017

Install ClamAV on CentOS 7

ClamAV is free and open-source antivirus software, which can be used on multiple platforms. Steps to install ClamAV : Step 1 — Installing ClamAV on CentOS 7 Step 2 — Configuring SELinux Step 3 — Configuring ClamAV Thing you need before installation : SSH root access to the VPS Step 1 — Installing ClamAV on CentOS 7 As Clam does not come...

Read More
By Admin / November 11, 2017

Installing older version of PHP and MySQL

Here are the steps for installing older version of PHP and MySQL The steps to install MySQL 1.    Download the latest webtatic-release rpm from http://repo.webtatic.com/yum/el6/x86_64/ 2.    Install webtatic-release rpm: # rpm -Uvh webtatic-release*rpm 3.    Install mysql55w-libs rpm package: # yum –enablerepo=webtatic install mysql55w-libs NOte : IF any error then remove the dependency by rpm command Example from the error output rpm –q mysql-community-common-5.7.20-1.el7.x86_64 then...

Read More
By Admin / October 13, 2017

Search Engine Optimization

Search Engine Optimization (SEO) Refers to the process of “optimizing” both the on-page and off-page ranking factors in order to increase its ranking in organic (vs paid), crawler-based listings of search engines for targeted search terms. How does Search Engine work? Search engines perform several activities in order to deliver search results. Crawling - Process of fetching all the web pages...

Read More
By Admin / September 21, 2017

IF FTP Dosnt Work through PHP SCRIPT but Does Work through command line THEN follow the steps

run through root login Check your status by running: getsebool httpd_can_network_connect   If you get: httpd_can_network_connect --> off This may be your issue.   The Fix : ` Enable httpd_can_network_connect by running: setsebool httpd_can_network_connect=1 Test your script again and see if it works. This worked for me so I made sure to set a policy to keep this enabled. setsebool...

Read More
By Admin / September 21, 2017

Mount External Hard Drive in linux 

          On Server Login as root mount /dev/sdb1 /msbt_bkup_usb/ Before Command Run   NAME                        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda                           8:0    0   2.5T  0 disk ├─sda1    ...

Read More
By Admin / September 21, 2017

IF Sever Doesnt Shutdown Properly

  To Start mysql from one server to another ON 172.16.0.240 SERVER ... Application (Give Same IP in BLOG)   SET ENFORCE [root@msbtedevweb22 ~]# setenforce 0 [root@msbtedevweb22 ~]# service httpd restart Redirecting to /bin/systemctl restart  httpd.service   ON 172.16.0.230 SERVER ... DataBase Server (Give Same IP in BLOG) mysql> flush privileges -> ; Query OK, 0 rows affected (0.00 sec) [root@msbtedevdb22 ~]#...

Read More
By Admin / September 21, 2017

How to Change a MySQL Data Directory to a New Location on CentOS 7

Step 1 — Moving the MySQL Data Directory To prepare for moving MySQL’s data directory, let’s verify the current location by starting an interactive MySQL session using the administrative credentials. mysql -u root -p When prompted, supply the MySQL root password. Then from the MySQL prompt, select the data directory: select @@datadir; Output +-----------------+ | @@datadir       | +-----------------+ | /var/lib/mysql/ |...

Read More
By Admin / June 30, 2017

Change Document Root to /home

Step 1:-    create new user in /home (With Strong Password) create public_html folder set 755 permission from new user directory  Step 2:-  Change in /etc/httpd/conf/ vi httpd.conf # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used...

Read More
By Admin / May 25, 2017

How to install PHP 7.X in to CentOS 7.X

Step 1 : sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Step 2 : sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm Step 3 : sudo yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml if any conflicts due to old php version while installing php 7.X then Step 4 :  Check the installed php packeges in to the system rpm -qa | grep php Step...

Read More
By Admin / May 8, 2017

Change mysql root password on Centos7

For resetting the root password, you still start mySQL with --skip-grant-tables options and update the user table, but how you do it has changed.   1. Stop mysql: systemctl stop mysqld 2. Set the mySQL environment option systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" Note: writing  MYSQLD_OPTS="-skip-grant-tables"  (-) instead of MYSQLD_OPTS="--skip-grant-tables"  can create error. 3. Start mysql usig the options you just set systemctl start...

Read More
By Admin / January 12, 2017

The front page of website is the most vital part of your website.

The front page of website is the most vital part of your website. The front page of your website is the most vital part of your website. As the old saying goes “Don’t judge a book by its covers”, though the statement is not entirely invalid ( a website with really good content might have some really boring covers), unfortunately...

Read More
By Admin / December 29, 2016

A high performance website

A high performance website A great 80-90% of user time is spent on the front end of a website. A lot of optimization techniques are available to create a great user experience. A 80/20 performance rule by Vilfredo Pareto states that 80% of the consequences comes from 20% of the causes, therefore, it becomes extremely important to focus on the...

Read More
By Admin / December 29, 2016

Responsive Website Design.

Responsive Website Design. The size of the mobile market is growing at an unstoppable rate. The number of people accessing the internet over mobile devices is growing at an accelerated rate. Therefore, the need to render an unobstructed and pleasant viewer experience becomes imperative. While designing websites for mobiles, the focus needs to be shifted to the most important elements:...

Read More
By Admin / December 29, 2016

Online Learning – Education for the ones who seek it

Online Learning - Education for the ones who seek it With the growing popularity of MOOCs (Massive Open Online Courses) what are the changes that are inevitable and how are the changes going to affect us in the longer run. Online Courses are offered via various sources - and its drawing similarities between traditional classroom teaching and in some areas...

Read More