الخميس، 11 يوليو 2013

MySQL Cluster For Multiple Dedicated Servers

MySQL Cluster For Multiple Dedicated Servers 

The main aim to create clusters MySQL is to have redundancy - your hosting server and programs will run efficiently even if one hosting server goes down


Note: For better performance you should have a 3rd hosting server as a control node, but this can be closed down after the group begins. Also observe that closing down the control hosting server is not suggested (see the additional notices at the end of this paper for more information). You cannot run a MySQL Cluster with just two Hosting And have real redundancy.

It is possible to set up the group on two Devoted Web servers you will not get the capability to "kill" one hosting server and for the group to proceed at regular. For this you need a third hosting server operating the control node.

Now below I had given the example for three servers:

mysql1.domain.com - 192.168.0.1
mysql2.domain.com - 192.168.0.2
mysql3.domain.com - 192.168.0.3

Servers 1 and 2 will be the two that end up "clustered". This would be ideal for two servers behind a fill balancer or using circular robin the boy wonder DNS and is an excellent replace duplication. Server 3 needs to have only minimal changes created for it and does NOT need a MySQL set up. It can be a low-end device and can be undertaking other projects.

STAGE 1: Install MySQL on the first two servers:

Complete the following actions on both mysql1 and mysql2:

cd /usr/local/
dev.mysql.com/get/Downloads/MySQL-4.1/mysql-max-4.1.9-pc-linux-gnu-i686.tar.gz/

from/signal42.com/mirrors/mysql/
Grouped mysql
Useradd -g mysql mysql
tar -zxvf mysql-max-4.1.9-pc-linux-gnu-i686.tar.gz
Rm mysql-max-4.1.9-PC-Linux-gnu-i686. tar. gz
Ln -s mysql-max-4.1.9-PC-Linux-gnu-i686 mysql
CD mysql
Scripts/mysql_install_db --user=mysql
Chown -R primary .
Chown -R mysql data
Chgrp -R mysql .
Cup support-files/mysql. server /etc/rc.d/Inuit. d/
Chmod +x /etc/rc.d/Inuit. d/mysql. server
Chkconfig --add mysql. server

Do not begin MySQL yet.

STAGE 2: Install and set up the control server

You need the following details files from the bin/ of the mysql directory: ndb_mgm and ndb_mgmd. Obtain the whole mysql-max table and draw them out from the bin/ listing.

Mkdir /usr/src/mysql-MGM
CD /usr/src/mysql-MGM
dev.mysql.com/get/Downloads/MySQL-4.1/mysql-max-4.1.9-pc-linux-gnu-i686.tar.gz/

from/www.signal42.com/mirrors/mysql/
tar -zxvf mysql-max-4.1.9-pc-linux-gnu-i686.tar.gz
Rm mysql-max-4.1.9-PC-Linux-gnu-i686. tar. gz
CD mysql-max-4.1.9-PC-Linux-gnu-i686
mv bin/ndb_mgm .
mv bin/ndb_mgmd .
chmod +x ndb_mg*
mv ndb_mg* /usr/bin/
CD
rm -rf /usr/src/mysql-mgm
 

 

Introduction to jQuery

Introduction to jQuery 

JQuery is a JavaScript collection complete of resources prepared to be used - which indicates that it's pre-written JavaScript, prepared for you to put to perform in your own sites. Here, you a get a trip of what creates jQuery so well-known.

jQuery focuses primarily on allowing you to choose components in a web page, and it does that better than any JavaScript collection. You will see how to make covered places of components in jQuery, so you can manage several components simultaneously. You will see how to control covered set of components by modifying their overall look, design, exposure, published text, and even their HTML.

jQuery also comes loaded with super-powerful and awesome application functions, such as functions that let you decide which web browser the customer has and what its abilities are. jQuery provides many application functions and you will get a look at the best ones here.

JQuery is known for its visible results such as slick-looking baby wipes, in which a piece of shade baby wipes over a component and ends, in which a component and its qualifications ends from perspective. Here you will see what you can do with these types of results.

The jQuery collection has taken the front-end growth globe by surprise. It's dead-simple format creates once-complicated projects absolutely trivial-enjoyable, even. Many a designer has been easily enticed by its beauty and quality. If you've begun using the collection, you're already included wealthy, entertaining encounters to your projects. Getting began is simple, but as is the situation with many of the resources we use to make sites, it can take several weeks or even decades to completely appreciate the detail and detail of the jQuery collection. The collection is chock-full of functions you might never have known to wish for. Once you know about them, they can considerably modify how you strategy the issues you're known as upon to fix.

