Install the Flash plug-in for Firefox1.5 in CentOS5.1

Source: Internet
Author: User
Install the Flash plug-in-Linux Enterprise Application-Linux server application for Firefox1.5 in CentOS5.1. For more information, see. Author: Old Mai from: http://blog.sina.com.cn/maoyibin

Recently, a new version of Discuz requires a testing environment and cannot occupy existing Server resources. Therefore, another version can be created ......

Use your current computer. The configuration is very high. The configuration is as follows:
CPU: Intel Core 2 Duo E4500/2.2G/2 M Cache)
MotherBoard: Gigabyte EP35-DS4
Memory: Aenoen DDR2 1G x 4/DDR2 800
Graphic: Ati 3850/512 M
NIC: Intel 82559

The first is the selection of the Linux version. This is a long-spoken question. It is true that any version of Linux is the same, but it is only a combination of the same kernel and different software packages, each release version is slightly different, especially for enterprise-level applications. Well, let's talk less about it. The first choice is Redhat's Enterprise version. The latest one is 5.2 pulled from the donkey. In fact, the most important reason for choosing Redhat's release version is that there are many users, whether it's books or forums, the most informative Redhat series will be available. After the installation, the problem will arise ......

Since Redhat releases a dedicated Enterprise Edition Redhat Enterprise Linux series, it is no longer intended for general non-Enterprise users. During installation, you must enter an installation Code officially issued by Redhat, this restricts non-paid customers from using official technical support and package upgrades. Although the installation code can be found on the Internet, the new package cannot be upgraded through yum, redhat is annoying. the Realtek 8111B Nic system on my motherboard does not have a driver and cannot be identified. It is because yum cannot be used and the network driver cannot be installed, don't laugh. I am still not good at the level, and there are a lot of friends who cannot solve the problem of installing the Realtek 81xx Nic on the Internet. Besides, I will have a day to come! (Awesome ......). Later, I used the CentOS 5 source using some of the Daxia's methods. However, after the configuration, I found that basically all CentOS 5 sources are not in the RHEL 5.2 version, and the NIC Driver still cannot solve the problem. Needless to say, in case the RHEL 5.2 software needs to be updated or changed, there will be no expectation ......

OK, change it to Fedora 9 x86_64. First, E4500 supports EM64T technology. After x86_64 is installed, the 4G memory can be correctly identified. In addition, the Fedora series has no restrictions on installation and use, you can use yum to manage software at will. However, another crazy thunder is waiting for me to trigger it ......

There is no problem with installation. Anyone who is used to the Redhat installer knows that the Redhat system installer has not changed since the last few generations of updates, including RHEL and Fedora, I even recognized my Realtek 8111B Nic. OK. It looks very good. continue, because it is used for testing the new environment, Xwindows is used, basically, all the server software except MySQL, PHP, FTP, and Apache are installed. I want to install these packages manually ......

After the system is installed, start and set the DNS address in/etc/resolv. conf:
# Vi/etc/resolv. conf
Nameserver 222.172.200.68
Nameserver 61.166.150.123
The two addresses are located in Kunming region. The DNS address of Kunming Telecom has been unstable. The server may be caused and the address has been changed several times. Last month, China Telecom changed the DNS address, many people suddenly fail to access the Internet ......
Then go to/etc/init. d/network restart

Open Firefox. It's already 3.0 beta5. Fedora is actually quite "new ". Why? In offline status? The network settings are not completed. The IP address, mask, DNS, and gateway are all set. No problem ......, The result shows that "offline work" in Firefox's "file" menu is checked, fainted, canceled, and finally accessed. After the system is restarted, "offline" again !?

I checked it online. It seems someone has encountered this problem on Fedora 9. Is it a problem with the network manager? Let's take a look at the upgrade:
# Yum list system-config-network
Install a new package:
# Yum upgrade system-config-network
After the installation is complete, the fault persists and the fault is again thundered !!
After a day or two, I failed to solve this strange problem on Firefox 3 beta5. I just gave up ......

