Showing posts with label articles. Show all posts
Showing posts with label articles. Show all posts

Sunday, March 18, 2012

Install Mysql, Apache2, PhpMyAdmin on Ubuntu 10.10

Install  Mysql, Apache2, PhpMyAdmin on Ubuntu 10.10
LAMP
LAMP is an acronym for L inux, Apache, MySQL, PHP. In this post I try to describe how you can install Apache2 webserver on Ubuntu 10.10 server with PHP5 (mod_php) and MySQL support.

1 Getting Started

In the description here I demonstrated using the host server named server1.example.com with IP address 192.168.1.3 These settings may vary with the condition of your server, so you must adjust the IP host and in accordance with the state of your computer.

Open Terminal and run with root privileges / user logged in as root.

sudo su

Please enter your password

2 Installing MySQL 5

First we install MySQL 5 like this:

#apt-get  install mysql-server mysql-client

You will be asked to provide a password for the MySQL root user - this password is valid for the user root @ localhost and root@server1.example.com, so we do not need to specify a MySQL root password manually later on:

The new password for user "root" MySQL: <- yourrootsqlpassword
Repeat password for user "root" MySQL: <- yourrootsqlpassword
 
 
 3 Installing Apache2

Apache2 is available as an Ubuntu package, therefore we can install it like this:

#apt-get install apache2

  Now direct your browser to http://192.168.1.3, and you'll see the placeholder page Apache2 (It works!):

 Standard Apache document root is / var / www on Ubuntu, and the configuration file is / etc/apache2/apache2.conf. Additional configuration is stored in a subdirectory of the / etc/apache2 as / etc/apache2/mods-enabled (for Apache module), / etc/apache2/sites-enabled (for virtual host), and / etc/apache2/conf d .
4 Installing PHP5

We can install PHP5 and Apache PHP5 module as follows:

#apt-get install php5 libapache2-mod-php5

restart Apache

/ etc/init.d/apache2 restart

5 Testing PHP5 / Getting Details About Your Installation PHP5

The document root of the default web site is / var / www. We will now create a small PHP file (info.php) in that directory and call it in the browser. The file will display lots of useful details about our PHP installation, such as PHP versions installed.

  / var / www / info.php

then
sudo gedit / var / www / testing.php

