Load balancing dedicated server Hosting are one of the most advanced web server solutions used these days as the requirements of client’s are at inclination and in order to manage the requirements, it is important to setup a specification where every activity on the server is distributed accordingly and load has been managed. There are many of load-balancing. Hardware Setup of load-balancing is much costlier when compared to a software load-balancing setup.
Following are few of the ways of setup :
Round Robin DNS Load Balancing dedicated server :
It is basically DNS binded server that load-balances multiple dedicated web servers. This is normally known to be used for group of clusters. Some of the main advantages is that is very simple and can easily be implemented.
The only disadvantage is that the DNS server does not know if any server goes down. It knows only the difference of the IP and does not know by server port. The IP can be cached by others and request will not be forwarded to the other server.
Hardware Load-balancing dedicated server :
Hardware load-balancers route TCP/IP packet to different servers in a cluster. They are highly-reliable but with a cost. It used network gatewat to route traffic. The only disadvantage is that it is cheaper to software versions.
Software Load-balancing dedicated server :
These days, software load balancing dedicated servers are normally used which are integrated with web servers and application servers. They are much cheaper when compared to a hardware load-balancer and can easily be configured as per requirements. Unlike, Round-Robin, it can easily route based on different parameters. It requires additional hardware for complete setup of load-balancer.
How to install FFmpeg on Linux VPS Hosting?
FFmpeg is an important application software which is used to run a video website with streaming with conversion of video files into various video formats. By following the below steps you can install FFmpeg software easily on Linux VPS Hosting without compiling the files.
yum install ffmpeg
If you will get command not found, then you will have to add few lines in the yum repository for dag installation.
Create a file named dag.repo in /etc/yum.repos.d with the following contents on it
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
then
yum update
yum install ffmpeg
If everything works fine, then the installation should proceed smoothly and if not then you will get something like warning GPG public key missing .
To fix rpmforge GPG key warning:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Most commonly you have GLIB 2.3 installed instead of GLIB 2.4 version. To check the current GLIB version installed on your server. just use
yum list glib*
and it will list all the packages whether installed or not. Try to see whether Glibc 2.4 installed, if not you will need to upgrade your Centos to latest version of 5.
How to check the ffmpeg working?
Finally, check the ffmpeg whether it is working or not.
> ffmpeg
> ffmpeg -formats
> ffmpeg –help
// This lists path of mpeg, its modules and other path information
> ffmpeg -i Input.file Output.file
To check what audi/video formats are supported
ffmpeg -formats > ffmpeg-format.txt
Open the ffmpeg-formats.txt to see the ooutput
D means decode
E means encode
V means video
A means audio
T = Truncated
How to install FFMPEG-PHP Extension?
FFmpeg-php is a very good extension and wrapper for PHP which can pull useful information about video through API interface on a Linux VPS Hosting. Inorder to install it you will have to download the source file and then compile and install extension on your server. You can download the source tarball from : http://ffmpeg-php.sourceforge.net/
wget /path/to/this/file/ffmpeg-php-0.5.2.1.tbz2
tar -xjf ffmpeg-0.5.2.1.tbz2
phpize
./configure
make
make install
Common types of Errors are as follows:-
1)If you get command not found error for phpize, then you will need to do yum install php-devel
2)If you get an error like shared libraries not found problem and the program stops in the middle, then you must specify the ffmpeg installed path explicitly to the ./configure.
3)“configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the –enable-shared option”
How to fix these errors:
1) First find out the ffmpeg path with ffmpeg –help command. The prefix default path should be like /usr/local/cpffmpeg
2) Configure the FFmpeg-php with –with-ffmpeg option
./configure –with-ffmpeg=/usr/local/cpffmpeg
There are multiple reasons why someone would want to have multiple domain hosting. For example, if you are running more than one affiliate websites, you will require a different domain name for every single one. or, someone who has many blogs on different topics may also want more than one domain names. If you have a need for multiple domain hosting, you will want to be careful when choosing a Web host to purchase from.
Many companies make it difficult or impossible to have multiple domain hosting with one Web hosting account and may require you to purchase separate Web hosting space for each domain name. The problem with this is that you may receive 5GB worth of space per account and only use 1GB. This means that, with five separate domain names, you will be paying five times as much as you would be without this rule.
With Bodhost you will not face such problems.You can host multiple domains on one single VPS or Dedicated server.
Email Login failures on Linux VPS Hosting Packages :
If you are unable to login into Webmail , and you are getting an Error: “Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again.”
This problem occured due accessing Horde through the ISP that has dynamic proxies.
To Resolve this problem you can do the following things:-
1)You can turn ‘checkip’ feature off in Horde server-wide.
2)Now login to the Plesk server through SSH and edit the /usr/share/psa-horde/config/conf.php file in your favorite text editor.And also Change the lines:
$conf['auth']['checkip'] = true;
to
$conf['auth']['checkip'] = false;
Note: This modification can’t be configured per user basis and will affect all Webmail users.
Why do multiple website builders use Linux web hosting?
Most of the people uses Linux OS because of stability. Linux is perhaps the most stable OS(operating system) in the world.
Why is Linux Operating System is stable?
Servers running Linux web hosting just might be more stable because Linux is an open source OS. The code is open to the public so that anyone can read it and suggest improvements or point out bugs. Over the years, Linux has been developed in many flavors such as Red Hat and Debian. Large number of people have contributed their time and effort for making Linux web hosting run faster and to provide simpler, more efficient and bug free code. With an open programming environment, improvements are made on a continual basis and problems are seen relatively quickly and solved with a minimum of difficulty.
When you are starting a new website, one of your chief concerns about it is stability. Any time that the website spends offline as a result of technical problems is time that your customers are unable to use your website, and this is bad for your bottom line. Businesses tend to want the most stable OS for their web sites to minimize the dreaded server crash.
Another issue that you have to consider when setting up a new online website is whether the OS they are using will be able to use the full range of software and scripts that they require. Again, Linux web hosting is a winner in this regard. Lots of major web hosting companies offer Linux web hosting and with so many people using it around the world anything that you can do with Windows hosting can also be done with Linux web hosting. Many of the most popular script packages on the web today are available in both Windows and Linux web hosting versions, with the Linux web hosting version generally being more stable and having all of the same features as their Windows cousins. This is of course my opinion and I am sure that there are some who may disagree.
Linux web hosting is typically available at the same price as Windows web hosting. So consider that for the same price you can get an operating system for your website on the world wide web which is:
1) stable
2) runs popular script packages
3) considered the best operating system in the world in terms of these criteria by many of the internet’s most well respected independent sources of judgement.
So getting your web server with the Linux operating system is particular important for companies which require to set up eCommerce websites. When customers depends on your website for sending in their orders, you need to make sure that you website is running twenty four hours a day.
Please follow the steps given below to restart Sendmail after editing your configuration Files:-
#!/bin/bash
cd /etc/mail
make
newaliases
/etc/init.d/sendmail restart
It will first runs the make command, which creates a new sendmail.cf file from the sendmail.mc file and then compiles supporting configuration files in the /etc/mail directory according to the instructions in the file /etc/mail/Makefile. After thar it generates new e-mail aliases with the newaliases command, and then restarts sendmail.
To make the script executable use this command.
chmod 700 filename
You will need to run the script every time you change any of the sendmail configuration files described in the sections to follow.
The line in the script that restarts sendmail is only needed if you have made changes to the /etc/mail/sendmail.mc file, but It included it so that you don’t forget.
Note: When sendmail starts, it reads the file sendmail.cf for its configuration. sendmail.mc is a more user friendly configuration file and really is much easier to fool around with without getting burned. These sendmail.cf file is located in different directories depending on the version of RedHat you use. The /etc/sendmail.cf file is used for versions up to 7.3, and /etc/mail/sendmail.cf is used for versions 8.0 and higher and Fedora Core.
We support Sendmail on our Linux VPS Hosting packages
The biggest difference between Plesk VPSand cPanel VPS Hosting is the user interface.both of the feature sets are pretty much comparable, and both are reasonably fast, secure, and reliable.Plesk as well as cPanel are very good control panels and many people had a lot of success with each of them. Ultimately however, it’s just a matter of personal preference over with interface you will be most comfortable with it. If you have used one over another, It is recommended to continue with the one you are familiar with.
Some of the biggest differences between the two control panels:
==============
PLESK
==============
Advantages of Plesk are as follows:-
1) Plesk provides better support for automation, including an XML-RPC interface allowing PHP or Perl scripts to call functions from a remote computer.
2) With Plesk you will get large variety of plug-ins, adding to the available features.
3) For unlimited domain licenses, Plesk is cheaper than cPanel.
4) It supports SuSE Linux.
Note:Plesk is a good control panel but the user interface is slightly harder to use and customise than cPanel’s, and it is generally preferred by most of the clients.
=====================
cPANEL
=====================
Advantages of cPanel are as follows:-
1)Most of the softwares are integrate with cPanel.
2)Out-of-the-box, it has slightly more features than Plesk control panel.
3)cPanel is cheaper to rent per year, as compare to Plesk.
4)cPanel is very easy to use, and many clients are used to and prefer the cPanel interface.
Disadvantages of cPanel are as follows:-
1)cPanel does not provide any XML or similar interface.
2) It does not support SuSE Linux.
Frontpage Extensions provides access for website publish from Frontpage. This provides a better interface while uploading data content. Please be assured that while Installating or Uninstalling Frontpage Extensions, it is a possibility that .htaccess file could be lost. Following are the steps to install Frontpage Extensions through cPanel VPS Servers :
> Click on cPanel
> Click on Frontpage Extensions icon through cPanel
> It will then proceed with the installation of Frontpage Extensions on the VPS
Bodhost.com Cheap VPS hosting is for those who want control and flexibility of a dedicated server at a very low cost. All Bodhost.com Cheap VPS packages come with a control panel option such as cPanel and Plesk etc. and all other features, as well as Bodhost.com amazing 24/7 customer service with Toll free phone support.
Bodhost.com guarantee you won’t be disappointed and each Bodhost.com Cheap VPS is backed by 30 days money back guarantee if they fail to offer as described.Bodhost VPS are setup on the powerful node with latest configuration : Servers are setup on powerful Intel Core 2 Quad Q6600, 8MB Cache and 8GB ECC RAM.
What is Zend Optimizer?
It is a free application software which runs the files encoded by the Zend Encoder and Zend SafeGuard Suite, while boosting the running speed of PHP applications. Many scripts require that you have Zend Optimizer installed so you are able to run them on your server while decrypting and running them on the fly while increasing runtime performance.
http://www.zend.com/store/products/zend-optimizer.php
How to install Zend Optimizer?
To install Zend Optimizer follow these steps :-
1) First off all you will need to grab a copy of the optimizer depending on what platform you would like to install it on. http://www.zend.com/store/free_download.php?pid=13
Linux users should grab the Linux glibc2.1
2) Once you have downloaded the file locally you will need to upload it to your web server. FTP to your server and upload it to a directory of your choice.
3) Now Uncompress/extract the file
tar zvfx ZendOptimizer*.tar.gz
cd ZendOptimizer-2.5.3-linux-glibc21-i386/
4) Now run the installer,
./install.sh
5) The welcome screen
6) The agreement
7) Where do you wants to install Zend Optimizer?
Locate your php.ini file
9) Select Yes, chances are you are using Apache web server
10) Enter the location of where apache files are located
11) Zend changing your php.ini file location, make a note of this.
12) Restart your web server for the changes to take effect.
13) Apache should restart successfully.
Note:You may also restart Apache manually using # /etc/init.d/httpd restart
15) Please ensure that Zend Optimizer is working you can do the following in the shell.
php -v
16) After the installation is completed you can remove the directory.
cd to where the extracted Zend first.
rm –rf ZendOptimizer-2.5.3-linux-glibc21-i386