Efter den lyckade live uppgraderingen av min testmaskin från fedora 9 till fedora 10 mha yum så kommer här fortsättningen, att liveuppgradera samma maskin till fedora 11 mha yum
Allt skall göras utan att ha X igång så börja med att gå över i runlevel 3 i en textkonsol eller boota maskinen till runlevel 3.
Read more…
Efter den lyckade uppgraderingen av min server från fedora 9 till fedora 11 mha cd’n från fedora 11 distributionen så tänkte jag prova att uppgradera en annan, mindre viktig, maskin jag har som testmaskin och då använda yum för att göra en live uppgradering.
Efter att ha googlat lite så supportas det inte att gå direkt till fedora 11 utan att mellanlanda på fedora 10, vilket denna artikel kommer att beskriva.
Read more…
Idag uppgraderade jag maskinen som www.gunnard.se snurrar på från Fedora 9 till Fedora 11.
Allt gick hur bra som helst, in med CD’n, boota från CD’n och ange att jag ville uppgradera, sedan var det bara klicka next ett par gånger tills uppgraderingen gick igång. Efter ca: 1 timmas väntan så var det klart och jag bootade om maskinen.
Allt förutom webservern gick upp, det var en modul som den försökte ladda men inte fanns så det vara bara att kommentera bort den raden i konfig filen så startade webservern snyggt och allt var igång.
Provade även att göra en uppdateringen direkt “yum update” men då klagade den på att nycklarna för rpmfusion var felaktiga, antagligen låg dom gamla från fedora 9 kvar, jag tog bort dom och installerade dom nya med följande kommandon:
rpm -e livna-release-1-1.noarch
rpm -e rpmfusion-free-release-9-12.noarch rpmfusion-nonfree-release-9-12.noarch
rpm -ivh http://rpm.livna.org/livna-release.rpm
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Därefter fungerade det även att uppdatera alla ingående program.
German scientists dug 50 meters down and discovered small pieces of copper. After studying these pieces for a long time, Germany announced that the ancient Germans 25,000 years ago had a nation-wide telephone net.
Naturally, the Russian government was not that easily impressed. They ordered their own scientists to dig even deeper. 100 meters down. They found small pieces of glass and they soon announced that the ancient Russians 35,000 years ago already had a nation-wide fiber net.
American scientists were outraged by this. They dug 200 meters down and found absolutely nothing. They happily concluded that the ancient Americans 55,000 years ago had cellular telephones.
Har upptäckt via en annan blog en finurlig funktion i office 2007 som gör att man kan “gömma” ribbon menyn när man inte behöver den.
Man bara dubbelklickar på ex. home i menyraden, då göms den. Vill man komma åt den igen så klickar man bara på något ord i menyn så dyker den upp igen och göms när man är klar med den.
Vill man ha tillbaka den så att den alltid syns igen så dubbelklickar man på ex. home igen.
Old people have problems that you haven’t even considered yet!
An 85-year-old man was requested by his doctor for a sperm count as part of his physical exam. The doctor gave the man a jar and said, “Take this jar home and bring back a semen sample tomorrow.”
The next day the 85-year-old-man reappeared at the doctor’s office and gave him the jar, which was as clean and empty as on the previous day.
The doctor asked what happened.
“Well, doc, it’s like this,” the man explained. “First, I tried with my right hand, but nothing happened. Then I tried with my left hand, but still nothing.
“Then I asked my wife for help. She tried with her right hand, then with her left, still nothing. She tried with her mouth, first with the teeth in, then with her teeth out, still nothing.
“We even called up Arleen, the lady next door and she tried, too, first with both hands, then an armpit, and she even tried squeezin’ it between her knees, but still nothing.”
The doctor was shocked! “You asked your neighbor!?”
The old man replied, “Yep, and not one of us could get thet darn jar open…”
1.”In the event of a sudden loss of cabin pressure, masks will descend from the ceiling. Stop screaming, grab the mask, and pull it over your face. If you have a small child traveling with you, secure your mask before assisting with theirs. If you are traveling with more than one small child, pick your favorite.”
2. “Weather at our destination is 50 degrees with some broken clouds, but we’ll try to have them fixed before we arrive. Thank you, and remember, nobody loves you, or your money, more than Southwest Airlines.”
3. A plane was taking off from Kennedy International Airport in New York. After it reached a comfortable cruising altitude, the captain announced over the intercom,”Ladies and gentlemen, this is your captain speaking. Welcome to Flight Number 293, nonstop from New York to Los Angeles. The weather ahead is good and, therefore, we should have a smooth and uneventful flight. Now sit back and relax… OH, MY GOD!”
Silence followed, and after a few minutes, the captain came back on the intercom and said, “Ladies and Gentlemen, I am so sorry if I scared you earlier. While I was talking to you, the flight attendant accidentally spilled a cup of hot coffee in my lap. You should see the front of my pants!”
A passenger in Coach yelled, “That’s nothing. You should see the back of mine!”
I have modified nagios check_procs plugins so it returns how many processes it finds as performance data.
Here is a “diff -u” file so you easy can modify your check_procs.
--- check_procs.c.org Sat Apr 25 12:01:08 2009
+++ check_procs.c Sat Apr 25 12:04:09 2009
@@ -305,6 +305,9 @@
if ( verbose >= 1 && strcmp(fails,"") )
printf (" [%s]", fails);
+/* Added by hdsgd 20090424 */
+ printf ("|Nr=%d", procs);
+
printf ("\n");
return result;
}
A little boy went up to his father and asked: “Dad, where did my intelligence come from?”
His father replied: “Well, son, you have got it from your mother, because I still have mine.”