Mise en place de Sparkleshare sur serveur Debian & client Ubuntu : Différence entre versions
De wikiGite
Ligne 24 : | Ligne 24 : | ||
chown -R git . | chown -R git . | ||
− | == Côté Client == | + | == Côté Client (Ubuntu) == |
=== Installation des pré-requis === | === Installation des pré-requis === | ||
Ligne 42 : | Ligne 42 : | ||
./configure --prefix=/opt/sparkleshare | ./configure --prefix=/opt/sparkleshare | ||
− | |||
− | |||
make | make | ||
Ligne 50 : | Ligne 48 : | ||
cd /opt/sparkleshare/bin | cd /opt/sparkleshare/bin | ||
./sparkleshare start | ./sparkleshare start | ||
+ | |||
+ | <u>Remarque</u> --> Si souci avec mono lors de la compilation de Sparkleshare : | ||
+ | sudo apt-get remove mono-runtime | ||
+ | sudo apt-get install mono-runtime | ||
=== Configuration de SSH === | === Configuration de SSH === |
Version du 5 janvier 2012 à 11:05
Côté Serveur (Debian Squeeze)
Installation des pré-requis (obligatoire sur le serveur)
apt-get install mono-runtime mono-devel monodevelop mono-mcs mono-gmcs
apt-get install gtk-sharp2 libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev
Installation de Git et openssh-server
apt-get install git openssh-server
Configuration de Git
adduser --disabled-password git cd /home/git git init --bare sparkleshare
Configuration de SSH
mkdir .ssh vi .ssh/authorized_keys
mettre la clé SSH du/des poste(s) client(s)
chmod 700 .ssh chmod 600 .ssh/authorized_keys chown -R git .
Côté Client (Ubuntu)
Installation des pré-requis
sudo apt-get install intltool sudo apt-get install mono-runtime sudo apt-get install git
sudo apt-get update
mkdir /opt/sparkleshare
wget https://github.com/downloads/hbons/SparkleShare/ tar xzf sparkleshare-0.6.0.tar.gz
cd sparkleshare-0.6.0
./configure --prefix=/opt/sparkleshare
make sudo make install
cd /opt/sparkleshare/bin ./sparkleshare start
Remarque --> Si souci avec mono lors de la compilation de Sparkleshare :
sudo apt-get remove mono-runtime sudo apt-get install mono-runtime
Configuration de SSH
Mettre sa clé SSH sur le serveur dans /home/git/.ssh/authorized_keys
Puis dans l'interface de Sparkleshare, ajouter un "projet" :
- Choisir Own Server
- Exemple : <nom_serveur>.kogite.fr
- Exemple : /home/git/sparkleshare