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

The method of installing bash Patch Pack under RedHat 6.5

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Download address for gcc components: http://pan.baidu.com/s/10ZdD0

Download address of bash patch pack: http://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz

1. Copy to the linux system / root directory and extract gcc-4.4.7-4.el6.x86_64.rar, then install it separately.

[root@localhost home] # rpm-ivh mpfr-2.4.1-6.el6.x86_64.rpm

[root@localhost home] # rpm-ivh ppl-0.10.2-11.el6.x86_64.rpm

[root@localhost home] # rpm-ivh cpp-4.4.7-4.el6.x86_64.rpm

[root@localhost home] # rpm-ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm

[root@localhost home] # rpm-ivh gcc-4.4.7-4.el6.x86_64.rpm

2. Upload bash-4.4.18.tar.gz to the server and decompress it

Enter the compressed directory

[root@localhost home] # cd bash-4.4.18

Make sure that after the gcc component is installed, you can compile and install it.

[root@localhost bash-4.4.18] # / configure & & make & & make install

You need to make a soft link after installation, otherwise it is still the old version when logging in remotely to view the bash version of the system.

[root@localhost bash-4.4.18] # mv / bin/bash / bin/bash.bak / / backup the original file by renaming it

[root@localhost bash-4.4.18] # ln-s / usr/local/bin/bash / bin/bash / / do soft links

[root@localhost bash-4.4.18] # bash- version / / View bash version

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

Network Security

Wechat

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

12
Report