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 to install vim in docker and configure domestic Mirror Source

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

Share

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

This article mainly explains "how to install vim in docker to configure domestic mirror source", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "how to install vim in docker to configure domestic image source"!

I. Background

In fact, in the process of use, run apt-get update, and then execute apt-get install -y vim, download address because it is an overseas address, download speed is unusually slow and may interrupt the update process.

II. Steps

1. change the source

#change source mv /etc/apt/sources.list /etc/apt/sources.list.bakecho "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >> /etc/apt/sources. listecho "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.listecho "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.listecho "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib">>/etc/apt/sources.list

2. Update installation source

#update installation source apt-get update

3. Install vim

#3. Install vimapt-get install vim Here, I believe everyone has a deeper understanding of "how to install vim in docker to configure domestic image sources", so let's actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

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