The query icons, which are well-known manages that you can use in your sites like schedules, accordion manages (that let you start their pleats to see extra web pages of contents), slider mobile phones, an eye, and many more. The query icons have a refined, expert looks and jQuery provides them for just about every objective you can think of in any sites.

Finally, of course, comes Ajax. JQuery's functions are structured into a few simple categories: primary performance, choosing, adjusting, spanning, CSS, features, activities, results, Ajax, and resources.
 

 

E-Commerce For Business WordPress

 E-Commerce For Business  WordPress 

In recent months, WordPress has evolved as a front-runner as a platform for initiating good online businesses. Its, constantly, improving reliability and position has made it a recommended option and a powerful preferred among net customers worldwide. WordPress, created in 2004, with minute programming, was constructed to improve the typographical standards of day to day writing and was done so using a minute number of users. WordPress has come along way since then. Currently it holds the immense title of that of being the biggest self hosting blog platform in the world. A system employed by a large number of weblog writers and weblog internet explorer as well. Initially, WordPress was used only for writing a weblog factors, but today WordPress is being used for an comprehensive range of online methods. Its convenience of use and its uncompromising versatility creates WordPress and a total desire to work with. WordPress has also become a number one choice for starting companies due to the sound characteristics of its cms. One of the attractive factors for using WordPress for e-commerce sites is sitting in its potential to house significant amounts of written text, in addition to other press material such as, but not restricted to video, sound and so forth. This creates the control of a large and often tedious HTML site very much a subject put to rest. WordPress will do things in minutes, whereas prior to now, you would have tired several hours upgrading, changing rule - guaranteeing the rule and modifications are web browser suitable, etc.
One more remarkable fact regarding the use of WordPress for e commerce oriented business resides in its overall flexibility. The little fact you're able to switch templates at the press of a mouse makes it so speedy and efficient to make use of. This in addition to your ability to add features via plug-ins provides WordPress a really highly effective system for business. Probably the most fascinating truth about WordPress though, is the very proven truth that it is totally able to implement. This important truth makes it extremely eye-catching for third-party software developers. Actually there are a large number of manufacturers on the market who are developing programs and plug-ins for WordPress. The WordPress group is absolutely huge! What is more, many these plug-ins and styles are 100 % free. But as you'll no question understand, if you'd like a top quality WordPress design, you usually have to pay a cost. And it is a cost value having to pay cos later on, it'll be well value the cash.

And it does not stop there. WordPress is probably one of the most, if not the most, SEO responsive site building and blogging system on earth and is so pretty much right out of the box. Yes, there are even some specialist professional themes intended to improve WordPress' SEO further, but there are several SEO options, and there are some tweaks you'll have to make, and plugins for WordPress which have been provided to users for free. It is this foundation, it is all these qualities that have attracted some of the finest web-designers around the globe to create templates and plugins for the WordPress system. And, as expected, it's all these qualities that have attracted the average joe to begin a business on a nominal budget. With WordPress it is possible to start a professional online business website, with all the functions and requirements you will need for you and your clients, and achieve this with a small amount of cash.
 
 

Install New Plugin In Wordpress

To install a plugin you generally just need to put the plugin file into your wordpress admin files wp-content/plugins directory. Plugins are tools which provide additional functionality to your application. Once a plugin is installed you may activate it or deactivate it from the Plugins menu in your Wordpress administration area.

Install Wordpress Plugin
wordpress plugin


Normally the Plugin installation is a simple process. In most cases it is enough to upload the plugin under the wordpress admin files wp-content/plugins directory for the WordPress installation and activate it from the admin panel.

Active on inactive plugin in wordpress



In WordPress 2.8 and in all latest version you can install plugins directly from the admin area. Downlod the plugin from plugin website to your pc, then sign in to your WP admin area and go to Plugins  Add New. Browse to the plugin archive and select plugin. Then click on Install button Now and the plugin will be installed easily.
 
Add new plugin in wordpress 
 

الأربعاء، 10 يوليو 2013

Un-extraordinary measures: Stats show CPR often falls flat

Un-extraordinary measures: Stats show CPR often falls flat

 With


