Friday, 10 February 2017

Install awscli on windows using cygwin

1. download https://cygwin.com/install.html and Install cygwin  with following packages python -(select this package python:python language interpreter ), curl (select all)

2. open cygwin terminal and run below command

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py

Then, we need to install awscli via pip:

pip install awscli

3. Configure aws account in awscli
$aws configure

run upload command
$aws s3 cp /cygdrive/e/file.vhd s3://bucketname

Comman error :
curl: (48) An unknown option was passed in to libcurl
solution:

install proper curl package or may be resolve by install apt-cyg

error :
-bash: python: command not found

solution:
run again cygwin setup file and select package python - python:python language interpreter  and install it

No comments:

Post a Comment

Install XRDP in Centos 7

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum update yum groupinstall "GNOME Desktop" ...