Centos6.5firefox upgraded flashplayer to install adblockplus ad shielding plug-in

Source: Internet
Author: User

Centos6.5firefox upgraded flashplayer to install adblockplus ad shielding plug-in

Firefox upgrade

1. to the official website of https://www.mozilla.org/en-US/firefox/new? From=getfirefoxdownload the latest firefox, I download firefox-33.1.1.tar.bz2

2. Delete the original Firefox browser

1 #yum erase firefox

You can also delete it in rpm format.

3. decompress the package to the directory you want to install, for example, "/usr/local". After decompression, a firefox folder is generated.

1 #tar -jxvf firefox-33.1.1.tar.bz2 -C /usr/local/

After decompression, we will see an executable firefox file in the/usr/local/firefox directory, and run cd in this directory.

1 #./firefox

You can run firefox.

4. the above can be said that the installation is complete, but when we enter firefox directly under the terminal, We will prompt that the command cannot be found. You must enter/usr/local/firefox to start firefox, so here we will give it a link.

1 #ln -s /usr/local/firefox/firefox /usr/local/bin/ /usr/local/sbin/

In this way, we will start firefox when entering firefox on the terminal.

5. Add a desktop shortcut so that you can click and use it on the desktop. For more information, see how to create a shortcut in CentOS6.5 install eclipse.

 

Adobe flash player Installation

Bytes

1.download install_flash_player_11_linux.x86_64.tar.gz

2. Extract

1 tar -zxvf install_flash_player_11_linux.x86_64.tar.gz

After decompression, three files (Everything is file.w.libflashplayer.so,readme.txt, usr (directory) are generated)

3. Copy libflashplayer. so to the plugins directory of Firefox.

1 cp libflashplayer.so /usr/lib/mozilla/plugins/

4. Copy all documents under the usr directory to the/usr directory of the system.

1 cp -r ./usr/* /usr/

5. Restart firefox.

 

Adblock plus Plug-in Installation

It was easy to install the plug-in. However, an ocsp has recently responded to an error that contains the expired information, so that the plug-in cannot be directly installed. It is said that GFW is disabled again, the certificate expiration information is not very clear. You can refer to Firefox to solve the problem of ocsp responding to containing expiration information.

Based on the content of the above post, we can add related entries to the hosts file.

1 vi /etc/hosts

Insert the following entries into the file:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 #mozilla 117.18.232.191 addons.cdn.mozilla.net 117.18.232.191 mozorg.cdn.mozilla.net 117.18.232.191 developer.cdn.mozilla.net 117.18.232.191 fhr.cdn.mozilla.net 117.18.232.191 support.cdn.mozilla.net 117.18.232.191 marketplace.cdn.mozilla.net 117.18.232.191 air.cdn.mozilla.net 117.18.232.191 activations.cdn.mozilla.net 117.18.232.191 cdn.mozilla.net 117.18.232.191 download-installer.cdn.mozilla.net 117.18.237.191 getpersonas-cdn.mozilla.net 117.18.232.191 snippets.cdn.mozilla.net 117.18.232.191 telemetry-experiment.cdn.mozilla.net 117.18.232.191 code.cdn.mozilla.net 117.18.232.191 videos.cdn.mozilla.net 117.18.232.191 glow.cdn.mozilla.net 117.18.237.29 ocsp.digicert.com 72.21.81.109 df6a.https.cdn.softlayer.net #mozilla

After restarting the browser, select plug-in and search for adblock plus for installation.

After completing the above steps, we can shield the advertisement. Next, let's talk about how to shield the advertisement of Youku and Tudou?

Open home/your username folder and find. macromedia folders are usually hidden. You need to press ctrl + h to display them (root users go to/root for search), and then enter Flash_Player/# export dobjects/(8-bit random name) if a folder named static.youku.com is displayed in the folder, delete the folder (ignore it if not) and create a file named static.youku.com to change the permission to read-only.

It would have been possible. If you installed firefox in English version, we will add the Filtering Rule Easylist China + Easylist and update it in adblock plus.

Okay ~ Restart the browser and activate Youku to see if it has taken effect ~

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.