Could Not Resolve Host Mirrorlist.centos.org | Invalid baseurl for repo | etc/profile & resolv.conf

  Рет қаралды 24,309

Thetips4you

Thetips4you

4 жыл бұрын

#Error,#Profile,#Resolv Hello friend, Welcome back to my channel. This is troubleshooting tutorial. I have received few queries and understood that there are challenges in setting up docker when you are doing the installation behind a proxy a server. Basically for those who are connected from an enterprise environment, they will have to go through proxy server for installation of docker. Usually you will get error could not retrieve mirror list or invalid base url for repo due to unable to resolve host or proxy. This is basically because you need to set the proxy server and user authentication in the machine so that the download can go through the proxy server. Follow the steps as you see on the screen to fix this issue.
vi /etc/profile
export HTTP_PROXY=username:password@proxyservername:8080
export HTTPS_PROXY=username:password@proxyservername:8080
export http_proxy=username:password@proxyservername:8080
export https_proxy=username:password@proxyservername:8080
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
=================================================
Follow me @:
/ thetips4you
kzbin.info/door/oOq...
/ thetipsforyou
www.thetips4you.com
======================================================
Note: Each word by Word or sentences used in this video is self written and converted to Audio to give explanation on the steps in each tutorial . These are not automated or third party content or scrapped from any website.
Music credit: "Royalty Free Music from Bensound"

Пікірлер: 22
@ffgaming-fe3cx
@ffgaming-fe3cx 4 жыл бұрын
I get these error "recv failed connection reset by peer " while trying to install " yum install docker" in centos7
@Thetips4you
@Thetips4you 4 жыл бұрын
Are you connecting directly to internet or through proxy?
@andhy_renatha8915
@andhy_renatha8915 2 жыл бұрын
thanks you and work for system ☺️☺️☺️
@Thetips4you
@Thetips4you 2 жыл бұрын
You are welcome.
@salemahmed9010
@salemahmed9010 3 жыл бұрын
thanks a lot you saved my day :D
@Thetips4you
@Thetips4you 3 жыл бұрын
You are welcome.
@tanujamalipeddi8811
@tanujamalipeddi8811 Жыл бұрын
Same as u showed I did but in /etc/resolv.conf for me name server is showing different and for u it's showing different. Still I tried but install is not happening 😔
@Thetips4you
@Thetips4you Жыл бұрын
Can you give more information on what is showing different.
@markofthebwestnewworldorde7962
@markofthebwestnewworldorde7962 4 жыл бұрын
This is quit amazing
@Thetips4you
@Thetips4you 4 жыл бұрын
Thank you friend for your feedback
@sumitavaroy5483
@sumitavaroy5483 2 жыл бұрын
I am connecting directly through internet broadband connection not proxy. I have done the exact what you have done but still getting the same error. plz provide some resolution. I have been stuck in this.
@Thetips4you
@Thetips4you 2 жыл бұрын
Then it's a different issue, your network may have some issue. Check ip address of the machine and check the network connectivity.
@sumitavaroy5483
@sumitavaroy5483 2 жыл бұрын
@@Thetips4you the portion where u have mentioned username: password , should I put them exactly that or my username & password I will put ? Cz u have mentioned to change the username or password..that portion I didn't understand clearly..thats why asking
@JoseManuel-lo2ed
@JoseManuel-lo2ed Жыл бұрын
Hi, to me doesn´t work... the cmd says CURL 56 error. Please help.
@Thetips4you
@Thetips4you Жыл бұрын
Do you mean, curl is not installed?
@qlobik
@qlobik 2 жыл бұрын
thanks for help
@Thetips4you
@Thetips4you 2 жыл бұрын
Most welcome & Happy to help.
@swapnilraut6046
@swapnilraut6046 2 жыл бұрын
Please show us more troubleshooting problems which administration faced
@Thetips4you
@Thetips4you 2 жыл бұрын
Sure.
@geooeg9771
@geooeg9771 3 жыл бұрын
I get e212
@Shreesan2312
@Shreesan2312 Жыл бұрын
hey
@Thetips4you
@Thetips4you Жыл бұрын
Hi
Каха заблудился в горах
00:57
К-Media
Рет қаралды 7 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 26 МЛН
Настройка сети в CentOS
8:02
Онлайн обучение на Linux и DevOps инженеров
Рет қаралды 7 М.
OpenAI's New SearchGPT Shakes Up the Industry, Google Stock CRASHES!
10:10
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 805 М.
Cannot find a valid baseurl for repo: base Error on Centos 6.8 Solution
7:49
Desperate For Knowledge
Рет қаралды 10 М.
my FAVORITE Home Server Dashboard - Homarr Setup in Docker
16:46
ZABBIX Server Installation
22:29
Dmitry Lambert
Рет қаралды 83 М.
Firewalld on CentOS
22:13
Professor Andrew
Рет қаралды 3,7 М.
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 136 М.
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 370 М.