Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[HOW-TO] Git Server

Featured Replies

  • 1 year later...

How does this work without ssh daemon on unRAID? There's nothing mentioned about installing an ssh daemon..

  • Author

You are correct. The whole setup is heavily based upon OpenSSH which is fairly simple to install on unRaid (via installpkg or as an add-on).

  • 2 weeks later...

Ok well, I broke down the commands that are need to get git working to the following ones*:

 

# Download required packages
wget http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/d/git-1.7.12.1-i486-1.txz /boot/packages
wget http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/a/openssl-solibs-1.0.1c-i486-3.txz /boot/packages

# Install them
installpkg /boot/packages/openssl-solibs-1.0.1c-i486-3.txz
installpkg /boot/packages/git-1.7.12.1-i486-1.txz

# need to find fix for warning that occurs when using git -> "libz.so.1: no version information available"


# Create git user
#useradd -m -d /home/git -s /usr/bin/git-shell git
# Better set home directory to Usershare (more convenient to use for clients: [email protected]:~/repo.git instead of: [email protected]:/mnt/user/...
useradd -d /mnt/user/gitrepos -s /usr/bin/git-shell git


# Set either password to "aaa" for e.g.
echo git:aaa | chpasswd
# or add public keys for password-less use
echo [content of user's is_rsa.pub] >> ~/.ssh/authorized_keys


# Create Repo
mkdir /tmp/test.git && git init --bare /tmp/test.git

# Execute creation as git user (no need to change rights via chown)
/bin/su - git -s /bin/bash -c "mkdir /mnt/user/gitrepos/test.git && git init --bare /mnt/user/gitrepos/test.git"

 

*assumed that some SSH daemon like this one http://lime-technology.com/forum/index.php?topic=20848.0 is already installed and working

 

After some holidays down under, I might work on something like a plugin for unRaid's webinterface.. will think about it ^.^

  • 2 months later...

I've created a graphical plugin for Git:

 

2013-04-19_Bildschirmfoto_2013-04-18_um_22.17.19.png

 

I named the version number "0.1-beta",

if you want to try download the ungit-01-beta.plg from here: https://github.com/seim/ungit

And read the instructions first!

  • Author

Sweet!

 

Nice to have an all-in-one solution with GUI. Now I'm running a fairly old version of unRAID (5.0-beta14) so I'm not sure it will work.

Ok that's a bit old :D

 

I've no idea.. it relies on a working installation of openssh and it basically adds a new user with a certain home directory on every boot. You could try it on some VM first, I always do that before I put a new plugin on my real unraid machine with all my data on it.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.