Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2011, 07:44 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 9

Rep: Reputation: 0
Wink Python 2.7 on EC2

Hi everybody.
I have been tasked to set up an instance of Amazon's EC2 servers. Specifically, we're using the smallest Amazon Linux AMI.

After plenty time on Google, I have the machine set up more or less correctly (I think). My greatest frustration came in the form of installing Python 2.7. I installed gcc and make, and was able to install without a hickup. The guide I was (more or less) following (here) suggested I use
echo "/opt/python.2.7/lib" >> /etc/
This did not work due to me not having the right permissions, even though I also prepended the command with sudo.
In desperation, I touched the file, chmod'ed it so that I could do with it what I wanted to, and then changed it back to what it was before.

Was the chmod hack the right way to go? Will there be dire consequences in the future? ;-)
Please bear in mind that I am only very superficially familiar with Linux, and was mostly following guides.

Thanks in advance!
Old 11-25-2011, 01:03 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
If you post some of the outputs from the commands you issued helps to understand what is going on.



chmod, install, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to Amazon EC2 Arlc Linux - Security 3 07-22-2011 07:41 PM
[SOLVED] monitoring EC2 RDS in nagios call_krushna Linux - Server 4 06-06-2011 05:50 AM
Good guide to EC2? szboardstretcher Linux - Software 1 03-24-2011 10:30 AM
Fedora EC2 Passwords reset jmozko Linux - Newbie 1 03-02-2011 04:52 PM
Ubuntu, Python, EC2 Question from a Newbie jcrubino Linux - Newbie 1 04-11-2009 12:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration