Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Firefox and Chrome browsers are installed in RHEL6_X86-64

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

I believe many inexperienced people don't know what to do about the installation of Firefox and Chrome browsers in RHEL6_X86-64. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Since Firefox browsers are included in Red hat enterprise linux, but the version may not meet the application or development needs, you need to install them separately, and many complex methods can be found on the Internet to install these two browsers. However, this example only summarizes the most simple and effective methods. The installation methods of Firefox and Chrome are summarized as follows.

1. Environment description

Operating system

RHEL6.4-64bit

Firefox version

29.0beta8

Firefox Media name

Firefox_-29.0_b8.tar.bz2

Chrome version

22.0.1229.94

Chrome Media name

Google-chrome-stable_current_x86_64.rpm

Media storage path

/ tmp/softs/

2.Firefox installation

First create the directory of the installation media

[root@localhost softs] # mkdir-p / tmp/softs

Upload the media to / tmp/softs via xmanager or ftp, and then view it with the following command

[root@localhost softs] # pwd

/ tmp/softs

[root@localhost softs] # ll

-rw-r--r--. 1 root root 35617218 Apr 15 16:25 firefox_-29.0_b8.tar.bz2

Extract the tar package of Firefox

[root@localhost softs] # tar xjvf firefox_-29.0_b8.tar.bz

[root@localhost softs] # ll

Drwxr-xr-x. 8 root root 4096 Apr 15 08:12 firefox

-rw-r--r--. 1 root root 35617218 Apr 15 16:25 firefox_-29.0_b8.tar.bz2

As you can see, the Firefox directory is generated by decompression.

[root@localhost softs] # cd firefox

Open Xmanager-Passive in xmanager (xmanager method is not discussed)

[root@localhost softs] # export DISPLAY= native IP:0.0

[root@localhost softs] #. / firefox &

At this point, you can see that the Firefox browser is ready to open.

3.Chrome installation

The installation media for Chrome is in .rpm format, which is available for redhat-based Linux, if the media ending with .deb is available for Linux such as Debian-based Ubuntu.

First, upload the media to / tmp/softs again through xmanager or ftp, and then view it with the following command

[root@localhost softs] # pwd

/ tmp/softs

[root@localhost softs] # ll

Drwxr-xr-x. 8 root root 4096 4?. 15 08:12 firefox

-rw-r--r--. 1 root root 35617218 4?. 15 16:25 firefox_-29.0_b8.tar.bz2

-rw-r--r--. 1 root root 45386536 Apr 17 17:43 google-chrome-stable_current_x86_64.rpm

Give executable permissions to google-chrome-stable_current_x86_64.rpm

[root@localhost softs] # chmod 744 google-chrome-stable_current_x86_64.rpm

[root@localhost softs] # ll

Drwxr-xr-x. 8 root root 4096 Apr 15 08:12 firefox

-rw-r--r--. 1 root root 35617218 Apr 15 16:25 firefox_-29.0_b8.tar.bz2

-rw-r--r--. 1 root root 35552854 Apr 17 15:46 firefox_-29.0_b8.tar.zip

-rwxr--r--. 1 root root 45386536 Apr 17 17:43 google-chrome-stable_current_x86_64.rpm

Now you can start the installation.

[root@localhost softs] # rpm-ivh google-chrome-stable_current_x86_64.rpm

Warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY

Preparing... # [100%]

1:google-chrome-stable # # [100%]

The warning here can be ignored, and the 100% prompt can be considered a successful installation, and the default path for installation is / opt/google/chrome. However, since Chrome can only be enabled by non-root users by default (required by the official website), create a new ordinary user to run Chrome. If there are other users in the operating system, you do not need to create a new user.

Add chrome combined chrome user method

[root@localhost softs] # groupadd chrome

[root@localhost softs] # useradd-g chrome chrome

[root@localhost softs] # passwd chrome

Just follow the prompts to enter the password that the chrome user wants

Switch chrome users. If you are a non-root user, you need to enter the password of the chrome user.

[root@localhost softs] # su-chrome

[chrome@localhost ~] $google-chrome &

After reading the above, have you mastered how to install Firefox and Chrome browsers on RHEL6_X86-64? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report