Git on a ReadyNAS NV+
Installing git on a ReadyNAS NV+ is fairly straightforward if you are familiar with the linux command line. First you will need a remote shell with which to login and execute commands. In my previous post I described installing SSH on ReadyNAS.
You can then use the linux APT (Advanced Package Tool) command to install git. APT is a convenient way to install software packages using the command line. Before you do that you need to install APT, but it's easy to do and worth it. Finding and installing APT is the same as it was for SSH, which I described in my previous post (so go read that post).
Now that APT is installed, ensure that your /etc/apt/sources.list contains the following:
deb http://www.readynas.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free
If you know how to use vi, editing this file won't be difficult. I've never been desperate enough to learn vi, so I cat'd the file into a new file under /c/home/<myuserfolder> and edited there with emacs, then copied it back and verified the permissions.
- apt-get update
- apt-get install git-core
- apt-get clean
Thanks to this forum post for the above information.
To read about setting up your remote git repository over ssh you might want to look at one of these two posts: