Wget for puppet installation

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm going to install puppet (puppet master) in a CentOs v7 Server which is running on google cloud. I am facing a issue with downloading the puppet tarball into my server.



Once I use below command,



wget https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest


It is downloding the .CGI file. not the Tar ball. But once I hit the url it download the respective tar file










share|improve this question























  • It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
    – Rui F Ribeiro
    yesterday














up vote
0
down vote

favorite












I'm going to install puppet (puppet master) in a CentOs v7 Server which is running on google cloud. I am facing a issue with downloading the puppet tarball into my server.



Once I use below command,



wget https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest


It is downloding the .CGI file. not the Tar ball. But once I hit the url it download the respective tar file










share|improve this question























  • It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
    – Rui F Ribeiro
    yesterday












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm going to install puppet (puppet master) in a CentOs v7 Server which is running on google cloud. I am facing a issue with downloading the puppet tarball into my server.



Once I use below command,



wget https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest


It is downloding the .CGI file. not the Tar ball. But once I hit the url it download the respective tar file










share|improve this question















I'm going to install puppet (puppet master) in a CentOs v7 Server which is running on google cloud. I am facing a issue with downloading the puppet tarball into my server.



Once I use below command,



wget https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest


It is downloding the .CGI file. not the Tar ball. But once I hit the url it download the respective tar file







wget






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday









Rui F Ribeiro

37k1273117




37k1273117










asked yesterday









Ishara Kularatna

51




51











  • It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
    – Rui F Ribeiro
    yesterday
















  • It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
    – Rui F Ribeiro
    yesterday















It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
– Rui F Ribeiro
yesterday




It does not work because ? and & are special characters to the shell, and need to be escaped. Keep it in mind for future similar problems
– Rui F Ribeiro
yesterday










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Did you try quotes on the URL?



For me this command starts to download 472MB of puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz



wget -O puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz 'https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest'


If that doesn't help, then there are probably some cookies needed. If you have SSH access to the machine, download the file to your local machine and use scp to copy it to the remote machine.






share|improve this answer




















  • Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
    – Ishara Kularatna
    yesterday










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f473744%2fwget-for-puppet-installation%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










Did you try quotes on the URL?



For me this command starts to download 472MB of puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz



wget -O puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz 'https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest'


If that doesn't help, then there are probably some cookies needed. If you have SSH access to the machine, download the file to your local machine and use scp to copy it to the remote machine.






share|improve this answer




















  • Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
    – Ishara Kularatna
    yesterday














up vote
1
down vote



accepted










Did you try quotes on the URL?



For me this command starts to download 472MB of puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz



wget -O puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz 'https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest'


If that doesn't help, then there are probably some cookies needed. If you have SSH access to the machine, download the file to your local machine and use scp to copy it to the remote machine.






share|improve this answer




















  • Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
    – Ishara Kularatna
    yesterday












up vote
1
down vote



accepted







up vote
1
down vote



accepted






Did you try quotes on the URL?



For me this command starts to download 472MB of puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz



wget -O puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz 'https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest'


If that doesn't help, then there are probably some cookies needed. If you have SSH access to the machine, download the file to your local machine and use scp to copy it to the remote machine.






share|improve this answer












Did you try quotes on the URL?



For me this command starts to download 472MB of puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz



wget -O puppet-enterprise-2018.1.4-el-7-x86_64.tar.gz 'https://pm.puppet.com/cgi-bin/download.cgi?arch=x86_64&dist=el&rel=7&ver=latest'


If that doesn't help, then there are probably some cookies needed. If you have SSH access to the machine, download the file to your local machine and use scp to copy it to the remote machine.







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









RalfFriedl

4,2981725




4,2981725











  • Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
    – Ishara Kularatna
    yesterday
















  • Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
    – Ishara Kularatna
    yesterday















Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
– Ishara Kularatna
yesterday




Thanks, It worked after adding quotes on the URL. And I was thinking to do it in second way with SCP option. How ever it worked with quotes, Somehow I missed to add, Thanks !!
– Ishara Kularatna
yesterday

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473744%2fwget-for-puppet-installation%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?