Type the following line:
<? php infophp ()>?

  Now we try to call the file in the browser (eg http://192.168.1.3/info.php):

As you see, PHP5 works, and it is working through Apache 2.0 Handler, as shown in the Server API line. If you scroll down, you will see all modules which are activated in PHP5. MySQL is not listed there which means we do not have MySQL support in PHP5 yet.

6 Getting MySQL Support In PHP5

To get MySQL support in PHP, we can install php5-mysql package. This is a good idea to install some other PHP5 modules as well as you might need for your application. You can search for available PHP5 modules like this:

apt-get search php5

Choose what you need and install it like this:

apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imap php5-Imagick php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xsl php5-XMLRPC-json php5

Now restart apache2:

/ etc/init.d/apache2 restart

  Now re-http://192.168.1.3/info.php on your browser and scroll down to the module again. You should now find lots of new modules there, including the MySQL module:



7 phpMyAdmin

phpMyAdmin is a web interface where you can manage your MySQL database. That's a good idea to install it:

apt-get install phpmyadmin

You will see the following questions:

Web server to reconfigure automatically: <- apache2
Configure database for phpmyadmin with dbconfig-common? <- No

  After that, you can access phpMyAdmin under http://192.168.1.3/phpmyadmin/:

Phpmyadmin login page should appear like this:

 Enter your user name and password (default user is 'root')
If it appears at the bottom of the page like this means a successful installation.

 Referral link:
Apache: http://httpd.apache.org/
PHP: http://www.php.net/
MySQL: http://www.mysql.com/
Ubuntu: http://www.ubuntu.com/
phpMyAdmin: http://www.phpmyadmin.net/

Friday, August 12, 2011

Fasting Tips For People with Diabetes

Questions raised almost as well as many people with diabetes mellitus or diabetes. Consideration of fasting for people with diabetes mellitus (DM) is somewhat more complicated and require medical intervention. Because people with diabetes need to set up a diet and measuring the drug in such a way as to maintain glucose levels in their blood during fasting.

Wednesday, July 13, 2011

Easy Ways To Treat Sign Wind

Incidentally, I often catch a cold again ya .. Finally See also how to treat colds easily without having to go to the doctor. Okay I wrote an article share here ya .. One of the familiar diseases and frequently attacked by various groups irrespective of status is the Sign of the Winds. Symptoms of this disease is the body chills, headache, and body sometimes tired with sore disekujur body. Moreover as we massage or rub the body part will leave the red effect on the skin that indicates we have been hit by heavy winds Login.

Friday, July 1, 2011

How to create a slimmer body

There are many ways to lose weight, ranging from the various methods of diet, exercise, liposuction surgery, acupuncture, slimming medicine to drink. Which is safe and effective?

Referring to the world health agency, WHO, noted that a good weight loss can not be done instantly, but it is a long-term therapy. All it takes to lose weight not just reduce the size of the meal, but also needed guidance from a nutritionist before making dietary changes, along with physical activity and behavioral therapy.

Friday, June 24, 2011

What causes acne - do we really know?

You may be suprised to learn that nobody knows the exact cause of acne! Of course there is speculation and very good hypothesis as to why you suffer from spots and pimples. Yet to date there is no clinically proven evidence highlighting one particular cause.
With the number of acne treatments on the market this may seem unusual, well not really as it is suspected that acne is caused by a disorder of the normal functionality of the glands that lubricate the skin (sebaceous glands). These glands are located just below the skin and often seen as a pore. They are responsible for producing oil that lubricates the skin, keeping it smooth.
The problem often starts when the glands start to overproduce oil making the skin very oily and shinny. So what causes this overproduction? Most often this is linked to hormonal changes and why you often see teenagers with spots and pimples. This is also why at other stages of your life you can suffer from acne, such as during pregnancy and menopause. You can also suffer from acne when triggered by other factors, such as stress, as this is affected by hormonal changes.
The good news is that acne related to puberty, pregnancy or menopause often clears up on its own. Some of us may not be so lucky and continue to suffer from acne for longer!
Hormonal induced acne makes sense as a theory but not everyone suffers from acne and not everyone who does suffers from the same symptoms. There is certainly other factors at play here, most likely due to genetic make-up and/or variations in skin type. These factors have yet to be quantified by the scientific community as there are so many variables. Indeed there will certainly be external factors too, such as environmental pollution and possibly diet.
That said, despite the different causes of acne there are treatments that can combat the spots and pimples so you can avoid embarrassment and get on with your life. Many of the popular acne treatments are available over the counter and tackle the problem using natural ingredients that do not cause irritation. If you are unsure which product to use then take a look at the many reviews available, just be sure to consult a doctor if you are every unsure what product is right for you.
(ArticlesBase SC #4933241)

Hand Tremor – Causes and Symptoms of Hand Tremor

A tremor is an involuntary movement or shaking of any body part (even your head or voice may be involved). It is often most noticeable in your hands. Essential tremor is common in older people. Essential tremor is rarely present when the hands are not being used. It becomes most apparent when the affected person is trying to do something, like reaching for an object or writing. It is not caused by an underlying disease.

Tremors can happen at any age but tend to be more common in older people.You can develop a tremor from fatigue, stress, anxiety, or even rage. However, an ongoing tremor that is not associated with a change in your emotional state may be a sign of an underlying medical condition and should be evaluated. You may learn, as many do, that your tremors are perfectly normal, but eliminating medical reasons for the shaking is important.

Difficulty in making precise finger movements will necessitate enlarged keypads with rests, key-guards or delayed activation. Selection of key operating pressure may be critical to the avoidance of muscular spasm. Both audible and displayed key feedback will be necessary to confirm correct actuation and avoidance of unwanted repeats. Speech-input keying may be desirable, but some conditions giving rise to hand tremor also cause hesitancy in speech.

Causes of Hand tremor

Environmental factors: People with unusual exposure to herbicides and pesticides are more likely to develop Parkinson's disease than are people who don't have this exposure. Researchers haven't yet been able to connect a specific herbicide or pesticide to the disease.

Hyperthyroidism or thyrotoxicosis occurs when the thyroid releases too many of its hormones over a short (acute) or long (chronic) period of time.
Tremors caused by stress, try relaxation techniques like meditation, deep relaxation, or breathing exercises. For tremors of any cause, avoid caffeine and get enough sleep.

Half of the cases are due to gene mutation and transmitted dominantly. There are two main loci: ETM1 and ETM2. The rest are idiopathic. No identifiable and consistent structural abnormality has yet been demonstrated to exist in the nervous system of every person with ET.

Essential tremor is the most common form of abnormal tremor. Although the cause is unknown, new research shows that the part of the brain called the cerebellum does not appear to work correctly in patients with essential tremor. The cerebellum is the part of the brain that coordinates muscle movements.

Symptoms of Hand tremor

Rigid muscles: Muscle stiffness (rigidity) often occurs in your limbs and neck. Sometimes the stiffness can be so severe that it limits the size of your movements and causes pain.

The signs and symptoms of withdrawal appear between six to 48 hours after the patient “stops” drinking alcohol. Some of the most common symptoms include tremors, mild headaches, cold sweat, vomiting, loss of appetite, insomnia, restlessness, rapid pulse, anxiety and auditory hallucinations.

However, some testing may be done to rule out other causes of tremors, such as excessive caffeine or tobacco use, alcohol withdrawal, use of certain medications (for example, asthma drugs, lithium, certain antidepressants and anti-seizure drugs)

Physiological Tremor: This is a very-low-amplitude fine tremor (between 6 Hz and 12 Hz) that is barely visible to the naked eye. It is present in every normal individual during maintaining a posture or movement. Neurologic examination results of patients with physiologic tremor are usually normal.

Tips to Overcome Flu

THE FIRST STEP IN FLU
1. Rest in bed if you feel a fever.2. To reduce respiratory secretions collected on the street and keep the throat does not feel dry, frequently drink water.3. Avoid drinking milk because milk or other dairy products can thicken mucus secretions (phlegm) so it will be difficult to be issued.4. If intolerable symptoms of flu, consumption of-the-counter cold medicines. Examine read labels, pharmaceutical ingredients, side effects, as well as the rules of use stated on the packaging.5. If symptoms worsen within 72 hours or more, accompanied by a cough that will not subside, contact your doctor immediately.

Thursday, June 23, 2011

9 Benefits of Walking

Keeping the body is always in good health and fit is actually easy to do. We do not need to pay expensive to stay healthy. Simplest and easiest way is to walk regularly.
By walking for 30-45 minutes every day, it turns out you can change the life become more healthy and meaningful. Here is the reason why you should take the time to walk in the midst of daily routines:

Rumble-Seat Stroke

Is it a stroke?
Stroke disease is a disorder of brain function caused by blood flow to the brain is impaired (reduced). As a result, nutrients and oxygen to the brain dbutuhkan not met properly. Cause there are two kinds of strokes, namely the existence of blockages in blood vessels (thrombus), and the presence of a ruptured blood vessel.
Generally a stroke suffered by the parents, because the aging process causes hardening and narrowing of blood vessels (arteriosclerosis) and the presence of fats that clog arteries (atherosclerosis). But some recent cases show an increase in cases of stroke that occurs in adolescence and childbearing age (15-40 years). In this group, the leading cause of stroke is a stress, drug abuse, alcohol, heredity, and lifestyle is not healthy.
Causes of stroke
In the case of stroke adolescence, genetic factors (hereditary) is the major cause of stroke. Frequently encountered cases of stroke caused by blood vessels are fragile and easily broken, or blood system disorders such as hemophilia and thalassemia disease is passed down from parents of patients. Meanwhile, if a family member with diabetes (diabetes), hypertension (high blood pressure), and heart disease, stroke likely to be greater in other family members.
The cause of stroke is a food with higher levels of bad cholesterol (Low Density Lipoprotein) is very high. Koleserol evil there are many on junk food or fast food. In addition, other causes of stroke is a lazy habit of exercising and moving, lots of drinking alcohol, smoking, use of narcotic and addictive substances, much less rest time, and prolonged stress. Rupture of blood vessels are also often caused by high blood pressure (hypertension).
Symptoms of a stroke
The early symptoms of stroke are generally dizzy, head spinning (such as vertigo disease), then followed with a speech impairment and mouth muscles move. Other symptoms are tergangguanya sensitive sensor (can not feel anything, such as pinched or pricked needles) and the body feels paralyzed side, and the absence of reflex movements. Often also occur suddenly blind or blurred vision (because the supply of blood and oxygen to the eye is greatly reduced), disruption of taste in the mouth of the system and the muscles of the mouth (so often encountered people with a wry face), paralysis of the muscles of the body, and disruption system memory and emotion. Common people can not stop crying because of paralysis of the brain controls his emotions on the system. It makes people act like a stroke patient psychiatric illness, but it's not. Things like this need to be understood by the family of the patient.
The healing process
There are 2 main healing process that must be lived with. First is healing with medicines in hospitals. Strict control should be done to keep the bad cholesterol can be lowered and did not grow up. In addition, patients are also prohibited from eating foods that can trigger a stroke such as junk food and salt (can trigger hypertension).
The healing process is fisiotherapy second, that exercise the muscles to restore muscle function and communication function to approach its former condition. Fisiotherapi Fisiotherapi conducted with instructors, and patients must adhere to the exercise performed. If Fisiotherapi is not lived in earnest, then the permanent paralysis can occur in the body which had suffered paralysis.
Healing in patients with stroke varies greatly. There can be cleared completely (100%), some are only 50% only. Healing is dependent on whether or not severe stroke, the condition of the patient's body, the compliance in patients undergoing the process of healing, perseverance and spirit of the patient to recover, as well as support and understanding from all family members of patients. Often found that stroke survivors can recover, but suffered severe depression because their families do not want to understand and feel deeply troubled by illness (such as attitudes do not accept the person's condition, harsh treatment because the patient had to clean dirt, handing the patient to the nurse who also treats patients with coarse, and so on). This should be avoided if a family member who suffered a stroke.

Monday, June 20, 2011

Diabetes and Sedentary Lifestyle

The number of people with type 2 diabetes has been rising rapidly since the last fifty years. In addition, more and more people have blood glucose levels, although they have not been categorized as diabetes, are too high for good health. This condition is known as glucose intolerance or pre-diabetes.
health examination at a hospitalThe increase in the number of people suffering type 2 diabetes around the world is mostly caused by sedentary lifestyle or a way of life that does not excel much physical activities.
In the morning after waking up, we open the faucet of water container to fill it. In the past, people had to walk for several meters to take the water in a river and bring it home in containers. After taking a bath and getting changed, we do not have to walking to paddy fields for working with hoes on our shoulders. Comfortable public transportation or our private cars will take us to our offices. Arriving at work, we do not need to climb the stairs to floor 3 or 4. By pressing buttons, the lift doors will open and the lift will take us up to our workplaces. There are no hoeing and plowing works which the traditional farmers do that we do in our workplaces. Most of us spend the whole day typing in front of the computer and answering telephone calls.
In the afternoon, when we get home, there are not many physical activities that we do. After taking a shower, most of us will sit on a sofa with a cup of sweet tea or coffee on the table. We will watch tv until dinner time. After that probably we will read books or talk to our spouses before going to bed.
These sedentary lifestyle have been going on and on for years without us realizing that our bodies are getting heavier. We are now overweight due to the lack of sports and finally our blood sugar levels reach more than 200 mg/dL when examined using Oral Glucose Tolerance Test. And at the very moment we’ve just realized that we suffer from Diabetes Type 2.
Listen, before all the above things happen, let’s change our lifestyle by being physically more active and by eating healthy foods by Charles Roring

Basic Treatment and Prevention of Back Problems

Back pain is caused by several different reasons. That’s why when dealing with it, the first thing to consider is finding what might have caused it. Some of the most common reasons for back pain come from poor sitting or lying posture. It could also be a result of injury while playing sports or while lifting something heavy. The severity of the condition should also be put into consideration if the problem is to be solved. Usually, minor back pains may last for two weeks, but if the condition is considered chronic, it may extend up to four weeks, sometimes even longer. Here are the common factors that contribute to back pain and how to deal with them:

Sunday, June 19, 2011

Type of Disease Disease Dangerous

Mesothelioma Cancer
Mesothelioma in itself is one of the deadliest diseases ever to have been discovered by mankind. Medically, Mesothelioma as a word itself means a tumor that is more likely to transform in a fast proliferating cancer which affects the mesothelial cells of an organ, which form the protective thin covering over the organs like heart, lungs and abdomen.
Whatever is the verbal definition given out to this deadly disease, but those can never for sure weigh the deadliness of this fatal disease. It is an absolutely fatal disease which has taken many a people into its deadly grip. The maximum period of survival after the disease has been diagnosed, has come to the most of a year or two. It is worse form of cancer which is not curable. However, recent studies have suggested that if the disease can be diagnosed at a very early stage then the life of the individual who gets affected by this deadly disease, can be stretched till at the most of 5 years. The treatment of this disease is very expensive but the treatment doesn’t assure life but a few more days, to procure the huge lump-sum required for the treatment, people also file lawsuits to cover the huge incurring expenses for the treatment.
Hypertension
It seems as though many Americans are living a life that leads to high blood pressure or hypertension. As people age, the situation gets worse. Nearly half of all older Americans have hypertension. This disease makes people five times more prone to strokes, three times more likely to have a heart attack, and two to three times more likely to experience a heart failure.
The problem with this disease is that nearly one third of the folks who have hypertension do not know it because they never feel any direct pain. But overtime the force of that pressure damages the inside surface of your blood vessels.
However, according to experts, hypertension is not predestined. Reducing salt intake, adopting a desirable dietary pattern losing weight and exercising can all help prevent hypertension.
Obviously, quitting bad habits and eating a low fat diet will help, but the most significant part that you can do is to exercise. And just as exercise strengthens and improves limb muscles, it also enhances the health of the heart muscles.
Diabetes
Now a day’s diabetes treatment has become a common disease among people. It is caused due to mismanagement of carbohydrate metabolism inside the body. Diabetes is identified with the excessive production of urine, hunger, thirst and excessive loss of weight, blurred vision, and delay in healing of skin, repeated infection, and excessive fatigue. Diabetes has got a serous issue of human health. It denotes sugar in blood and urine very excessively. So, when it comes to treatment of diabetes the main concern should be given to control blood sugar, which is main cause of diabetes. Managing blood sugar is the stepping-stone of this diabetes treatment program. To remove the complications of diabetes one must take it seriously and adopt some good diet process or healthy exercise. Apart from doing so some take insulin and any other type of medication program to be cured to some extent. Frequent testing of blood sugar can denote you how much you have improved on your part to manage suitable measure of sugar in blood. It is very important to learn the right range of glucose in blood unless and until you cannot have the idea about the complication you are facing about this disease. It depends on age mainly such as in younger age assuming not much complication is there the suitable range of glucose is 80-120 mg/dL and in older age it is 100-140 mg/dL.

button share

auto link

PR

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service