(CNN) -- In his 20 years of practicing emergency medicine, Dr. David Newman says, he remembers every patient who has walked out of his hospital alive after receiving CPR.
It's not because Newman has an extraordinary memory or because reviving a patient whose heart has stopped sticks in his mind more than other types of trauma. It's because the number of individuals who survive CPR is so small.
In fact, out of the hundreds of CPR patients who have come to St. Luke's Hospital in New York, Newman recalls no more than one individual a year making a full recovery.
Since it was introduced to American physicians in 1960, cardiopulmonary resuscitation has become a staple of emergency medicine. Between 2011 and 2012, more than 14 million people in 60 countries were trained in CPR administration, according to the American Heart Association (PDF).


Breakfast, lunch and hugs at Tim's Place

Breakfast, lunch and hugs at Tim's Place

 Watch this video

 

Editor's note: In the Human Factor, we profile survivors who have overcome the odds. Confronting a life obstacle -- injury, illness or other hardship -- they tapped their inner strength and found resilience they didn't know they possessed. This week we introduce you to 27-year-old Tim Harris, who says he's living the life of his dreams.
(CNN) -- I was born in January of 1986. A few hours after I was born, our doctor told my parents that I had Down syndrome.
A lot of people told my parents that they were very, very sorry. I guess they didn't know then just how totally awesome I would turn out to be.
Growing up with three brothers was a lot of fun. They treated me like a brother -- not like someone special or different. They never let me use my disability to get out of doing the dishes when it was my turn. I did try sometimes, though.
I started in Special Olympics when I was 13 years old. My Special Olympic sports are basketball, poly hockey, volleyball, golf and track and field. I have dozens of gold medals -- way more than another Olympian, Michael Phelps Many of them are on display in my restaurant.


 

الثلاثاء، 9 يوليو 2013

Nearly half of babies have flat skull spot

Nearly half of babies have flat skull spot

640_Really_Cute_Baby.jpg
 

 Close to half of two-month-olds have a flat spot on the back of their heads, according to a new Canadian study that suggests changes in parents' habits may be a cause.
Although not thought to be medically dangerous, the flattened head shape can become permanent, researchers said - which can have psychological implications for kids as they grow up.
"This is super common," said Dr. Lisa Stellwagen, a neonatologist from the University of California, San Diego School of Medicine, who has studied what's known as plagiocephaly.
"With the Back To Sleep (campaign) and the overuse of car seats, and people not holding their babies like they used to, we've sort of rediscovered this problem with infants' head shapes," Stellwagen, who wasn't involved in the new study, told Reuters Health.
Pediatricians in the early 1990s began telling parents to put their babies to sleep on their backs, in an effort to prevent Sudden Infant Death Syndrome (SIDS), also known as crib death.
That campaign was "enormously successful," Stellwagen said - and the new findings do not mean parents should stop following that advice.
But there are steps they can take - such as holding their baby as often as possible and having "tummy time" when the baby is awake and supervised - to limit skull deformations, she added.
For their study, Aliyah Mawji from Mount Royal University in Calgary, Alberta, and her colleagues examined the heads of 440 healthy infants seen for their two-month well-child visit at one of four clinics.
They found that 205 babies, or about 47 percent, had some sort of head deformation visible to the naked eye. More than three-quarters of those were mild, the researchers wrote Monday in Pediatrics.
Prior studies suggested that anywhere from 3 percent to 61 percent of babies have a flat spot on their head, Mawji and her colleagues noted.
Some research has tied plagiocephaly to delayed crawling or rolling over, but babies tend to catch up by 18 months, Mawji said - so it's the potential for being bullied as a child that's more of a concern.
She said the deformation can be corrected with a helmet - but those typically cost $1,000 to $3,000, so they should only be a "last resort."
For young babies, treatment for a flat spot looks a lot like prevention, researchers said.
"You want to vary the side of the head that you're putting your infant to sleep on," Mawji told Reuters Health. "If their head automatically turns to the right … what you need to do the next night is turn their head to the left."
Like Stellwagen, Mawji recommended parents keep their baby out of a car seat when they're not driving. She also said they should alternate the hand they hold the baby in while feeding.
Parents might not notice a small head deformation because they get used to how their baby looks, Stellwagen said, so it's important for doctors to take a close look at the skull at early well-child visits.