Installing Bazaar on Shared hosting(Linux godaddy) with ssh and no root/Admin privilege7 previlage

Asked by Rams

Hello,

I am trying to install Bazaar on my godaddy linux shared hosting account.

I have tried to follow the instruction as per the link http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/installing_bazaar.html

I am bit confused.

1. Instruction at http://wiki.bazaar.canonical.com/DistroDownloads#CentOS.2BAC8-RHEL
      request me to run the following command

      su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'

    Unfortunately I am using ssh and FTP user name and password through putty. It is not working.

First what should I download? Source? or Binary?

if we have any step by step instruction to install in shared linux hosting, it will help lot. Appreciate if anyone can help me?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

Am 24/03/12 15:25, schrieb Rams:
> New question #191578 on Bazaar:
> https://answers.launchpad.net/bzr/+question/191578
>
> Hello,
>
> I am trying to install Bazaar on my godaddy linux shared hosting account.
>
> I have tried to follow the instruction as per the link http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/installing_bazaar.html
>
> I am bit confused.
>
> 1. Instruction at http://wiki.bazaar.canonical.com/DistroDownloads#CentOS.2BAC8-RHEL
> request me to run the following command
>
> su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
>
>
> Unfortunately I am using ssh and FTP user name and password through putty. It is not working.
Can you expand a bit on what exactly is not working? Are you getting an
error of sorts?

Jelmer

Revision history for this message
Ricardo N Feliciano (felicianotech) said :
#2

Hey, this is Jaricanese7, I just use a different alias now.

What I did was, download the tarball of Bazaar (the one ending in tar.gz) and uncompressed it to just above my public HTML folder (usually public_html).

Problem is, on GoDaddy without root access, you won't be able to install Bazaar through RPM so manually using source is how I got it to work.

From there on, whenever referring to bzr in terminal through SSH, you'll have to use the full path name instead of just bzr.

IF you can find your local bash file on the server (I forgot where it is), you can write an alias for bzr in there so that you can call Bazaar through 'bzr' just like on your desktop.

Revision history for this message
Rams (rams-9) said :
#3

Hi Ricardo

Thanks for the reply. default godaddy has installed python 2.4 however the tar.gz available ( https://launchpad.net/bzr/+download) requires python 2.6+. I have downloaded stable version (bzr-2.5.0.tar.gz)

One option is request godaddy to install python 2.6+ I am not sure they will install.

Hi Jelmer

for godaddy, I use ftp account and access via ssh. We do not have permission to run sudo or su. so admin commands will not work.

Revision history for this message
Jelmer Vernooij (jelmer) said :
#4

Am 25/03/12 01:40, schrieb Rams:
> Question #191578 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/191578
>
> Status: Answered => Open
>
> Rams is still having a problem:
> Hi Ricardo
>
> Thanks for the reply. default godaddy has installed python 2.4 however
> the tar.gz available ( https://launchpad.net/bzr/+download) requires
> python 2.6+. I have downloaded stable version (bzr-2.5.0.tar.gz)
>
> One option is request godaddy to install python 2.6+ I am not sure they
> will install.
>
>
> Hi Jelmer
>
> for godaddy, I use ftp account and access via ssh. We do not have
> permission to run sudo or su. so admin commands will not work.
If you can't use su and the only Python available is Python 2.4, then
you can not use bzr 2.5. bzr 2.4 should still work with python 2.4
though, if you install it from source.

Cheers,

Jelmer

Revision history for this message
Ricardo N Feliciano (felicianotech) said :
#5

Rams,

What kind of hosting account do you have with GoDaddy? And when did they set it up for you?

If you really want the newest version of Bazaar to run, then there is a work around to setup Python 2.7 on GoDaddy.

Here is their support article: http://support.godaddy.com/help/7254/can-i-use-python-272-with-my-hosting-account

Hope it works out, ;)

Can you help with this problem?

Provide an answer of your own, or ask Rams for more information if necessary.

To post a message you must log in.