HOWTO: Install Firefox 2.0 on Fedora Core 6 December 18, 2006
Posted by devhen in HOWTO, Fedora, Linux. trackback
UPDATED: Mar-21-2007
Due to the popularity of this post I’ve decided to include instructions for all three of the most popular methods for installing Firefox 2 on Fedora Core 6. Read through the three options to decide which works best for you.
Option 1: Via yum with the ‘development’ repo
This command will allow you to upgrade to Firefox 2 via the Fedora Development repo. This is the most commonly recommended option.
Instructions (as root):
# yum --enablerepo=development update firefox
Pros: Uses “official” Fedora packages
Cons: Doesn’t include the (optional) bonuses of option 2
Option 2: Via yum with the ‘remi’ repo
Remi Collet, an “official” Fedora developer, has made available a repo of packages that provides Firefox 2. The repo updates Firefox and those packages that depend on it and also contains a few bonuses such as an updated XChat package (version 2.8).
Instructions (as root):
# rpm -Uvh http://remi.collet.free.fr/rpms/fc6.i386/remi-release-1-2.fc6.remi.noarch.rpm
Now make sure that in your /etc/yum.repos.d/remi.repo file you’ve got enabled=1 and then:
# yum update
Pros: All required packages as well as some extra goodies; new versions of Firefox are automatically installed with yum update
Cons: Not “official” Fedora packages–bugs should not be submitted to the Fedora project
Option 3: Via firefox-2.*.tar.gz from Mozilla.com
I always recommend using RPM packages on Fedora, if possible. However, if you’d like to install Firefox 2 using firefox-2.*.tar.gz from Mozilla.com use this option. One benefit of this option is that Firefox 1.5 remains on your machine so have a choice as to which version to run.
Instructions (as root):
Download firefox-*.tar.gz from Mozilla.com.
# mv firefox-2.*.tar.gz /usr/local/
# cd /usr/local
# tar xvfz firefox-2.*.tar.gz
# mv /usr/bin/firefox /usr/bin/firefox15
# ln -s /usr/local/firefox/firefox /usr/bin/firefox
Firefox 2 will now be your default browser. To run version 1.5 use the command firefox15. I don’t recommend running both versions concurrently because they will be using the same profile which might cause problems.
Pros: Firefox 2 co-exists with version 1.5
Cons: Installation isn’t as straightforward; must be repeated for future releases of Firefox 2
Comments»
1. hoang hanh - December 22, 2006
how to install Firefox 2.0 on FC6
2. Will Siddall - December 28, 2006
Hi Hoang,
The update to 2.0 is quite easy, but I’ve read in a couple of places that this repository is actually an attack site full of compromised software. The best way to update Firefox on FC6 is to use the following command:
yum -y -t --enable=development update firefox
This will perform the update from Fedora’s Development repository which is currently 2.0.0.1
3. Devin - December 28, 2006
Will,
I find it very hard to believe that the remi repo is filled with “compromised software.” In fact, I know it is not. Please provide the sources of this information. In the mean time, my readers can rest assured that the remi repo is effective. I’ve been using it for some time now and if I run into any problems I will post them here on my blog.
Having said that, thanks for the alternate method of installing Firefox 2.0!
Cheers,
Devin
4. felipec - December 28, 2006
Whatever is the status of the remi’s repo, it’s always safer to go with official versions.
However, as you can see here they are not planning to include Firefox 2.0 officially, so we’ll have to use the development version, or have a parallel Firefox 2.0 package, I’ll prefer the second one.
5. devhen - January 3, 2007
After looking further into this, I’ve found that Remi Collet, maintainer of the remi repo, is an “official” member of the Fedora development community. You’ll see his name and a link to his web site (and repo) at http://www.fedoraproject.org/people
So, rest assured that Remi’s repo is not filled with “compromised software.” Instead it is a reliable, effective repo setup simply to provide Firefox 2.0 to Fedora Core 6 users.
Other options for obtaining Firefox 2.0 would be to wait for Fedora Core 7, download and unpack the .tar file from Mozilla.com or use the development version as Will described above.
Cheers,
Devin
6. Trossachs - January 7, 2007
Have checked out the instructions below and have issued the command: “yum -y -t –enable=development update firefox” which did not work and then “yum -y -t update firefox” which gave me the following error:
[root@q6 firefox]# yum -y -t update firefox
Loading “installonlyn” plugin
Setting up Update Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.7 MB 00:06
################################################## 5355/5355
Could not find update match for firefox
No Packages marked for Update/Obsoletion
I last use Fedora back aty version 2 and have been using Gentoo for my servers since then so am a little bit rusty. My yum version if v3.0.1.
Can anyone advise how I can update to the latest version of Firefox?
7. Bard - January 9, 2007
the acutal command is
yum -y -t --enable=development update firefox
try that, the dashes were just a little fubared
–Bard
8. devhen - January 9, 2007
Bard,
Wordpress was turning the double dash into a single dash. I’ve edited the original and your comment, so the commands should work now. Thanks for pointing that out.
Devin
9. Emil - January 17, 2007
Error getting repository data for development, repository not found
10. Jessie V - January 27, 2007
—> Package gnutls-devel.i386 0:1.4.1-2 set to be updated
—> Package gnome-pilot.i386 0:2.0.15-3.fc7 set to be updated
–> Running transaction check
–> Processing Dependency: python-abi = 2.4 for package: smart
–> Processing Dependency: python(abi) = 2.4 for package: smart
–> Processing Dependency: python(abi) = 2.4 for package: mirage
–> Processing Dependency: libcurl.so.3 for package: bzflag
–> Finished Dependency Resolution
Error: Missing Dependency: python(abi) = 2.4 is needed by package smart
Error: Missing Dependency: python-abi = 2.4 is needed by package smart
Error: Missing Dependency: python(abi) = 2.4 is needed by package mirage
Error: Missing Dependency: libcurl.so.3 is needed by package bzflag
it has an error on this part.
11. devhen - January 28, 2007
Jessie,
Are those deps for firefox or a different program that is being updated?
yum deplist firefox
would tell you all of the dependencies for the firefox package.
yum provides libcurl.so.3
would tell you what package(s) include the file libcurl.so.3.
Hope this helps,
Devin
12. Nemo - February 4, 2007
http://www.city-fan.org/ftp/contrib/sysutils/Mirroring/
They have a number of different vesions of libcurl. I’m running FC7-T1 and needed libcurl.so.3, and I found it there.
13. Remi - February 7, 2007
Hello,
@Will Siddall, can you tell me where you read that my repository is “an attack site” ?
Of course not, but you can look at my SRPM if you want. Most of them are only official one with some patch to work with older Fedora version.
Using the devel (F7) version under FC6 could work after the FC6 release (devel was near identical) but with time, and new version in rawhide, this is not sure.
Regards
14. dmon - March 11, 2007
Ok… Can you guys help a rockie here.. please!
I am using Fedora core6, out of the box (no updates).
I fellowed Remi’s instructions. Here’s what I’ve done:
> Downloaded firefox-2.0.0.2-1.fc6.remi.i386.rpm into root
> Executed the following command:
wget http://remi.collet.free.fr/rpms/fc6.i386/remi-release-1-2.fc6.remi.noarch.rpm rpm -Uvh remi-release-1-2.fc6.remi.noarch.rpm
> Executed the following commands:
su -
cd /etc/yum.repos.d
wget http://remi.collet.free.fr/rpms/remi.repo
> Imported the PGP key and made sure that it is listed
> Executed the following command:
yum –enablerepo=remi install firefox-2.0.0.2
aargh.. and here is what I get:
[root@localhost ~]# yum –enablerepo=remi install firefox-2.0.0.2
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.4 MB 00:27
################################################## 4400/4400
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package firefox.i386 0:2.0.0.2-1.fc6.remi set to be updated
–> Running transaction check
–> Processing Dependency: gecko-libs = 1.8.0.10 for package: epiphany
–> Processing Dependency: firefox = 1.5.0.10 for package: epiphany-extensions
–> Processing Dependency: gecko-libs = 1.8.0.7 for package: yelp
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Package epiphany.i386 0:2.16.3-2.fc6.remi set to be updated
–> Running transaction check
–> Processing Dependency: firefox = 1.5.0.10 for package: epiphany-extensions
–> Processing Dependency: gecko-libs = 1.8.0.7 for package: yelp
–> Finished Dependency Resolution
Error: Missing Dependency: firefox = 1.5.0.10 is needed by package epiphany-extensions
I know this is no forum and devhen sorry for posting such a big comment, but I will be more than glad if someone can tell me what to do here.
15. devhen - March 11, 2007
dmon,
I’m happy to help. First off, you don’t need to download firefox-2.0.0.2-1.fc6.remi.i386.rpm because yum will download it for you during install. Secondly, doing both of the following is overkill. You only need to do one or the other:
> Executed the following command:
wget http://remi.collet.free.fr/rpms/fc6.i386/remi-release-1-2.fc6.remi.noarch.rpm rpm -Uvh remi-release-1-2.fc6.remi.noarch.rpm
> Executed the following commands:
su -
cd /etc/yum.repos.d
wget http://remi.collet.free.fr/rpms/remi.repo
To be more specific, rpm -Uvh remi-release-1-2.fc6.remi.noarch.rpm automatically installs remi.repo to /etc/yum.repos.d/ so you don’t have to do it again.
Lastly, you should do ‘yum update firefox’ instead of ‘yum install firefox-2.0.0.2.’ Here --enablerepo=remi is not necessary unless you have enabled=0 in your /etc/yum.repos.d/remi.repo file. It is set to enabled=1 by default.
Cheers, and welcome to Fedora! :)
Devin
16. Froi - March 14, 2007
here is the right command:
su
yum -y --enablerepo=development update firefox
“ion, like a lion in zion”
17. pham si manh - vietnamese - March 16, 2007
i have the package source firefox-2.0.0.2.tar.gz
i howto install???
you can help me
18. Froi - March 18, 2007
pham si manh,
just follow my instructions and you will have no problem installing firefox 2…
“ion, like a lion in zion”
19. ThePowerTool - March 23, 2007
OK, so I thought I was on a roll….
I tried the rpm but it didn’t work for some reason so I did the wget, first:
wget http://remi.collet.free.fr/…. ….noarch
then I ran:
rpm -Uvh ./remi-release-1-1.fc6.remi.noarch.rpm
warning: ./remi-release-1-2.fc6.remi.noarch.rpm: Header V3 DSA signature: NOKEY, key ID ….
Preparing… ################## 100%
1: remi-release ############### 100%
That seemed to look fine.
Next I peeked in /etc/yum.repos.d/remi.repo and notice that enabled was set to 0 and not the default 1 as mentioned, above. I changed it to 1.
yum update firefox
Loading “installonlyn” plugin
Setting up Update Process
Setting up repositories
Reading Repository metadata in from local files
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package firefox.x86_64 0:2.0.0.3-1.fc6.remi set to be updated
.
.
.
Error: Unable to satisfy dependencies
Error: Package devhelp needs libxpcom.so, this is not available
Error: Package devhelp needs gecko-libs = 1.8.0.10, this is not available
Error: Package devhelp needs libgtkembedmoz.so, this is not available.
This is on a *fresh* install of FC6 from the DVD. Any suggestions? I’m not really familiar with yum, yet. I notice even a “yum update” ends with this set of errors. Any assistance sincerely appreciated!! :-)
20. devhen - March 23, 2007
ThePowerTool:
That is strange. I wonder if it has something to do with the fact that you are on x86_64. Try googling for firefox 32bit on fedora x86_64.
21. ThePowerTool - March 23, 2007
devhan,
Thank you for your fast post. After much research I found a solution to the problem. It is a work-around and the real solution might be for remi to post the gecko-libs (assuming it wouldn’t create additional deps problems.
Anyone running into the problem I have posted above can simply:
yum remove firefox
yum install firefox
gecko-libs is something remi has included in some of the firefox rpms. If, for some reason, you do not have the gecko-libs, it seems your only solution is to completely remove and re-install FireFox. Luckily, for me, a painless process.
I hope this helps someone else that runs into the challenges I faced and posted here.
Good Luck!
22. ThePowerTool - March 23, 2007
devhen
Very sorry for the typ-o in your name, above.
Also, I checked the versions posted by remi and the 64-bit is the same file as the 32 bit–I downloaded both, both had the same name. I then did a diff and found them to be identical.
ThePowerTool
23. Olivier - March 25, 2007
Hi Remi
I think Will did not read those false warnings about your repository himself, but here :
http://www.philoking.com/2006/11/15/how-to-update-to-firefox-20-on-fedora-core-6-the-easy-way/
instead.
I really wonder why this guy (”philoking”) has posted such a misleading warning… It’s very unfair in regard of the work you do for the community.
24. homer - March 25, 2007
hi,
i’m working with a fresh installation of FC6 on my old thinkpad t22. i do the following:
[root@localhost ~]# yum –enablerepo=development update firefox
Loading “installonlyn” plugin
and the terminal just hangs indefinitely (i’ve let it go for ~25min at this point). has anyone else encountered this problem?
25. Jason Burns - March 25, 2007
I apologize for any innacurate statements I made about remi’s work, I have updated my article and send my apologies….
JB
http://www.philoking.com/2006/11/15/how-to-update-to-firefox-20-on-fedora-core-6-the-easy-way/
26. Antonie Potgieter - April 2, 2007
Thanks for the great post!
27. Bob Maple - April 10, 2007
I do not understand, is the remi repo supposed to show up in the yum repo directory after running the rpm? I have i86_64 and I need to install thunderbird because the email on this machine doesn’t filter spam very well but first there is a mess with libraries and then people say to run yum this and yum that and I just want the program to install and work. I look everywhree and my eyes start to bleed. bottome line is how do I make the right repo so stuff will start working without going insane?
28. rituraj - April 20, 2007
hii devhen….
I got this error while trying to install wth tar package
everything went fine wth ur instructions but finally when i issued command
[root@localhost local]# firefox
/usr/local/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@localhost local]#
above error returned…any soln to it
29. joe - April 21, 2007
Thanks…for the great help…i installed the firefox2 from option 2 in one go…
Thanks a lot
30. devhen - April 24, 2007
@ rituraj :
The package you need is compat-libstdc++-33. Do this:
yum install compat-libstdc++-33
The easiest way to find which package you need for a particular file is like this:
yum provides libstdc++.so.5
Cheers,
Devin
31. Justin - April 29, 2007
Thanks for this post, I am not very Linux/Fedora literate yet and it has been very helpful to update my Firefox. I want to install Thunderbird 2, but the yum action only installs 1.5. Will your instructions here about installing Firefox from the tar.gz file work for Thunderbird as well???
32. devhen - May 1, 2007
@ Justin:
Yes, those instructions will work. Just use the Thunderbird tar.gz and replace any instance of ‘firefox’ in the instructions with ‘thunderbird’. In the end you should have thunderbird installed to /usr/local/thunderbird and issuing the command ‘thunderbird’ will launch Thunderbird 2.0. The command ‘thunderbird15′ will launch Thunderbird 1.5.
Cheers,
Devin
33. What is Firefox? - May 9, 2007
For those who do download the rpm, don’t install it via the rpm command, but rather via yum:
# yum localinstall firefox*.rpm
This way yum will be aware of what is installed on your system.
34. Serendippo Italicus - May 20, 2007
Hi, Devin - great post for us Fedorians…
I run into it while googling for a way out of such a puzzle.
I chose “Option 3″, but for some reason it has not worked for me. I carefully followed your instructions, but when I launched Fx, it started checking “Compatibility Updates” (so version 2 should be there), then nothing more — I had to close it by means of “top” command (k PID # and so on).
Disappointedly I have tried to resort to the former situation by simply renaming
# /usr/bin/firefox15 /usr/bin/firefox
it asked me if it was ok to overwrite, I said yes, it duly executed, so I expected Fx 1.5 was restored, but Firefox still cannot start (BTW, I also rebooted a couple of times).
Now my question is: is there any chance to have Fx 1.5 run again, without performing the somewhat ‘radical’
# yum remove firefox
# yum install firefox
(and before engaging in the other 2 options you have kindly shared with the rest of the worlds) ???
Thanks a lot in advance, and best wishes!
35. baLaJi - July 18, 2007
hi all,
i’m using fedora core 6. i had the same problem of not being able to deploy and use firefox 2.0.0.4. all i did was use the yum install method to install libstdc++ for .33 and .so.5. then i issued yum install firefox. now i can run both firefox 1.5 and 2 (but not simultaneusly). my problem, rather puzzling situation is how can these two coexist? won’t the updated libraries for 2 be incompatible for 1.5? anyone answer?
thanx,
baLaJi
36. Balaji - July 21, 2007
hello everyone,
this forum’s been dormant like cyberciti for a while i guess. let me dehibernate (pardon my pun) it.
i’ve two partitions in my sata one booting xp and the other fedora 6. i wanted to access my xp data booting into linux. so as root, i did the required ‘mount’ (mount /dev/sda1 /mnt/c -t ntfs-3g -r -o umask=0222) in /etc/fstab. i’ve a user account which i log into when i’m using linux normally. now my problem is i’m not able to access the xp partition thru this. with root it’s fine but i can’t be logging in as root.
early help would be appreciated.
thanx in advance,
baLaJi
Tuesday, August 7, 2007
Thursday, July 26, 2007
ShellSort
************************************************
c
The Shell Sort (Easy Trace Version)
Azhar Tazbirul 2007.07.26
************************************************
#include
main()
{
int data[]={58,12,39,90,49,26,68,47,15,39};
int i,j,gap,current,N,counter=0,show;
N =10;
for(i=0; i<10; i++) printf("%d ",data[i]);
printf("\n");
for(gap=N/2 ; gap >0 ; gap=gap/2){
for(i=gap;i current=data[i];
for(j=i;j>=gap && data[j-gap]>current;j=j-gap){
data[j]=data[j-gap];
for(show=0; show<10; show++) printf("%d ",data[show]);
printf("current=%d gap= %d \n",current,gap);
counter++;
}
data[j]=current;
}
}
printf("counter=%d\n",counter);
for(show=0; show<10;show++) printf("%d ",data[show]);
}
c
The Shell Sort (Easy Trace Version)
Azhar Tazbirul 2007.07.26
************************************************
#include
main()
{
int data[]={58,12,39,90,49,26,68,47,15,39};
int i,j,gap,current,N,counter=0,show;
N =10;
for(i=0; i<10; i++) printf("%d ",data[i]);
printf("\n");
for(gap=N/2 ; gap >0 ; gap=gap/2){
for(i=gap;i
for(j=i;j>=gap && data[j-gap]>current;j=j-gap){
data[j]=data[j-gap];
for(show=0; show<10; show++) printf("%d ",data[show]);
printf("current=%d gap= %d \n",current,gap);
counter++;
}
data[j]=current;
}
}
printf("counter=%d\n",counter);
for(show=0; show<10;show++) printf("%d ",data[show]);
}
Wednesday, June 27, 2007
Friday, May 4, 2007
TIPS2
botony intitle: "directory of" site:edu
cars intitle:"encyclopedia of" -site:amazon.com -inurl:book -inurl:products This query will exclude amazon.com and other online stores home page which contains [product] or [book]
if want to search some book +site:amazon.com is the good idea .
"what's new" "what's cool" directory
Century View
http://www.findforward.com/?q=chernobyl&t=century
Good google Form for search
http://www.faganfinder.com/engines/google.shtml
Similar words search .
~food ~fact
~sexy -site:amazon -site:amazon.co.jp
cars intitle:"encyclopedia of" -site:amazon.com -inurl:book -inurl:products This query will exclude amazon.com and other online stores home page which contains [product] or [book]
if want to search some book +site:amazon.com is the good idea .
"what's new" "what's cool" directory
Century View
http://www.findforward.com/?q=chernobyl&t=century
Good google Form for search
http://www.faganfinder.com/engines/google.shtml
Similar words search .
~food ~fact
~sexy -site:amazon -site:amazon.co.jp
Friday, March 16, 2007
FEDORA CORE5 2 DESKTOP
This is diary about desktop management .
1. i want to start gnome . so i made a new file .xinitrc at homedirectory of root and added followings
mine@/root: cat .xinitrc
#!/bin/csh
#start some nice programs
#twm & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
#xclock -geometry 50x50-1+1 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
xterm -geometry 80x50+494+51 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
xterm -geometry 80x20+494-0 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
#exec xterm -geometry 80x66+0+0 -name login \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
exec gnome-session # \uffff\uffff\uffff\uffff
#exec icewm-session
#exec vino-session
mine@/root:
2.http://www.anarg.jp/~s-doi/freebsd.html
ところで, xdm や kdm などのディスプレイマネージャを使う場合には, login 後に実行されるファイルは .xinitrc ではなく .xsession です.
そこで, .xsession は .xinitrc を読み込むような記述にします. [.xsession の例]
3.Error message could not look up for internet address for hostname.domainname(in my case belagelo.com ) .....
then i added the following line to /etc/hosts
127.0.0.1 belagelo.com
it stopped the message to come again .
1. i want to start gnome . so i made a new file .xinitrc at homedirectory of root and added followings
mine@/root: cat .xinitrc
#!/bin/csh
#start some nice programs
#twm & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
#xclock -geometry 50x50-1+1 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
xterm -geometry 80x50+494+51 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
xterm -geometry 80x20+494-0 & \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
#exec xterm -geometry 80x66+0+0 -name login \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff
exec gnome-session # \uffff\uffff\uffff\uffff
#exec icewm-session
#exec vino-session
mine@/root:
2.http://www.anarg.jp/~s-doi/freebsd.html
ところで, xdm や kdm などのディスプレイマネージャを使う場合には, login 後に実行されるファイルは .xinitrc ではなく .xsession です.
そこで, .xsession は .xinitrc を読み込むような記述にします. [.xsession の例]
3.Error message could not look up for internet address for hostname.domainname(in my case belagelo.com ) .....
then i added the following line to /etc/hosts
127.0.0.1 belagelo.com
it stopped the message to come again .
FEDORA CORE5 1 .cshrc
n root/.cshrc file added the followings
set prompt = '[%Broot@%m%b]%B%~%b%# ' #<=書換え
2. i want to use ls command in very nice way with colors and folders should be shown indiffent way.
so i install gnuls-4.1 by sysinstall then i add in my .cshrc as follows .
alias ls 'gnuls -Fha --color=auto --show-control-char'
from url:http://www.anarg.jp/~s-doi/freebsd.html
まずは root の設定です。自分が一般ユーザかルートであるか、
現在どのディレクトリにいるのかをはっきり表示させるため、/root/.cshrc を編集します。
[root@freebsd]~# |
set prompt = '[%Broot@%m%b]%B%~%b%# ' #<=書換え
2. i want to use ls command in very nice way with colors and folders should be shown indiffent way.
so i install gnuls-4.1 by sysinstall then i add in my .cshrc as follows .
alias ls 'gnuls -Fha --color=auto --show-control-char'
from url:http://www.anarg.jp/~s-doi/freebsd.html
FREEBSD STORY2 KERNEL PLAY
# cd /usr/src/sys/i386/conf
# mkdir /root/kernels
I made a folder as MYGENERIC-001
# cp GENERIC /root/kernels/MYKERNEL
i made a copy of kernel to kernel.good
# ln -s /root/kernels/MYKERNEL(i did not use this command )
Procedure 1. Building a Kernel the “Traditional” Way
-
Run config(8) to generate the kernel source code.
# /usr/sbin/config MYKERNEL
- I do the same as upper command as # /usr/sbin/config MYGENERIC
-
Change into the build directory. config(8) will print the name of this directory after being run as above.
# cd ../compile/MYKERNEL
-
i did the same above .
-
Compile the kernel.
-
without changing the directory i do the followings
# make depend
# make -
Install the new kernel.
# make install
- # Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28 19:22:41 jhb Exp $
machine i386
#cpu I486_CPU
cpu I586_CPU
#cpu I686_CPU
ident MYGENERIC-001
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
#options SCHED_ULE # ULE scheduler
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
#options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
#options MD_ROOT # MD is a potential root device
#options NFSCLIENT # Network Filesystem Client
#options NFSSERVER # Network Filesystem Server
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
# Bus support.
#device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device ispfw # Firmware for QLogic HBAs- normally a module
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
device trm # Tekram DC395U/UW/F DC315U adapters
#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt # Buslogic/Mylex MultiMaster SCSI adapters
#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50
# SCSI peripherals
#device scbus # SCSI bus (required for SCSI)
#device ch # SCSI media changers
#device da # Direct Access (disks)
#device sa # Sequential Access (tape etc)
#device cd # CD
#device pass # Passthrough device (direct SCSI access)
#device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
#device amr # AMI MegaRAID
#device arcmsr # Areca SATA II RAID
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device ciss # Compaq Smart RAID 5*
#device dpt # DPT Smartcache III, IV - See NOTES for options
#device hptmv # Highpoint RocketRAID 182x
#device iir # Intel Integrated RAID
#device ips # IBM (Adaptec) ServeRAID
#device mly # Mylex AcceleRAID/eXtremeRAID
#device twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
#device aac # Adaptec FSA RAID
#device aacp # SCSI passthrough for aac (requires CAM)
#device ida # Compaq Smart RAID
#device mlx # Mylex DAC960 family
#device pst # Promise Supertrak SX6000
#device twe # 3ware ATA RAID
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
#device cbb # cardbus (yenta) bridge
#device pccard # PC Card (16-bit) bus
#device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
#device de # DEC/Intel DC21x4x (``Tulip'')
#device em # Intel PRO/1000 adapter Gigabit Ethernet Card
#device ixgb # Intel PRO/10GbE Ethernet Card
#device txp # 3Com 3cR990 (``Typhoon'')
#device vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
#device bfe # Broadcom BCM440x 10/100 Ethernet
#device bge # Broadcom BCM570xx Gigabit Ethernet
#device dc # DEC/Intel 21143 and various workalikes
#device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device lge # Level 1 LXT1001 gigabit Ethernet
#device nge # NatSemi DP83820 gigabit Ethernet
#device nve # nVidia nForce MCP on-board Ethernet Networking
#device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc')
device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
#device sf # Adaptec AIC-6915 (``Starfire'')
#device sis # Silicon Integrated Systems SiS 900/SiS 7016
#device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
#device ste # Sundance ST201 (D-Link DFE-550TX)
#device ti # Alteon Networks Tigon I/II gigabit Ethernet
#device tl # Texas Instruments ThunderLAN
#device tx # SMC EtherPower II (83c170 ``EPIC'')
#device vge # VIA VT612x gigabit Ethernet
#device vr # VIA Rhine, Rhine II
#device wb # Winbond W89C840F
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs. pccard NICs included.
device cs # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device ex # Intel EtherExpress Pro/10 and Pro/10+
#device ep # Etherlink III based cards
#device fe # Fujitsu MB8696x based cards
#device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device lnc # NE2100, NE32-VL Lance Ethernet cards
#device sn # SMC's 9000 series of Ethernet chips
#device xe # Xircom pccard Ethernet
# ISA devices that use the old ISA shims
#device le
# Wireless NIC cards
#device wlan # 802.11 support
#device an # Aironet 4500/4800 802.11 wireless NICs.
#device awi # BayStack 660 and others
#device ral # Ralink Technology RT2500 wireless NICs.
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
#device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
#device uhci # UHCI PCI->USB interface
#device ohci # OHCI PCI->USB interface
#device ehci # EHCI PCI->USB interface (USB 2.0)
#device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
#device ugen # Generic
#device uhid # "Human Interface Devices"
#device ukbd # Keyboard
#device ulpt # Printer
#device umass # Disks/Mass storage - Requires scbus and da
#device ums # Mouse
#device ural # Ralink Technology RT2500USB wireless NICs
#device urio # Diamond Rio 500 MP3 player
#device uscanner # Scanners
# USB Ethernet, requires miibus
#device aue # ADMtek USB Ethernet
#device axe # ASIX Electronics USB Ethernet
#device cdce # Generic USB over Ethernet
#device cue # CATC USB Ethernet
#device kue # Kawasaki LSI USB Ethernet
#device rue # RealTek RTL8150 USB Ethernet
# FireWire support
#device firewire # FireWire bus code
#device sbp # SCSI over FireWire (Requires scbus and da)
#device fwe # Ethernet over FireWire (non-standard!)
Debugging
1.
../../../dev/trm/trm.c:3729: undefined reference to `cam_sim_free'
*** Error code 1
i do the following .
#device trm # Tekram DC395U/UW/F DC315U adapters
FREEBSD STORY-1-TERMINAL STORY
in root/.cshrc file added the followings
set prompt = '[%Broot@%m%b]%B%~%b%# ' #<=書換え
2. i want to use ls command in very nice way with colors and folders should be shown indiffent way.
so i install gnuls-4.1 by sysinstall then i add in my .cshrc as follows .
alias ls 'gnuls -Fha --color=auto --show-control-char'
from url:http://www.anarg.jp/~s-doi/freebsd.html
まずは root の設定です。自分が一般ユーザかルートであるか、
現在どのディレクトリにいるのかをはっきり表示させるため、/root/.cshrc を編集します。
[root@freebsd]~# |
set prompt = '[%Broot@%m%b]%B%~%b%# ' #<=書換え
2. i want to use ls command in very nice way with colors and folders should be shown indiffent way.
so i install gnuls-4.1 by sysinstall then i add in my .cshrc as follows .
alias ls 'gnuls -Fha --color=auto --show-control-char'
from url:http://www.anarg.jp/~s-doi/freebsd.html
Wednesday, March 7, 2007
Google Tips
- Phrase Search : Just Double qoute your phrase like "let there be lights"
- Minus Search : What should you do whaen you dont want a word to come in your search . Just put a minus before it . Compare this two search "let it be "and "let it be " -youtube .
- Boolean Operation: You can use boolean operation for search like AND,OR .
- Search with synonyms : Put a "~" before the word . ~money You will get result for money , currency , financial , cash .
- Use Numbers : In google search video camera 3..5 megapixel means you want to search video camera that have megapixel between 3 to 5 . You can also use it for price , size etc . If you want to search price in dolar you have to put $ mark . Suppose you want to search for a laptop thats price is less then 800 dolar . laptop ..$800 is the keyword for it .
- Use Wildcard * : let it be * will serach for you let it be known/said/seen keeping the blue portion constant .
1. Every web page has a title . You can search web page with their title with google . You need to use keyword "intitle:" . the format is like "intile:SEARCHWORD".
intitle:java
02.intext:
03.inanchor:
04.site:
05.cache:
06.link:
07.daterange:
08.filetype:
09.related:
10.info:
11.phonebook:
12.define:
Thursday, February 22, 2007
バングラデシュのファッション.ショー!!!!
私は2002年の4月に文化外国語専門学校に入学しました。その年の文化際にバングラデシュの衣装についてファッション.ショーをやろうと思いました。でもそこですごい問題が発生しました。学校ではバングラデシュの学生はたった二人の男性、女性がいないということです。女性はともかく女性の服も無かった。そこで私はあきらめかけましたが友達のラジブーは絶対やろうといっていました。そこで二人で力を合わせてファッション.ショーの準備にかかりました。国からまたは知り合いのバングラデシュの女子から服を集めました。同じ学校の台湾、中国とベトナムの後輩たちを頼んでファッション.ショーをできるぐらい人数をそろいました。今回は文化際でやったファッション.ショーのいくつかの写真を紹介します。

一番前に見えるのがラジブー(バングラデシュ人男性)とホアーさん(ベトナム人女性)です。

恥ずかしいながらひだり写真の写っているのが僕(バングラデシュ人男性)と台湾の女性の方です(名前忘れてしまった)。

ステージの上で。。。。

バングラデシュのファッション.ショーに参加した方々の集合写真です。

一番前に見えるのがラジブー(バングラデシュ人男性)とホアーさん(ベトナム人女性)です。

恥ずかしいながらひだり写真の写っているのが僕(バングラデシュ人男性)と台湾の女性の方です(名前忘れてしまった)。

ステージの上で。。。。

バングラデシュのファッション.ショーに参加した方々の集合写真です。
Subscribe to:
Posts (Atom)