How do you install Django on a shared hosting without root access?

469 views
Skip to first unread message

Dan Santos

unread,
May 12, 2012, 2:39:27 PM5/12/12
to django...@googlegroups.com
Hi I'm confused about how to setup Django on my shared hosting account without using root.  They don't have Django or Python support so I will have to install everything from scratch I guess.

Do I install things in this order for shared hosting, or have I messed up the order when not using root?

1. Python 2.7
2. virtualenv.py

3. (ENV1)$ pip install django


Timothy Makobu

unread,
May 12, 2012, 3:22:07 PM5/12/12
to django...@googlegroups.com

Hi, the host needs to specifically say they support python, then you know wsgi works with them. Check out webfaction.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_0SpeAgCoTUJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Michael Ray

unread,
May 12, 2012, 5:36:51 PM5/12/12
to django...@googlegroups.com
I second Webfaction! It will save you a lot of headaches.

-- 
Michael Ray
Sent with Sparrow

Babatunde Akinyanmi

unread,
May 13, 2012, 2:30:15 PM5/13/12
to django...@googlegroups.com
Alwaysdata.com will also save you headaches, has excellent support
plus they have a free plan.

On 5/12/12, Michael Ray <michaelb...@gmail.com> wrote:
> I second Webfaction! It will save you a lot of headaches.
>
> --
> Michael Ray
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Saturday, May 12, 2012 at 3:22 PM, Timothy Makobu wrote:
>
>> Hi, the host needs to specifically say they support python, then you know
>> wsgi works with them. Check out webfaction.com (http://webfaction.com)
>> On May 12, 2012 9:39 PM, "Dan Santos" <dansa...@gmail.com
>> (mailto:dansa...@gmail.com)> wrote:
>> > Hi I'm confused about how to setup Django on my shared hosting account
>> > without using root. They don't have Django or Python support so I will
>> > have to install everything from scratch I guess.
>> >
>> > Do I install things in this order for shared hosting, or have I messed
>> > up the order when not using root?
>> >
>> > 1. Python 2.7
>> > 2. virtualenv.py
>> > http://www.virtualenv.org/en/latest/index.html
>> >
>> > 3. (ENV1)$ pip install django
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Django users" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/django-users/-/_0SpeAgCoTUJ.
>> > To post to this group, send email to django...@googlegroups.com
>> > (mailto:django...@googlegroups.com).
>> > To unsubscribe from this group, send email to
>> > django-users...@googlegroups.com
>> > (mailto:django-users%2Bunsu...@googlegroups.com).
>> > For more options, visit this group at
>> > http://groups.google.com/group/django-users?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Sent from my mobile device

Dan Santos

unread,
May 13, 2012, 3:49:28 PM5/13/12
to django...@googlegroups.com
I forced my local web host (twisted their arm) and the day after they created a new procedure for setting up Django without having to use root access.

Problem solved :)

Gerald Klein

unread,
May 13, 2012, 5:15:28 PM5/13/12
to django...@googlegroups.com
What host? 


thanks

--jerry

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/JbtefCDiKMIJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--

Gerald Klein DBA

Cont...@geraldklein.com

www.geraldklein.com

j...@zognet.com

708-599-0352


Linux registered user #548580 



Babatunde Akinyanmi

unread,
May 13, 2012, 5:37:57 PM5/13/12
to django...@googlegroups.com
Lol. Nice way to go.

