LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-24-2011, 07:44 AM   #1
JohanB
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/ld.so.conf.d/opt-python2.7.conf
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!
Regards,
JB
 
Old 11-25-2011, 01:03 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

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

Regards
 
  


Reply

Tags
chmod, install, python



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 AM.

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