samedi 25 avril 2015

Installing django on amazon ec2 instance

my amazon ec2 system is this, dont know which linux distribution:

Linux ip-172-31-5-127 3.14.27-25.47.amzn1.x86_64 #1 SMP Wed Dec 17 18:36:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I want to use django but could not use apt-get

 apt-get update
bash: apt-get: command not found

may be due to different linux distribution. All tuts install django on ec2 using apt-get(http://ift.tt/1efJj7E).

also

 which python
/usr/bin/python

so coult not understand which version of python is,

uer/bin contains :

 /usr/bin/python
python            python26          python27          python2.7-config
python2           python2.6         python2.7

how to set 2.7 as default?

help much appreciable to beginner




Aucun commentaire:

Enregistrer un commentaire