Later, I tried Ubuntu 8.04 Server. As a result, I am not familiar with apt and the Ubuntu Server version does not contain Xwindows. I cannot do anything I need to do with a browser, similarly, we only have to give up, and our self-confidence is almost lost ......

Looking back at CentOS, I still have some little experience using CentOS. The running server is CentOS 4.5, which corresponds to Redhat Enterprise Linux AS 4 update 5. This time I downloaded CentOS 5.1. According to the naming convention of CentOS, it corresponds to update 1 of Redhat Enterprise 5.0, that is, the first update, similar to SP1 of Windows XP. It may be because the Redhat Enterprise Edition 5 update 2 was just released, and CentOS has not had time to use its source code to compile its own version 5.2, so this corresponding version is not yet available.

No matter what it is, install it first. It is no accident that we still cannot support Realtek 81xx by default. Oh, it's not that I can do this kind of Tai Chi, Xuan, and Qing Dao, so I can do it only when I got to level 2, and then solve the problem separately. The only thing you need to do is find the idle Intel 82559. After installing it, the system recognizes it. OK, I can use it, and there is no strange problem with "going offline, however, Firefox in CentOS 5.1 is only a relatively old version of 1.5 ......

Okay. Go to Google to check the information and press "no table ......

After a few days, I found that the Flash on the webpage could not be displayed on Firefox 1.5. The method of automatically installing the plug-in provided by the browser could not be solved, but could not be installed. To solve this problem, enter the following in the address bar of Firefox:
About: plugins
Display:
No plug-ins
Sure enough, Firefox did not install the Flash plug-in after it prompts the operation.

I found an article on Google:
Http://www.linuxdiyf.com/viewarticle.php? Id = 94285
Start the operation by following the instructions.

Download with wget:
1.install_flash_player_9_linux.tar.gz
2. nspluginwrapper-0.9.91.5-1.src.rpm

Continue:
# Rpm-ivh nspluginwrapper-0.9.91.5-1.src.rpm
# Cd/usr/src/redhat/SPECS/
# Rpmbuild-bb nspluginwrapper. spec
If you are prompted that the rpmbuild function is not available, it means that the package is not installed in your system. I am like this, it doesn't matter, it's very simple:
# Yum install rpm-build

But let's go back and execute again:
# Rpmbuild-bb nspluginwrapper. spec error.
The report says:
RPM build errors:
Bad exit status from/var/tmp/rpm-tmp.xxxxxx

Simply go to its website and check if there are any ready-made rpm packages. it is not convenient to generate the source code for rpm. As a result, there are ready-made rpm packages on their Web site. install them after the installation:
# Rpm-ivh nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm
# Rpm-ihv nspluginwrapper-0.9.91.5-1.x86_64.rpm
Remember to install the i386 package first ~

Then unlock the flash plug-in:
# Tar-zxvf install_flash_player_9_linux.tar.gz

Then complete the following operations in sequence. there is basically no problem, at least I have not encountered any more:
# Ln-s/usr/lib/nspluginwrapper/noarch/npviewer/usr/bin/npviewer
# Nspluginwrapper-v-I ~ /Install_flash_player_9_linux/libflashplayer. so

# Cd/usr/lib64/firefox */plugins
# Cp ~ /Install_flash_player_9_linux/libflashplayer. so.
# Nspluginwrapper-I/usr/lib64/firefox */plugins/libflashplayer. so

OK. Finally, check:
# Nspluginwrapper-l
/Usr/lib64/mozilla/plugins/npwrapper. libflashplayer. so
Original plugin:/usr/lib64/mozilla/plugins/libflashplayer. so
Wrapper version string: 0.9.91.5

Go to Firefox to view the information:
About: plugins
Plug-in installed! Open a page with Flash, you can see ~

Note: The address for downloading the two rpm packages required by nspluginwrapper:
Http://gwenole.beauchesne.info/projects/nspluginwrapper

Let's wait for a paragraph to tell you what to do later and let it go!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.