Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6071629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:04:09+00:00 2026-05-23T10:04:09+00:00

How to configure the gitolite on a plesk panel single domain. When I use

  • 0

How to configure the gitolite on a plesk panel single domain.

When I use a /bin/bash user created by plesk, the home folder becomes /var/www/vhosts/{user}/

Then after install gitolite there, the user still not using the $HOME/bin/ folder to find the gitolite binary, and uses the system binary, so always when I try to clone the gitolite-admin come’s a empty directory.

How to configure the plesk ssh domain user to use the $HOME/bin folder to access the gitolite repo and it binaries?

I’m using CentOS 5 with Plesk 10.0.1

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:04:10+00:00Added an answer on May 23, 2026 at 10:04 am

    I will assume that you are using some variables like:

    Domain: gartz.com.br 
    Username: gartz
    

    Go in your plesk panel and add SSH /bin/bash access to the user that you wan’t to install gitolite repositorie.

    Now SSH login your server as root privileges. And type su - gartz you are now in your user bash.

    Type pwd it will show your ${HOME} like: /var/www/vhosts/gartz.com.br/

    go back to super user and add privileges to user can write your own home folder and add a git folder:

    $ chown gartz:psacln /var/www/vhosts/gartz.com.br/
    $ su - gartz
    $ mkdir git
    

    Now you have this: /var/www/vhosts/gartz.com.br/git

    Download your gitolite to the git folder, then add a user with will have access to your git repositories only, like using suffix or preffix git: adduser gartz.git

    Edit your passwd file to your git user have the same ids from the normal user and change the home to the correct git folder. (you will need root privileges again)

    $ cat /etc/passwd | grep gartz
    

    It will show something like this:

    gartz:x:10004:2524::/var/www/vhosts/gartz.com.br:/bin/bash
    

    Now edit your other user gartz.git to be like this:

    gartz.git:x:10004:2524::/var/www/vhosts/gartz.com.br/git:/bin/bash
    

    Add .ssh folder with authorized_keys for your rsa key. Then login your shell using your account like gartz.git install your gitolite now.

    $ git clone git://github.com/sitaramc/gitolite
    $ cd gitolite/src
    $ ./gl-easy-install -q gitolite gitserver sitaram
    

    Go to your own computer and clone your gitolite-admin:

    $ git clone gartz.git@gartz.com.br:gitolite-admin
    

    Change your config file, add your keys and repos, commit and push.

    You can do this for any domain you want. For more info installing git http://progit.org/book/ch4-8.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to configure git and gitolite to allow specific user to change just files
How do you configure tomcat to bind to a single ip address (localhost) instead
I would like to configure asp.net process to run under an account with domain
How can I configure an application, or even an entire machine, to use either
I configure qt-x11 with following options ./configure -prefix /iTalk/qtx11 -prefix-install -bindir /iTalk/qtx11-install/bin -libdir /iTalk/qtx11-install/lib
I configure my web application to use SSL using my own self signed certificate.
Is it possible to configure xampp to serve up a file outside of the
Is it possible to configure nHibernate to connect to Paradox database ( *.db files)?
Is there anyway to configure a WCF service with a failover endpoint if the
How would one configure trac to allow anonymous submission of tickets?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.