Configuration Apple-pi - Raspbian: Difference between revisions

From miki
Jump to navigation Jump to search
Line 23: Line 23:
<source lang=bash>
<source lang=bash>
# Setup git repo main directory
# Setup git repo main directory
sudo useradd -s /usr/bin/git-shell -m git
sudo useradd -s /usr/bin/git-shell -m git # User both for ssh: and git: protocol access (shell disabled)
sudo su -p git # Notice -p since shell is disabled
sudo su -p git
cd ~git
cd ~git
mkdir git # This directory will store all .git repo
mkdir git # This directory will store all .git repo
mkdir .ssh
cat ... >> .ssh/authorized_keys # Add keys of user that can use the ssh: protocol
</source>
* Install '''git-daemon''' (enable ''git:'' protocol):
<source lang=bash>
sudo apt-get install git-daemon-sysvinit
sudo vi /etc/default/git-daemon # Change user to 'git'
sudo /etc/init.d/git-daemon start # Start daemon
</source>
</source>
* Setup '''minecraft.git''':
* Setup '''minecraft.git''':
<source lang=bash>
<source lang=bash>
sudo su -p git # or sudo su -s /bin/bash git
sudo su -p git # or sudo su -s /bin/bash git
cd ~git/git
cd ~git/git
git init --bare minecraft.git
git init --bare minecraft.git

Revision as of 23:10, 28 June 2013

Configuration Page

Introduction

This is the configuration page for the Raspbian partition on Apple-pi.

Configuration Files

All configuration files can be found here.

Repositories

To be completed.

Installed Applications

Common applications

Some application from the Common configuration for Linux, namely:

sudo apt-get install git etckeeper libnss-mdns avahi-daemon mdns-scan mc autossh vim-gnome tmux

Essential

Git (git)
# Setup git repo main directory
sudo useradd -s /usr/bin/git-shell -m git   # User both for ssh: and git: protocol access (shell disabled)
sudo su -p git                              # Notice -p since shell is disabled
cd ~git
mkdir git                                   # This directory will store all .git repo
mkdir .ssh
cat ... >> .ssh/authorized_keys             # Add keys of user that can use the ssh: protocol
  • Install git-daemon (enable git: protocol):
sudo apt-get install git-daemon-sysvinit
sudo vi /etc/default/git-daemon             # Change user to 'git'
sudo /etc/init.d/git-daemon start           # Start daemon
  • Setup minecraft.git:
sudo su -p git                              # or sudo su -s /bin/bash git
cd ~git/git
git init --bare minecraft.git
cd minecraft.git
touch git-daemon-export-ok
git config --add daemon.receivepack true    # no hyphen in receivepack!
exit
sudo ln -sf ~git/git/minecraft.git /var/cache/git/minecraft.git

Local Applications

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Uninstalled

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Settings

Category [YYYY-MM-DD] Update
Additional configuration settings


To Do

Issues

  • Issue — To be completed
  • To Do — Description

Done & Fixed

  • Fixed — Issue description
    Fix description
  • Done — Description