Questions about Dreamhost


#1

Hi i have a few small questions about dreamhost these are big issues for me on picking my host due to the way my codes run (well more what my codes run on)

  1. can you set up django Python image libary and PyCrypto?
    2.can you place stuff outside of the http dirs and is ssh in a walled garden (basicly can i only see my stuff and can outher peopole only see theris)
  2. if i get a PS will that let me run whatever softwares i need to?

#2

First, this is a customer-to-customer forum. Feel free to contact DH support via Contact Forum.

Hope this article will give you some thoughts. url]http://wiki.dreamhost.com/Python[/url]

Yes. You can enable web security in DH panel. If it is enabled, only you can see your directories thought you are on a shared server.

Probably not, you are still a limited user on PS. If the installation requires root priviledge, then it is not possible. However, you can install your own version of PHP, Python, etc.

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here


#3

[quote]3. if i get a PS will that let me run whatever softwares i need to?

[/quote]

No, you can’t. Like he said, if anything needs root access you are out of luck. I attempted to install a custom ftp server, but it would not launch. If any of your services run on < port 1024, they’ll require root access to start. However, you can use DH’s proxy service to get some things to work.

Click here or enter [color=#CC0000]FREEDOM3[/color] for $50 off and 3 free domains!


#4

I forgot to mention… yes, I have Django setup on my server, and it has worked flawlessly! I’m not using a VPS for the Django installation… there has been no need.

I have a VPS which I use for serving static files with lighttpd, and I haven’t had any problems with that either.

Click here or enter [color=#CC0000]FREEDOM3[/color] for $50 off and 3 free domains!


#5

You might have some problems with Django here, I don’t use it myself, but take a look here. Python itself works.

http://wiki.dreamhost.com/Django

Jan

Promo-Code: [color=#CC0000]SAVEMONEY97[/color] - Save [color=#CC0000]$50[/color] on your first year of hosting.
Get more promo codes here


#6

I haven’t seen any issues with Django in the normal environment. Seems to work just fine.

Save [color=#CC0000]$97[/color] on all plans by using promo code: SRVR97. More Here


#7

To get any half-decent Python web framework running on Dreamhost, there are a few housekeeping chores you need to do. Of note, I needed to originally do these changes months ago. Dreamhost is constantly updating, making some of my changes unnecessary, or making this route the less efficient way to do them.

Before I get to any of that, though, I should mention that the first thing to do is to enable Passenger from your Dreamhost CPanel. Without that, the method I’ve suggested below won’t work at all!

To do this, just go to your domain’s CPanel option and enable Passenger and Save.

The most important part about getting Flask setup on Dreamhost is the passenger_wsgi.py file. It’s a really small file that tells Passenger where to look for your Flask app and what to do with it. The [DH_WORKING_DIR] needs to be modified in your specific situation. There are some ways to make the passenger_wsgi.py file a bit more generic, and use environment variables a bit more wisely to figure some of these things out itself, but I thought it would be nice to be verbose in this file – so everyone can see exactly what I’m doing.

This is largely the same file for Django as well, except there are 2-3 more lines of Django-specific code that need to be written. For more detailed post, visit this link: http://www.sureshjoshi.com/development/python-web-framework-on-dreamhost/