install packages with yum disabled












0















this is what is displayed when i uuse the yum command to install or do any other manipulation



Toda, i tried to install samba with yum, but i got an error and a series of instruction which i don't understand because it's the first time i'm working in this environment; the error and instructions are listed in the screenshot










share|improve this question


















  • 2





    Check internet connection: ping google.com

    – Tuyen Pham
    Jan 16 at 4:49











  • unknown service or name

    – KOOH KOOH Sarah
    Jan 16 at 5:33











  • Set DNS and routing

    – Romeo Ninov
    Jan 16 at 5:38











  • @KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

    – Haxiel
    Jan 16 at 6:45
















0















this is what is displayed when i uuse the yum command to install or do any other manipulation



Toda, i tried to install samba with yum, but i got an error and a series of instruction which i don't understand because it's the first time i'm working in this environment; the error and instructions are listed in the screenshot










share|improve this question


















  • 2





    Check internet connection: ping google.com

    – Tuyen Pham
    Jan 16 at 4:49











  • unknown service or name

    – KOOH KOOH Sarah
    Jan 16 at 5:33











  • Set DNS and routing

    – Romeo Ninov
    Jan 16 at 5:38











  • @KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

    – Haxiel
    Jan 16 at 6:45














0












0








0








this is what is displayed when i uuse the yum command to install or do any other manipulation



Toda, i tried to install samba with yum, but i got an error and a series of instruction which i don't understand because it's the first time i'm working in this environment; the error and instructions are listed in the screenshot










share|improve this question














this is what is displayed when i uuse the yum command to install or do any other manipulation



Toda, i tried to install samba with yum, but i got an error and a series of instruction which i don't understand because it's the first time i'm working in this environment; the error and instructions are listed in the screenshot







centos






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 16 at 4:45









KOOH KOOH SarahKOOH KOOH Sarah

31




31








  • 2





    Check internet connection: ping google.com

    – Tuyen Pham
    Jan 16 at 4:49











  • unknown service or name

    – KOOH KOOH Sarah
    Jan 16 at 5:33











  • Set DNS and routing

    – Romeo Ninov
    Jan 16 at 5:38











  • @KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

    – Haxiel
    Jan 16 at 6:45














  • 2





    Check internet connection: ping google.com

    – Tuyen Pham
    Jan 16 at 4:49











  • unknown service or name

    – KOOH KOOH Sarah
    Jan 16 at 5:33











  • Set DNS and routing

    – Romeo Ninov
    Jan 16 at 5:38











  • @KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

    – Haxiel
    Jan 16 at 6:45








2




2





Check internet connection: ping google.com

– Tuyen Pham
Jan 16 at 4:49





Check internet connection: ping google.com

– Tuyen Pham
Jan 16 at 4:49













unknown service or name

– KOOH KOOH Sarah
Jan 16 at 5:33





unknown service or name

– KOOH KOOH Sarah
Jan 16 at 5:33













Set DNS and routing

– Romeo Ninov
Jan 16 at 5:38





Set DNS and routing

– Romeo Ninov
Jan 16 at 5:38













@KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

– Haxiel
Jan 16 at 6:45





@KOOHKOOHSarah You need to be able to access the internet from your VM so that yum can pull the package details from an online repository. You can do this by adding a NAT network adapter to your VM. Some additional configuration may be required on your guest OS (CentOS) side as well.

– Haxiel
Jan 16 at 6:45










1 Answer
1






active

oldest

votes


















0
















  1. confirm you network is work. You can ping www.google.com or check nerwork config. For example:




    cd /etc/sysconfig/network-scripts



    ls -a
    enter image description here



    vi ifcfg-enp3s0
    enter image description here





set REBOOT argument is yes. then restart the network service network restart.



now. you can reinstall the package.






share|improve this answer








New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Try running dhclient and check internet access like said in upper comments. If it works, try yum.

    – Atul
    Jan 16 at 7:59











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494727%2finstall-packages-with-yum-disabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0
















  1. confirm you network is work. You can ping www.google.com or check nerwork config. For example:




    cd /etc/sysconfig/network-scripts



    ls -a
    enter image description here



    vi ifcfg-enp3s0
    enter image description here





set REBOOT argument is yes. then restart the network service network restart.



now. you can reinstall the package.






share|improve this answer








New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Try running dhclient and check internet access like said in upper comments. If it works, try yum.

    – Atul
    Jan 16 at 7:59
















0
















  1. confirm you network is work. You can ping www.google.com or check nerwork config. For example:




    cd /etc/sysconfig/network-scripts



    ls -a
    enter image description here



    vi ifcfg-enp3s0
    enter image description here





set REBOOT argument is yes. then restart the network service network restart.



now. you can reinstall the package.






share|improve this answer








New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Try running dhclient and check internet access like said in upper comments. If it works, try yum.

    – Atul
    Jan 16 at 7:59














0












0








0









  1. confirm you network is work. You can ping www.google.com or check nerwork config. For example:




    cd /etc/sysconfig/network-scripts



    ls -a
    enter image description here



    vi ifcfg-enp3s0
    enter image description here





set REBOOT argument is yes. then restart the network service network restart.



now. you can reinstall the package.






share|improve this answer








New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  1. confirm you network is work. You can ping www.google.com or check nerwork config. For example:




    cd /etc/sysconfig/network-scripts



    ls -a
    enter image description here



    vi ifcfg-enp3s0
    enter image description here





set REBOOT argument is yes. then restart the network service network restart.



now. you can reinstall the package.







share|improve this answer








New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Jan 16 at 6:27









ty4z2008ty4z2008

116




116




New contributor




ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ty4z2008 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Try running dhclient and check internet access like said in upper comments. If it works, try yum.

    – Atul
    Jan 16 at 7:59



















  • Try running dhclient and check internet access like said in upper comments. If it works, try yum.

    – Atul
    Jan 16 at 7:59

















Try running dhclient and check internet access like said in upper comments. If it works, try yum.

– Atul
Jan 16 at 7:59





Try running dhclient and check internet access like said in upper comments. If it works, try yum.

– Atul
Jan 16 at 7:59


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494727%2finstall-packages-with-yum-disabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