Tagged Questions
0
votes
2answers
35 views
Using Git as a means to sync zabbix instances
So in our environment, we are using a custom build of Zabbix as a monitoring solution. We have Zabbix deployed to four different sites, and would like to ensure that the build is consistent across all ...
1
vote
1answer
52 views
Setup git on an Internal Server [Ubuntu]
I'm new to Ubuntu.
I've been following this Setting Up the Server to config git on a Ubuntu machine (MyUbuntu).
I created a Git account and my authorized_key is in /Home/git/.ssh
ssh-rsa
...
0
votes
2answers
33 views
List linux users
I need to find a group in linux that doesn't appear in my /etc/groups file.
I run the following command and get an error
sudo adduser --disabled-login --gecos 'GitLab' git
adduser: The group `git' ...
-1
votes
1answer
98 views
Git 1.8.2 source (from master branch) fails to build, can't find “dl” library symbols [closed]
# Compiling git 1.8.2 source from master branch sources.
$ make configure
$ LIBS="-ldl" LDFLAGS="-L/sandbox/builds/lib -L/sandbox/builds/ssl" CPPFLAGS="-I/sandbox/builds/include ...
1
vote
0answers
100 views
Write issues on Linux Samba shares with OS X clients
Our web development company has a Linux server with a Samba share which employees use to develop websites. On the Samba share are numerous directories which serve as document roots for a webserver ...
0
votes
4answers
117 views
SSH Connection timed out even without a valid key
So I have done the same process over and over again and everytime worked perfectly, but on thie particular server it just won't work.
I've tried any written suggestion on the Internet + serverfault ...
0
votes
1answer
104 views
SSH failing from script, working on command line (Git)
Have 3 servers: Local, Bare, Development.
The following workflow works perfectly:
1. Make my local changes
2. git push to Bare
3. ssh into Bare
4. $ ssh ip.of.Development.server "cd ...
2
votes
1answer
101 views
Authenticate Git virtual users via PAM
Can Git authenticate virtual users via PAM? In particular, would Git require some additional utility, such as gitolite or gitosis?
0
votes
2answers
82 views
How to keep groups when pulling with git
I have a staging site that is a working directory of a git repository. How to set up git to let a developer pull out a branch or release without changing the group of the modified files?
An example. ...
2
votes
1answer
62 views
git auto complete freezes terminal when password required
When executing a command such as this
git pull origin BRANCH-1
and hitting tab (auto complete)
I get a password prompt like so:
git pull origin BRANCH-1Password:
Then the terminal freezes. The ...
0
votes
1answer
80 views
Unable to setup git with jailed user
I have performed below steps to setup jailed user
here username is test3
mkdir -p /home/test3/{dev,etc,lib,usr,bin}
mkdir -p /home/test3/usr/bin
chown root.test3 /home/test3
mknod -m 666 ...
1
vote
1answer
47 views
disable viewgit download option
I installed the web browsing interface viewgit on my server, in order to
manage my git repositories. Everything works pretty well, but I bothered by the
download option of every file.
Is there a ...
5
votes
5answers
541 views
Where's the conventionnal place to store git repositories in a linux file system tree?
If I make an analogy with the hosting of a web server, I would say that git's data should be in /var/git, so my git repository would be in /var/git/myrepo
Q: Is that the right guess ?
3
votes
1answer
197 views
Installing Git on Ubuntu 12.04
I installed git with gitolite on my vserver using this tutorial.
But I've got a problem to clone the gitolite-admin repo to my computer.
The user is created with the option --disabled-password
But ...
2
votes
3answers
398 views
SSH does not allow the use of a key with group readable permissions
I have a development git server that deploys to a live server when the live branch is pushed to.
Every user has their own login and therefore the post-receive hook which does the live deployment is ...
0
votes
1answer
124 views
which git returns /usr/bin/git however there is not such path, how do I reinstall git correctly?
I managed to get git to stop working (Mac OSX Mountain Lion)
When I type "git" it doesn't say command not found, just shows an empty line,
Pressing enter again, exits, and does nothing (yes, I know ...
2
votes
1answer
173 views
How to allow a git hook to run an executable with sudo by modifying /etc/sudoers
I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. ...
4
votes
3answers
436 views
Installing git with no idea about machine configuration
I have a user account on a Linux server (x86_64-unknown-linux-gnu, according to this). It apparently has no package managers in the $PATH (yum, apt-get, pkg, pkg-add, emerge, pacman), and it does not ...
2
votes
1answer
246 views
Steps to install & configure Git server, stucked … :(
I've a CentOS 6.2 server and will like to install & configure a Git Server there. I read a lot of documentation at this [1] and [2] for example but I'm stucked because it's a bit complex than SVN ...
0
votes
1answer
61 views
Can't access directory on linux - sticky dir [closed]
My IT guy did something to my git hosting folder, I can't access it from git user, when I login with root I can access the filder, I noticed that it's shown with green background in bash, what to I ...
-2
votes
1answer
353 views
GIT ubuntu 12.04 [closed]
I was wondering if anyone has installed git and gitosis on ubuntu 12.04 if not what is the best version to go for on the new version of ubuntu?
Any recommendations on the best way to set up GIT are ...
3
votes
2answers
294 views
deploy git project and permission issue
I have project hosted with gitolite on my own server, and I would like to deploy the whole project from gitolite bare repository to apache accessible place, by post-receive hook.
I have next hook ...
1
vote
3answers
278 views
git repo for dotfiles - clone to homefolder
I'm learning git, and the test case I'm using it for is keeping a repo of my linux profile settings (.bashrc .profile .tmux.conf etc)
on my main machine, the repo is created at the home folder:
...
1
vote
2answers
399 views
Linux user group configuration for Git bare repository
I'm using a Ubuntu box to host my bare Git repositories for developers to work off.
At the moment I'm creating a user account for each developer on the box because it doubles as a filestore and local ...
0
votes
1answer
131 views
What is the Difference between svn and git [closed]
What are the pros and cons of git and svn. We are suppose to use a subversion systems. Any body have a idea.
Thanks in advance.
2
votes
1answer
147 views
Separate git accounts on linux server
I have a lot of git repositories on my linux (ubuntu) server. I access all of them with the Apache user www-data. This worked great in the past because I was the only web developer. Now I have ...
0
votes
1answer
195 views
Getting error installing Git on centos server
I am trying to install git on centos 5.5 and i am getting this error:
git-email-1.7.7.3-1.w5.x86_64 from webtatic has depsolving problems
--> Missing Dependency: perl(Net::SMTP::SSL) is needed ...
0
votes
1answer
913 views
Permission error with git on linux with bare shared repo
I've got a bare central repo that has this option turned on:
git config core.sharedRepository true
For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
1
vote
2answers
95 views
Permissions in a multiuser Linux environment
This question has been asked many times, but I haven't found a solution for this type of permission.
I have a VPS with multiple websites in chroot, each one running with a unique user, without root ...
2
votes
2answers
188 views
Managing nginx configurations
My goal is to be able to update my server configurations (eg, nginx) quickly and easily using version control (eg, git). One requirement I had in mind was to have the configurations stored inside the ...
1
vote
2answers
741 views
Install gitolite without needing public key(s)?
All of our developers run Windows workstations. We run a Linux development server. I've been wanting to try out running our own git server on the dev server.
After some research I've settled on ...
2
votes
1answer
825 views
Sudo Error “ you must have a tty to run sudo”
I am trying to run the following command:
sudo git pull;
I get the following error:
Command failed: sudo: sorry, you must have a tty to run sudo
The command is being run from a nodejs server ...
1
vote
0answers
171 views
GIT Private Repository - SSH Access to Sub Domain on MediaTemple.net
I created a GIT Repository on one of my servers at MediaTemple.net the one I'm using is a (gs) Server. The repo was created on a subdomain (git.example.com)
I then created two user accounts with SSH ...
3
votes
1answer
915 views
How can I install the current stable version of Git on CentOS?
I'm interested in installing Git on a CentOS Linux 5.4 host.
The installation instructions in the Pro Git book online offer two avenues: installing from source or using the host's package management ...
0
votes
2answers
621 views
Point apache to NAS folder?
I have a NAS on which I have a RAID 10 array that I use as my GIT repository, I like my clients to have access to the site's builds right down to the latest commit.
My plan is like so:
____________ ...
0
votes
2answers
644 views
Git daemon doesn't work properly when run from xinetd
I'm trying to set up a git public repository for my team.
I have installed Git on a linux box (RedHat 5.6).
As a first step, i'm trying to configure Git to use the git protocol, by setting it up to ...
3
votes
1answer
77 views
Two asterisks in filename **/*
What does a file name like some_directory/**/* mean? It's a part of git's .gitignore file.
2
votes
1answer
230 views
Installing packages without internet access
I am trying to install git on a SUSE linux server that, to all intents and purposes, doesn't have internet access. It would appear that I also need to install some dependencies for git.
Is there ...
0
votes
1answer
165 views
Gitosis & an existing repository
I've successfully installed Gitosis. I added a repositories to it. However the Gitosis docs are very sparse, so I have a question:
I've got a working copy of some repository on the same machine where ...
1
vote
2answers
394 views
Sudoers config to allow arguments for git post-commit script
We have a git post-commit script that needs to be run with Git and Trac, when someone commits something a hook is a called that runs the command:
trac-admin /path/to/trac changeset added "reponame" ...
0
votes
1answer
93 views
VCS System that preserves Unix file permissions?
I'm looking for a simple revision control system for server configs. Something like works like git, but preserves Unix file permissions. And is NOT RCS.
Any tips?
Thanks!
1
vote
1answer
458 views
Version-control of configuration files with different home names?
I have recently decided to use a version-control system to share my configuration files between my different linux installs.
After reading another thread I found on this subject, I'm planning to do ...
2
votes
3answers
292 views
Which *light* ubuntu to use as a git central server?
At my company we're currently using a self-deployed copy of the http://gitorious.org code to manage our repositories..
It's an absolute monster!!
Gitorious is a very heavy ruby on rails app and the ...
0
votes
4answers
156 views
Git not found by yum..installed from source but git still not recognized
I have a Centos server that I tried to yum install git and git-core and all that and I just consistently got the error message that the git package wasn't found. So I installed it from source ...
3
votes
1answer
591 views
Update Git super repository automatically when a submodule gets updated
in our company we have a huge code base (>100000 files) and so we keep it in several git repositories. So we have a forest of repositories and one super repository containing only submodule references ...
2
votes
3answers
2k views
Use git for multiple server configuration files
We have migrated a lot of source code over to git and are very happy with our current solution. We would like to have our server configuration files versioned on the same system, but there are a few ...
4
votes
4answers
639 views
Putting a whole linux server under source control (git)
I am thinking about putting my whole linux server under version control using git. The reason behind it being that that might be the easiest way to detect malicious modifications/rootkits. All I would ...
1
vote
1answer
160 views
Git with Password rather than public key
I have a git server running for a small group to check into and I am wondering if there is a way to set it up so the user can log in with their password rather than having to use a public key?
Thanks ...
0
votes
2answers
797 views
gitolite post commit hook to update redmine's repository
I currently have a ubuntu server machine which has gitolite and redmine installed. Redmine accesses repository copies which are updated using a cron task.
Having a cron task to pull the updates seems ...
5
votes
2answers
1k views
push commits to git (gitolite) repository messes up file permissions (no more trac access)
already posted here so feel free to answer there.
everytime i commit/push something to the git server the file permissions change (all added/edited files in the repository have no read and execute ...