First Mounting /proc and /dev
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
Chrooting into the new environment
# chroot /mnt/gentoo /bin/bash
Enjoy.
joi, 14 octombrie 2010
miercuri, 13 octombrie 2010
How to install grub in raid 1 patitions on Linux.
Now will show you how to install grub in raid 1 partions, for booting from each hard disk.
First we run next command:
[root@~]# grub-install
Waiting for finish first commnad, now next step:
[root@~]# grub
grub>device (hd0) /dev/sda
grub>root (hd0,0)
grub>setup (hd0)
grub>device (hd1) /dev/sdb
grub>root (hd1,0)
grub>setup (hd1)
grub>quit
[root@~]#
Now have to create conf file for grub.
[root@~]# cp /boot/grub/menu.lst.example /boot/grub/menu.lst
Now edit file:
[root@~]# vi /boot/grub/menu.lst
timeout 10
color 4
#splashimage (hd0,4)/grub/mdv-grub_splash.xpm.gz
default 0
#viewport 3 2 77 22
#shade 1
fallback 1
title linux1
kernel (hd0,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd0,0)/initrd-2.6.31.5-desktop-1mnb.img
title linux2
kernel (hd1,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd1,0)/initrd-2.6.31.5-desktop-1mnb.img
Now you have to be sure about your kernel, vmlinuz and initrd. You can find this informations in /boot
Now save file, and you can reboot you Linux sistem, and see the grub bootloader.
Enjoy.
First we run next command:
[root@~]# grub-install
Waiting for finish first commnad, now next step:
[root@~]# grub
grub>device (hd0) /dev/sda
grub>root (hd0,0)
grub>setup (hd0)
grub>device (hd1) /dev/sdb
grub>root (hd1,0)
grub>setup (hd1)
grub>quit
[root@~]#
Now have to create conf file for grub.
[root@~]# cp /boot/grub/menu.lst.example /boot/grub/menu.lst
Now edit file:
[root@~]# vi /boot/grub/menu.lst
timeout 10
color 4
#splashimage (hd0,4)/grub/mdv-grub_splash.xpm.gz
default 0
#viewport 3 2 77 22
#shade 1
fallback 1
title linux1
kernel (hd0,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd0,0)/initrd-2.6.31.5-desktop-1mnb.img
title linux2
kernel (hd1,0)/vmlinuz-2.6.31.5-desktop-1mnb root=/dev/md2 vga=792 resume=/dev/md1
initrd (hd1,0)/initrd-2.6.31.5-desktop-1mnb.img
Now you have to be sure about your kernel, vmlinuz and initrd. You can find this informations in /boot
Now save file, and you can reboot you Linux sistem, and see the grub bootloader.
Enjoy.
joi, 10 iunie 2010
Google Background Themes
When was the last time you conducted a search on Google? If you head to their page now, you’ll see that the company has automatically turned on background themes as a default choice.
Don’t worry, they are automatic for a while only and will return back to an optional choice after 24 hours according to Google. The move is an attempt to draw attention to their background features, as many users may not know that there is an option to change the background from that plain white one.
If you head to the page in the bottom left-hand corner, you’ll see that there is a wide variety of backgrounds to choose from – which one do you like best?
I have to say I had no idea about Google Backgrounds. It definitely adds a bit of life into the Google homepage anyway. Do you prefer custom background themes or not?
Tipe of Google’s background image:
1. Leaves, grass or trees – The green color is considered one of the most relaxing colors for the eyes, causing less eyestrain.
2. Landscapes – Especially now that the holidays are close, a background with your favorite vacation destination will keep you optimistic and relaxed
3. Loved ones – Google’s default search page can now become your digital photo frame, where you can display photos of your family, friends, or even pets.
4. Celebrities – Your favorite movie stars, like Megan Fox or Robert Downey Jr., will be proud to be featured on your Google page. Even politicians can find a place here, president Obama being a prime choice.
5. Art – Reproductions of famous painting can stylishly decorate your workspace, and the selection is more than diverse
Don’t worry, they are automatic for a while only and will return back to an optional choice after 24 hours according to Google. The move is an attempt to draw attention to their background features, as many users may not know that there is an option to change the background from that plain white one.
If you head to the page in the bottom left-hand corner, you’ll see that there is a wide variety of backgrounds to choose from – which one do you like best?
I have to say I had no idea about Google Backgrounds. It definitely adds a bit of life into the Google homepage anyway. Do you prefer custom background themes or not?
Tipe of Google’s background image:
1. Leaves, grass or trees – The green color is considered one of the most relaxing colors for the eyes, causing less eyestrain.
2. Landscapes – Especially now that the holidays are close, a background with your favorite vacation destination will keep you optimistic and relaxed
3. Loved ones – Google’s default search page can now become your digital photo frame, where you can display photos of your family, friends, or even pets.
4. Celebrities – Your favorite movie stars, like Megan Fox or Robert Downey Jr., will be proud to be featured on your Google page. Even politicians can find a place here, president Obama being a prime choice.
5. Art – Reproductions of famous painting can stylishly decorate your workspace, and the selection is more than diverse
marți, 8 iunie 2010
New official Iphone 4
The official news from Apple. Today I receive mail from Apple about new iphone 4.
New feature on this iphone:
- FaceTime Phone calls like you've never seen before.
- Retina Display The highest-resolution screen ever on a phone.
- Multitasking Done the right way
- HD video recording Shoot, Edit, Share All in HD
While everyone else was busy trying to keep up with iPhone, we were busy creating amazing new features that make iPhone more powerful, easier to use, and more indispensable than ever. The result is iPhone 4. The biggest thing to happen to iPhone since iPhone.
iPhone 4 introduces a whole new way of multitasking. Now you can run your favorite third-party apps — and switch between them instantly — without slowing down the performance of the foreground app or draining the battery unnecessarily. This smarter approach to multitasking is available only on iPhone.
For more info read souce: Iphone4
New feature on this iphone:
- FaceTime Phone calls like you've never seen before.
- Retina Display The highest-resolution screen ever on a phone.
- Multitasking Done the right way
- HD video recording Shoot, Edit, Share All in HD
While everyone else was busy trying to keep up with iPhone, we were busy creating amazing new features that make iPhone more powerful, easier to use, and more indispensable than ever. The result is iPhone 4. The biggest thing to happen to iPhone since iPhone.
iPhone 4 introduces a whole new way of multitasking. Now you can run your favorite third-party apps — and switch between them instantly — without slowing down the performance of the foreground app or draining the battery unnecessarily. This smarter approach to multitasking is available only on iPhone.
For more info read souce: Iphone4
luni, 7 iunie 2010
The secret about cancer and howto treatment cancer.
The secret about cancer, never you hear theat true about your health and diet.
The science is clear. The results are unmistakable.
Change your diet and dramatically reduce the risk of cancer, diabetes, heart disease and obesity.
Respected nutrition and health researcher, Dr. T. Colin Campbell reveals the truth behind special interest groups, government entities and scientists that have taken Americans down a deadly path
Even today, as the low-carb craze sweeps the nation, two-thirds of adults are still obese and children are being diagnosed with Type II diabetes, typically an “adult” disease, at an alarming rate. If we’re eating healthier, why are Americans stricken with heart disease as much as we were 30 years ago?
Drawing on the project findings in rural China, but going far beyond those findings, The China Study details the connection between nutrition and heart disease, diabetes and cancer. The report also examines the source of nutritional confusion produced by powerful lobbies, government entities, and opportunistic scientists. The New York Times has recognized the study (China-Oxford-Cornell Diet and Health Project) as the “Grand Prix of epidemiology” and the “most comprehensive large study ever undertaken of the relationship between diet and the risk of developing disease.”
“After a long career in research and policy-making, I have decided to step ‘out of the system.’ I have decided to disclose why Americans are so confused,” said Dr. Campbell. “As a taxpayer who foots the bill for research and health policy in America, you deserve to know that many of the common notions you have been told about food, health and disease are wrong.”
Sources: The China Study
The short video you can see more:
The science is clear. The results are unmistakable.
Change your diet and dramatically reduce the risk of cancer, diabetes, heart disease and obesity.
Respected nutrition and health researcher, Dr. T. Colin Campbell reveals the truth behind special interest groups, government entities and scientists that have taken Americans down a deadly path
Even today, as the low-carb craze sweeps the nation, two-thirds of adults are still obese and children are being diagnosed with Type II diabetes, typically an “adult” disease, at an alarming rate. If we’re eating healthier, why are Americans stricken with heart disease as much as we were 30 years ago?
Drawing on the project findings in rural China, but going far beyond those findings, The China Study details the connection between nutrition and heart disease, diabetes and cancer. The report also examines the source of nutritional confusion produced by powerful lobbies, government entities, and opportunistic scientists. The New York Times has recognized the study (China-Oxford-Cornell Diet and Health Project) as the “Grand Prix of epidemiology” and the “most comprehensive large study ever undertaken of the relationship between diet and the risk of developing disease.”
“After a long career in research and policy-making, I have decided to step ‘out of the system.’ I have decided to disclose why Americans are so confused,” said Dr. Campbell. “As a taxpayer who foots the bill for research and health policy in America, you deserve to know that many of the common notions you have been told about food, health and disease are wrong.”
Sources: The China Study
The short video you can see more:
Sneak Peak: WE tv’s Bridezillas and My Fair Wedding
WE tv is giving you the chance to win a $100,000 dream wedding! Every week, starting June 6th, loyal WE viewers need to watch Bridezillas and My Fair Wedding and look for that week's "wedding word." The wedding word must be entered at WEtv.com in order to register for the sweeps. The grand prize for one winner is a $100,000 wedding planned by David Tutera, including a 7 night honeymoon, courtesy of Endless Vacation Rentals® by Wyndham Worldwide.
Bridezillas:
WE tv’s hit original series returns with all new episodes…more meltdowns, confrontations and shocking revelations. Tune in to watch what can happen to a woman somewhere between “Will You Marry Me” and “I Do.”
Link: http://www.wetv.com/video/84718229001/bridezillas-season-7-sneak-peek
My Fair Wedding:
Everyone’s favorite wedding planner David Tutera returns with another season of the hit WE tv show My Fair Wedding. This season the stories are bigger, the transformations are greater and the emotions are more powerful than ever before.
Link: http://www.wetv.com/video/86987616001/my-fair-wedding-season-3-sneak-peek
More you can se here: http://www.wetv.com/sweeps/index.php?sweeps=bridal-sweeps
Bridezillas:
WE tv’s hit original series returns with all new episodes…more meltdowns, confrontations and shocking revelations. Tune in to watch what can happen to a woman somewhere between “Will You Marry Me” and “I Do.”
Link: http://www.wetv.com/video/84718229001/bridezillas-season-7-sneak-peek
My Fair Wedding:
Everyone’s favorite wedding planner David Tutera returns with another season of the hit WE tv show My Fair Wedding. This season the stories are bigger, the transformations are greater and the emotions are more powerful than ever before.
Link: http://www.wetv.com/video/86987616001/my-fair-wedding-season-3-sneak-peek
More you can se here: http://www.wetv.com/sweeps/index.php?sweeps=bridal-sweeps
Sandra Bullock Kisses Scarlett Johansson!
Sandra Bullock just sucked face with Scarlett Johansson at the MTV Movie Awards -- talk about one helluva rebound!!!
The girl-on-girl action went down just moments ago -- after Sandy got a huge standing ovation while receiving something called the Generation Award.
After the smooch, Bullock addressed the attention now placed on her personal life, saying "Can we please go back to normal because therapy is really expensive. Go back to making fun of me, I don't care, its time to get back to normal."
The kiss comes around the 4:00 mark.
The pictures of this kiss you can see here.
The short movie you can see here.
Sources.
The girl-on-girl action went down just moments ago -- after Sandy got a huge standing ovation while receiving something called the Generation Award.
After the smooch, Bullock addressed the attention now placed on her personal life, saying "Can we please go back to normal because therapy is really expensive. Go back to making fun of me, I don't care, its time to get back to normal."
The kiss comes around the 4:00 mark.
The pictures of this kiss you can see here.
The short movie you can see here.
Sources.
duminică, 6 iunie 2010
BP captures 6,000 barrels of oil from leaking well
As engineers monitor the oil flow through a containment cap, wildlife rescue efforts are stepped up in Louisiana.
For photos click here.
For video click here.
Reporting from New Orleans and Los Angeles — Efforts to contain the flood of oil gushing into the Gulf of Mexico showed signs of progress as a cap placed atop BP's blown-out well managed to capture 6,000 barrels of oil in its first 24 hours, officials announced Saturday.
No one knows exactly how much is still spewing from the well, although estimates by a government task force before the well was capped ranged between 12,000 and 25,000 barrels of oil daily.
The containment cap, the latest in a string of efforts to cope with the massive spill, is funneling oil and gas to a surface ship about a mile above the wellhead.
But engineers are allowing most of the oil to continue escaping through four vents in the cap because the force of the flow could burst the rubber gasket that holds the cap in place.
"They're making sure they don't increase the production rate until it is safe to do so," Coast Guard incident commander Adm. Thad Allen told reporters Saturday. "They're easing the pressure up to the vessel…so they can maintain control of the oil."
On Saturday afternoon, a BP spokesman said the company had no estimate as to when the vents would be closed. "Over the next few days we will be adjusting the cap to work as best as we can," Toby Odone said.
The amount of oil pumped to the surface could be constrained, given that the surface ship can receive only 15,000 barrels daily, Odone acknowledged.
For more updates read sources.
For photos click here.
For video click here.
Reporting from New Orleans and Los Angeles — Efforts to contain the flood of oil gushing into the Gulf of Mexico showed signs of progress as a cap placed atop BP's blown-out well managed to capture 6,000 barrels of oil in its first 24 hours, officials announced Saturday.
No one knows exactly how much is still spewing from the well, although estimates by a government task force before the well was capped ranged between 12,000 and 25,000 barrels of oil daily.
The containment cap, the latest in a string of efforts to cope with the massive spill, is funneling oil and gas to a surface ship about a mile above the wellhead.
But engineers are allowing most of the oil to continue escaping through four vents in the cap because the force of the flow could burst the rubber gasket that holds the cap in place.
"They're making sure they don't increase the production rate until it is safe to do so," Coast Guard incident commander Adm. Thad Allen told reporters Saturday. "They're easing the pressure up to the vessel…so they can maintain control of the oil."
On Saturday afternoon, a BP spokesman said the company had no estimate as to when the vents would be closed. "Over the next few days we will be adjusting the cap to work as best as we can," Toby Odone said.
The amount of oil pumped to the surface could be constrained, given that the surface ship can receive only 15,000 barrels daily, Odone acknowledged.
For more updates read sources.
Flash flood warning issued; tornado watch continues overnight
The night's third tornado warning for Washtenaw County has expired, although a tornado watch — meaning conditions may be favorable for tornado development — continues until 5 a.m. for the entire region, including Washtenaw County as well as Berrien, Branch, Cass, Hillsdale, Lenawee, Monroe, St. Joseph and Wayne counties.
The National Weather Service has issued a flash flood warning due to the continuing rainfall. Flooded streets have been reported in many areas of Ann Arbor, including Washtenaw Avenue; Maple Road; Stadium Boulevard; and Packard, Church and Monroe streets. Some residents are reporting a foot or more of water in some low-lying areas.
The text of the flood warning:
At 1252 am EDT... National Weather Service Doppler radar indicated a line of thunderstorms producing extremely heavy rainfall extending from just east of Battle Creek to Detroit. These storms will continue to track along the Interstate 94 corridor over the next one to two hours.
Runoff from this excessive rainfall will continue to cause flash flooding to occur. Some locations that will experience flooding include... Ann Arbor... Canton... Chelsea... Dexter... downtown Detroit... Flat Rock... Livonia... Manchester... Romulus... Saline... Taylor... Ypsilanti... Belleville... Dearborn... Detroit... Dixboro... grose ile... Northville... Salem... Trenton... Whitmore Lake... Willis and Wyandotte.
At 1243 am... weather spotters reported water up to the curbs in portions of Ann Arbor.
At 1252 am EDT... National Weather Service Doppler radar indicated between one and three inches of rain has fallen across much of the area... with the highest amounts in and around Manchester... Ann Arbor and Ypsilanti.
Precautionary/preparedness actions...
Additional rainfall of 1 to 2 inches is possible over the next couple of hours.
Be especially cautious at night when it is harder to recognize the dangers of flooding. If flooding is observed... act quickly. Do not enter the water. Turn around and move up to higher ground. Do not stay in areas subject to flooding when water begins rising.
For More Updates read sources
The National Weather Service has issued a flash flood warning due to the continuing rainfall. Flooded streets have been reported in many areas of Ann Arbor, including Washtenaw Avenue; Maple Road; Stadium Boulevard; and Packard, Church and Monroe streets. Some residents are reporting a foot or more of water in some low-lying areas.
The text of the flood warning:
At 1252 am EDT... National Weather Service Doppler radar indicated a line of thunderstorms producing extremely heavy rainfall extending from just east of Battle Creek to Detroit. These storms will continue to track along the Interstate 94 corridor over the next one to two hours.
Runoff from this excessive rainfall will continue to cause flash flooding to occur. Some locations that will experience flooding include... Ann Arbor... Canton... Chelsea... Dexter... downtown Detroit... Flat Rock... Livonia... Manchester... Romulus... Saline... Taylor... Ypsilanti... Belleville... Dearborn... Detroit... Dixboro... grose ile... Northville... Salem... Trenton... Whitmore Lake... Willis and Wyandotte.
At 1243 am... weather spotters reported water up to the curbs in portions of Ann Arbor.
At 1252 am EDT... National Weather Service Doppler radar indicated between one and three inches of rain has fallen across much of the area... with the highest amounts in and around Manchester... Ann Arbor and Ypsilanti.
Precautionary/preparedness actions...
Additional rainfall of 1 to 2 inches is possible over the next couple of hours.
Be especially cautious at night when it is harder to recognize the dangers of flooding. If flooding is observed... act quickly. Do not enter the water. Turn around and move up to higher ground. Do not stay in areas subject to flooding when water begins rising.
For More Updates read sources
miercuri, 26 mai 2010
How to install phpmyadmin in Centos Linux Server 5
In next how to i will show you install phpmyadmin in Centos Linux Server.
First be sure you are install dag repo or dimi.
Now have to edit /usr/share/phpmyadmin/config.inc.php
Next file you have to edit is /etc/http/conf.d/phpmyadmin.conf, and change the line:
Now change the rights for apache
Restart apache:
And now phpmyadmin is ready to use.
http://your.domain.com/phpmyadmin
You should be find pop up for insert your user name and password.
First be sure you are install dag repo or dimi.
# yum install phpmyadmin
Now have to edit /usr/share/phpmyadmin/config.inc.php
$cfg['Servers'][$i]['auth_type'] = ‘http‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
Next file you have to edit is /etc/http/conf.d/phpmyadmin.conf, and change the line:
# Allow from 127.0.0.1
Allow from 192.168.1.0/24
Now change the rights for apache
# chown -R root:apache /usr/share/phpmyadmin
Restart apache:
/etc/init.d/httpd restart
And now phpmyadmin is ready to use.
http://your.domain.com/phpmyadmin
You should be find pop up for insert your user name and password.
luni, 24 mai 2010
Neamu - Familia mea este neamul meu.
Neamu, familia din te tragi, radacinile tale, mostenirea.
Uni dintre noi cand se casatoresc au impresia ca se casatoresc cu neamul respectiv, dar e fals deoarece neamul (familia ) din care provi si familia ( neamul ) din care provine ea sau el reprezinta doar ceea ce mosteneste, ceea ce a invatat pana acum in viata. De fapt neamul sunteti voi, o noua famile.
Mai multe explicatii gasim in filmuletul care urmeaza:
Este foarte adevarat, ca daca spui ceva de rau de mama sau de tata - nimeni nu e indiferent si se simpte ranit. Dar trebuie sa NU uiti niciodata ca "cine se aseamana se aduna", asa ca atunci cand v-ati luat sigur ati gasit ceva care sa se potriveasca la voi sa semanati, ceea ce va facut sa va apropiati si mai mult.
Sigur nu sunteti la fel, sigur aveti ceva in comun care va apropie, dar in nu sunteti identici ceea ce mai mult ca sigur in viitor or sa iasa la iveala si lucrurile care va diferentiaza, care nu va plac, care deranjeaza. Dar acum indiferent ce faceti va influentati unii pe altii astfel incat luati unul de la celalat lucruri (obiceiuri) bune sau rele.
Concluzie: In momentul in care te casatoresti CARE e NEAMUL TAU ? Neamul tau este el sau ea, familia nou creata.
Regula: Niciodata sa nu lasi ca vorbele tale sa se atinga de sangele din care a venit el sau ea!
Mai multe in filmulet.
Uni dintre noi cand se casatoresc au impresia ca se casatoresc cu neamul respectiv, dar e fals deoarece neamul (familia ) din care provi si familia ( neamul ) din care provine ea sau el reprezinta doar ceea ce mosteneste, ceea ce a invatat pana acum in viata. De fapt neamul sunteti voi, o noua famile.
Mai multe explicatii gasim in filmuletul care urmeaza:
Este foarte adevarat, ca daca spui ceva de rau de mama sau de tata - nimeni nu e indiferent si se simpte ranit. Dar trebuie sa NU uiti niciodata ca "cine se aseamana se aduna", asa ca atunci cand v-ati luat sigur ati gasit ceva care sa se potriveasca la voi sa semanati, ceea ce va facut sa va apropiati si mai mult.
Sigur nu sunteti la fel, sigur aveti ceva in comun care va apropie, dar in nu sunteti identici ceea ce mai mult ca sigur in viitor or sa iasa la iveala si lucrurile care va diferentiaza, care nu va plac, care deranjeaza. Dar acum indiferent ce faceti va influentati unii pe altii astfel incat luati unul de la celalat lucruri (obiceiuri) bune sau rele.
Concluzie: In momentul in care te casatoresti CARE e NEAMUL TAU ? Neamul tau este el sau ea, familia nou creata.
Regula: Niciodata sa nu lasi ca vorbele tale sa se atinga de sangele din care a venit el sau ea!
Mai multe in filmulet.
duminică, 23 mai 2010
Prieteni si familia
Ce nu trebuie sa vorbesti cu prietenii ? Acest mic video de pe youtube explica de ce uneori prieteni ne pot fi dusmani sau sa fim victime ale prietenilor fara sa ne dam seama.
Iata filmuletul:
Cat de mult timp acordam familiei ? Comunicam noi cu sotia sau sotul suficient de mult, sau ne place compania prietenilor? Atunci cand vorbim cu perieteni despre familia noastra, adica despre sotul sau sotia noastra, este ce mai mare greseala deoarece fara sa ne dam seama asta e semn ca familia se destrama. Chiar daca exista certuri, discutii, neintelegeri in famile ele nu trebuie discutate nici macar cu parintii. Un sfat sau ceva asemanator putem sa le cerem, dar mai mult poate sa degenereze.
Iata filmuletul:
Cat de mult timp acordam familiei ? Comunicam noi cu sotia sau sotul suficient de mult, sau ne place compania prietenilor? Atunci cand vorbim cu perieteni despre familia noastra, adica despre sotul sau sotia noastra, este ce mai mare greseala deoarece fara sa ne dam seama asta e semn ca familia se destrama. Chiar daca exista certuri, discutii, neintelegeri in famile ele nu trebuie discutate nici macar cu parintii. Un sfat sau ceva asemanator putem sa le cerem, dar mai mult poate sa degenereze.
sâmbătă, 22 mai 2010
Distrugerea unui mit – “Nu ne potrivim”
Distrugerea unui mit – “Nu ne potrivim”
Am gasit pe youtube un scurt video care prezinta, si distruge, dezarmeaza asa zisul mit sau motiv al zilelor noastre care duce la divort in familie nu ne potrivim.
Acesta este filmuletul:
Abonați-vă la:
Postări (Atom)