Linux Server

VPS-Hosting-Vs-Cloud-Hosting-–-Web-Hosting

VPS Hosting Vs Cloud Hosting – Web Hosting guide

Whether you are considering cloud server or VPS, choosing the right web host provider is critical undertaking. Today there is a great deal of talk revolving around cloud hosting or computing and many companies use these terms interchangeably to talk about both VPS and Cloud servers. As the new Cloud concept is gaining ground, more and more people and companies are wondering what distinguishes these two hosting solutions. At a glance both of these technologies may seem similar, there [...]

Read more...
sysmbolic link

Symbolic link :- Adding and deleting

Symbolic Links refer to a symbolic path indicating the abstract location of another file i.e. symbolic links are files that act as pointers to other files. Symbolic Link is also known as symlink or soft link. Difference between soft link and hard link is that when symlink is removed the original target stays present. This is the opposite of a hard link which is a reference to the target and so, if the hard link is removed, so is the [...]

Read more...
logical-volume-management1

How to Increase the Size of the Logical Volume ?

Follow the steps below to increase the size of the logical volume and allocate additional space on one of your partitions. Once logged in, type df -h at the command prompt and hit ENTER. The partition and logical volume sizes will be listed including the used disk space. In the image below, the var logical volume is 4GB. Assume that ~9GB of web content will be uploaded to the /var folder. The disk space needs to be increased before there [...]

Read more...
Linux-server-services

Understanding Linux server services

Some common web related services running on a Linux server are, but not limited to, include: httpd (Apache), mysqld (MySQL), vsftpd (Very Secure FTP), named (BIND), iptables (packet filtering ruleset), sshd (Secure Shell), network (network related services) and various others. Usually these services are started at boot time. To check what services are installed on the server, you can use the chkconfig tool. For example: [root@server ~]# chkconfig –list sshd                  0:off    1:off    2:on    3:on    4:on    5:on    6:off webmin           [...]

Read more...
your-server-is-under-DDOS-Attack

How to find your server is under DDOS Attack

Here is a command line to run on your server if you think your server is under DDOS attack.  The commands given below prints out list of open connections on your server and sorts them by connection amount. RedHat: netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n BSD: netstat -na |awk ‘{print $5}’ |cut -d “.” -f1,2,3,4 |sort |uniq -c |sort -n You can also check for connections by running the following command. netstat -plan [...]

Read more...
WordPress-Blog-Brute-Force-Flood-Underway

WordPress Blog Brute Force Flood Underway !!

Recently we have seen on-going global attack on WordPress installations across every web host in existence. This attack is well organized and specially targets the file wp-login.php. Some of the ramifications of this attacks  are 1) Sites are loading extremely slow. 2) Unable to login to WordPress Admin Panel. 3) Website could even intermittently go down for undisclosed periods of time. So what needs to bed one. Here are some tips we will let you know to protect your WordPress blog. 1) Make sure [...]

Read more...
How-To-Update-Apache-To-Latest-Version-On-DirectAdmin-Server

How To Update Apache To Latest Version On DirectAdmin Server?

Here are the steps to update Apache to latest version for direct-admin server First check current version of apache: / usr/sbin/httpd -v CustomBuild – current If you’re using custombuild (as most new boxes are), run the following cd /usr/local/directadmin/custombuild ./build update ./build apache ./build php n ./build rewrite_confs CustomApache – end-of-life If you are using customapache with the 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl. This should update both the configure options and the [...]

Read more...
Simple-Steps-To-Install-mod_flvx-With-Apache

Simple Steps To Install mod_flvx With Apache

Today we had to install mod_flvx on CentOs server and here are the steps you need to do. I guess you have already installed Apache web server being cpanel server.  Just be sure that you have Apache 2.2 version on the server or else you might have errors during compiling mod_flv. Download mod_flvx.c cd /usr/src wget http://github.com/osantana/mod_flvx/blob/master/mod_flvx.c Compile And Install Module: /usr/local/apache/bin/apxs -i -a -c mod_flvx.c Add the following handler in /usr/local/apache/conf/httpd.conf AddHandler flv-stream .flv Reload Configuration: service httpd restart

Read more...
ffmpeg-php-Compile-Error

ffmpeg-php Compile Error – Make: *** [ffmpeg_frame.lo] Error 1

If you are getting the following error while compiling the latest release of ffmpeg-php-0.6.0 , This will article will let you know how to get this fix. Error: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_toGDImageâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: âPIX_FMT_RGBA32â undeclared (first use in this function) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.) /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_ffmpeg_frameâ: /usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: âPIX_FMT_RGBA32â undeclared (first use in this function) make: *** [ffmpeg_frame.lo] Error 1 Solution:- Under the ffmpeg-php-0.6.0 directory modify the file: ffmpeg_frame.c with nano or vi [...]

Read more...
Binding-Multiple-Network-Interfaces-(NIC)-Into-Single-Interface

Binding Multiple Network Interfaces (NIC) Into Single Interface

Today we had successfully binded two NIC cards into one single interface , Basically the purpose is to increase the speed and bandwidth as Linux allows administrators to bind NIC’s together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. Before proceeding make sure both the interfaces eth0 and eth1 [...]

Read more...