On 5/13/12, Gerald Klein <j...@zognet.com> wrote:
> What host?
>
>
> thanks
>
> --jerry
>
> On Sun, May 13, 2012 at 2:49 PM, Dan Santos <dansa...@gmail.com> wrote:
>
>> I forced my local web host (twisted their arm) and the day after they
>> created a new procedure for setting up Django without having to use root
>> access.
>>
>> Problem solved :)
>>
>>
>>
>> On Saturday, May 12, 2012 8:39:27 PM UTC+2, Dan Santos wrote:
>>>
>>> Hi I'm confused about how to setup Django on my shared hosting account
>>> without using root. They don't have Django or Python support so I will
>>> have to install everything from scratch I guess.
>>>
>>> Do I install things in this order for shared hosting, or have I messed up
>>> the order when not using root?
>>>
>>> 1. Python 2.7
>>> 2. virtualenv.py
>>> http://www.virtualenv.org/en/**latest/index.html<http://www.virtualenv.org/en/latest/index.html>
>>>
>>> 3. (ENV1)$ pip install django
>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/JbtefCDiKMIJ.
>> To post to this group, send email to django...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
>
> Gerald Klein DBA****
>
> Cont...@geraldklein.com
>
> www.geraldklein.com <http://geraldklein.com/>****
>
> j...@zognet.com****
>
> 708-599-0352****
>
>
> Linux registered user #548580
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--

Dan Santos

unread,
May 17, 2012, 4:21:53 AM5/17/12
to django...@googlegroups.com
Sorry I celebrated too early :( not sure if my local webhost can pull it of entirely?
But they have been very forthcoming so far.

I've just got SSH access with limited privileges.  And saw that I only have Python 2.4 and Django 1.3.
But I want to run Django 1.4.
And I couldn't setup virtualenv.py properly when I ran it on my shared hosting account :(
http://www.virtualenv.org/en/latest/index.html

It's not easy setting up Django on shared hosting, so much troubles. :(





On Sunday, May 13, 2012 11:15:28 PM UTC+2, Gerald Klein wrote:
What host? 


thanks

--jerry

On Sun, May 13, 2012 at 2:49 PM, Dan Santos <dansa...@gmail.com> wrote:
I forced my local web host (twisted their arm) and the day after they created a new procedure for setting up Django without having to use root access.

Problem solved :)



On Saturday, May 12, 2012 8:39:27 PM UTC+2, Dan Santos wrote:
Hi I'm confused about how to setup Django on my shared hosting account without using root.  They don't have Django or Python support so I will have to install everything from scratch I guess.

Do I install things in this order for shared hosting, or have I messed up the order when not using root?

1. Python 2.7
2. virtualenv.py

3. (ENV1)$ pip install django


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/JbtefCDiKMIJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Alec Taylor

unread,
May 17, 2012, 4:27:51 AM5/17/12
to django...@googlegroups.com
You could wget/curl over a version of
http://code.google.com/p/pts-mini-gpl/wiki/StaticPython
>>> django-users...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>>
>>
>> --
>>
>> Gerald Klein DBA
>>
>> Cont...@geraldklein.com
>>
>> www.geraldklein.com
>>
>> j...@zognet.com
>>
>> 708-599-0352
>>
>>
>> Linux registered user #548580
>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/hog5iooCFXAJ.
>
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.

Dan Santos

unread,
May 17, 2012, 5:07:07 AM5/17/12
to django...@googlegroups.com
1.)
When I do this then I get a bunch of cryptic outputs and "sh: command not found" errors.
And the file isn't downloaded to the host where I executed this command.
However the same command worked on my local PC.


K �]^?�> )7> � xml/etree/cElementTree.pyPK �]^?�ZU�!0t� s� xml/etree/ElementTree.pyPK �]^?������ �� xml/etree/ElementInclude.pyPK �]^?���`g 1� � xmllib.pyPK �]^?6���y4��
                                     " xmlrpclib.pyPK �]^?=�Ը�3 �
�V zipfile.pyPK � � �{ڊ sh-3.2$ 62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c62;9;c
sh: 62: command not found
sh: 9: command not found
sh: c62: command not found
sh: 9: command not found
sh: c62: command not found



2.)
When I ran this command as instructed by this webpage then nothing is downloaded and I get an error I don't understand "bash: /dev/stdin: No such file or directory"



sh-3.2$ curl http://pts-mini-gpl.googlecode.com/svn/trunk/staticpython/d.sh | bash /dev/stdin python2.7-static

bash: /dev/stdin: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   955  100   955    0     0   2475      0 --:--:-- --:--:-- --:--:--     0
sh-3.2$ 


Reply all
Reply to author
Forward
0 new messages