Bad Chef Server mirror

I am trying to install chef server on AWS EC2 instance using CLI.

Trying to use “wget” and the link " https://packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.0.1-1.x86_64.rpm/download" it downloads the package into “download” which can’t be accessed.

When I am trying to do it using “rpm” command by removing the “/download” in the end it says “not an rpm package”

I wonder is there any problem in the rpm package or am I doing it wrong ?

I ran into this problem today too.

It seems that packagecloud.io is changing something, I ended up doing this:

wget https://packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.0.1-1.x86_64.rpm/download
rpm -Uvh download

Not awesome by any standard, but it got my stuff installed.

Thanks bro I have been keeping of trying in different methods but not with
this.

It worked like magic never expected I can rpm command for non rpm file