Unsure of where my git repository is storing files
I’ve made a remote git repository with mkdir /var/www/html/myproject.git chmod 0770 /var/www/html/myproject.git ln -s /var/www/html/myproject.git myproject.git cd myproject.git git –bare init and successfully connected to it and cloned it on my own machine with git clone git@myserver.co.uk:myproject.git then uploaded some files to it git push which when tried again shows that the repository is already up to date. However, I’m looking around on the remote server, and can’t actually find where git has stored those [...]
Continue Reading »Which mirror should I use to download Kernel Xen 6.3?
I’m following this construction to install (version 4.1.2) on a CentOS 6.2 (x86_64) system. When I use this command yum install http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm I face this error: Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: ftp.sh.cvut.cz * extras: ftp.sh.cvut.cz * updates: ftp.sh.cvut.cz Setting up Install Process Cannot open: http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm. Skipping. Error: Nothing to do there is a third-party repository with some mirror list, but I don’t know if I could use them? [...]
Continue Reading »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 if I try to clone with git clone git@<server>:gitolite-admin.git he asks not only for the passphrase of my rsa_key but also for the password of the gituser. Anyone an idea? I thought the user is created without password and I don’t know [...]
Continue Reading »Errors while trying to install gitolite
I’m trying to get up and running gitolite as the instructions said at this http://sitaramc.github.com/gitolite/qi.html but when I run the command: [git@devserver gitolite]$ src/gitolite install -ln FATAL: errors found before logfile could be created FATAL: die unknown gitolite sub-command I get the errors above, what I’m doing wrong? I create the git user as: useradd -d /data/gitrepos git And then cd to /data/gitrepos and clone the gitolite repo with the following command: git clone git://github.com/sitaramc/gitolite [...]
Continue Reading »cURL newest version on Debia Squeeze
Why Debian Squeeze repositories points to cURL version 7.21.0 which is from June 2010 and not the version 7.26.0 which is from May of this year(cURL Changelog)?? I want to update to the version 7.26 to avoid NTLM bugs, can I do this or it will crash the system in any way? If yes, how do I do it?? Asked by PlxDontVoteMeDown Debian 6.0 (squeeze) was released in 2011, so it can not come with [...]
Continue Reading »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: base=/home/bvector/ files=/home/bvector/.profile, etc but when I go to clone the repo on machine2, it goes to /home/bvector/home (as the repo is called home) base=/home/bvector/home/ files=/home/bvector/home/.profile, etc Is there a way to have the cloned repo be based in my [...]
Continue Reading »Force nginx 1.0 on Amazon EC AMI
I’m trying to install nginx from the nginx official repositories. I downloaded the nginx-release-rhel*.rpm from nginx.org and installed it with yum. But, altough a new nginx-debug package is available from the new nginx repo, the available version for nginx is 0.8.54. What can I do to force the installation of nginx 1.0.X? Edit: More information with configuration files. This is the /etc/yum.repos.d/nginx.repo file: [nginx] name=nginx repo baseurl=http://nginx.org/packages/rhel/6/$basearch/ gpgcheck=0 enabled=1 This is what uname -a has [...]
Continue Reading »mark rpm package as automatically installed
On debian systems I can use ‘aptitude markauto’ and ‘aptitude unmarkauto’ to mark packages as manually or automatically installed. I use this to remove unneeded packages by marking the packages I know I want. Then ‘apt-get autoremove’ will remove all packages that are not needed. I’m now on a fedora system and would like a similar feature in either rpm or yum or other program. Does rpm/yum even have a concept of manual/auto installed packages [...]
Continue Reading »centos ruby 1.8.7 repository
I can’t find a repository that contains ruby 1.8.7. All repos only contain 1.8.5 or 1.8.6 versions. Does anyone know of any repos with ruby-1.8.7? Asked by wishbear RBEL Repo provides Ruby packages for RHEL based distro’s. Answered by CS3 Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a friend
Continue Reading »Remove All Repositories – CentOS (Can’t Download Normal Stuff Anymore)
Any time I do yum install ___, what used to be normally accessible is no longer so. I think it is because of an installed repository causing the issue. How do I remove all repositories? Asked by Gray Adams Try cleaning yum. clean [ packages | headers | metadata | cache | dbcache | all ] Answered by mdpc Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share [...]
Continue Reading »


