I've been having problems getting Python & the dependancies sorted on CentOS 5.4 so I was wondering if there was any particular distro best suited just to get Media Core up and running?
Any help is much appreciated.
Sam
Search Forums
8 posts Started 13 years ago by Sam Latest reply from pakeeza1990
I've been having problems getting Python & the dependancies sorted on CentOS 5.4 so I was wondering if there was any particular distro best suited just to get Media Core up and running?
Any help is much appreciated.
Sam
We're actually using CENTOS 4.6 on our server and it's running pretty well. We haven't tried 5.4 yet, so there may be some complications there. What part of getting python setup are you running into issues with?
As far as ease of installation redhat or ubuntu may ease a lot of the installation woes as they have excellent package managers which should be easily able to install Python and it's necessary dependencies. I know with CENT OS that it took us 2 days to get everything configured just the way we wanted it to be.
Oh also here are a few other things that might help
I ended up rebuilding Python 2.5 from source along with the setuptools package and everything seems to work. However, when I run paster serve --reload development.ini I get the following:
Starting subprocess with file monitor
Starting server in PID 7050.
serving on http://127.0.0.1:8080
But when I try to access the app in a browser, the web server doesn't respond. Any ideas?
development.ini should never be used on a production server. Make a production config by running paster make-config MediaCore deployment.ini
and use that file instead, and that'll work.
development.ini only allows connections from 'localhost', deployment.ini will allow all ips. More importantly, development.ini allows anyone to execute arbitrary python code when an exception occurs. This makes debugging a breeze but you sure wouldn't want to let just anyone do that.
No doubt that the best distribution is ubuntu linux. Specially for new linux users
danny0085: Ubuntu Linux is problematic because they don't offer real stability (even LTS is only for very few packages and the whole universe/multiverse repositories don't get security support by Canonical!). Therefore I'd like to recommend CentOS.
Sam + others: Please – never recompile Python on a production server. CentOS works great for me. Also MediaCore has pretty specific requirements so currently I think you can't run MediaCore completely on distro packages. Usually I use Fedora EPEL on CentOS with a virtualenv for newer packages.
fs
PS: (if you can handle the implications of a self-compiled python, you probably understand why I used strong wording in paragraphs above so strongly). :-)
i like this topic so much and thanks for the sharing
You must log in to post.