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 latest version of linux, Centos7, which installs applications when the network is offline (essential skills that you can learn as soon as you learn)

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

one。 We learned in the previous chapter that you can install programs directly in the yum repository, but you need a network, and you don't have to solve dependencies.

This chapter teaches you how to install programs when you are offline.

1. Let's disconnect the network first (demonstrate the implementation in the VM virtual machine when there is no network)

two。 Set up our network card

3. Restart the network service and check the address we just set

4. Clear our previous yum list cache

5. Use Centos7 mirroring, and then connect

6. Mount the image

7. Check where our package is?

8. Configure our own yum repository

9. Check to see if our yum warehouse package is available

10. Enter the command to install the httpd service

11. Let's try and see if we can use it to visit this website.

I will post a source code installation for the follow-up blog, which we will use in the future.

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