Benutzer-Werkzeuge

Webseiten-Werkzeuge


server:joel:gitweb:installation

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
server:joel:gitweb:installation [2012/12/12 17:34] benhserver:joel:gitweb:installation [Datum unbekannt] (aktuell) – gelöscht - Externe Bearbeitung (Datum unbekannt) 127.0.0.1
Zeile 1: Zeile 1:
-====== gitweb (git.feggm.de) ====== 
-===== Installation ===== 
-  - install package through repository\\ <code bash>apt-get install gitweb</code> 
-  - create web-directory\\ <code bash>mkdir -p /var/www/git/cgi-bin</code> 
-  - create soft-link for gitweb.cgi\\ <code bash>ln -s /usr/lib/cgi-bin/gitweb.cgi /var/www/git/cgi-bin</code> 
-  - copy gitweb files to web-directory\\ <code bash>cp -a /usr/share/gitweb/* /var/www/git</code> 
-  - enable apache rewrite module\\ <code bash>a2enmod rewrite</code> 
-  - create vhost config-file\\ <code bash>vi /etc/apache2/sites-available/git</code> 
-    * [[server:joel:gitweb:vhost-config|gitweb - Virtual Host Configuration]] 
-  - enable virtual host\\ <code bash>a2ensite git</code> 
-  - add apache-user (e.g. www-data) to git-group (e.g. git) 
-  - create softlink to public repo\\ <code bash>ln -s /var/git/repositories/sample.git /var/cache/git/</code> 
-  - add a description to the repository\\ <code bash>vi /var/git/repositories/sample.git/description</code> 
-  - set owner of repository\\ <code bash>vi /var/git/repositories/sample.git/config</code> 
-    * <code>[gitweb] 
-      owner = "Your name"</code> 
-  - restart apache\\ <code>service apache2 restart</code> 
- 
-<note>Repeat the steps 9 to 11 for all repositories which should be accessible through gitweb.</note> 
- 
-===== Custom Theme ===== 
-<code bash> 
-cd /var/www/git/ 
-git clone https://github.com/kogakure/gitweb-theme.git 
-cd static 
-mv gitweb.css gitweb_original.css 
-mv gitweb.js gitweb_original.js 
-mv git-logo.png git-logo_original.png 
-mv git-favicon.png git-favicon_original.png 
-ln -s ../gitweb-theme/gitweb.css gitweb.css 
-ln -s ../gitweb-theme/gitweb.js gitweb.js 
-ln -s ../gitweb-theme/git-logo.png git-logo.png 
-ln -s ../gitweb-theme/git-favicon.png git-favicon.png 
-</code> 
-<note>The repository has been cloned to [[https://git.feggm.de/?p=gitweb-theme.git;a=summary|git.feggm.de]]</note> 
- 
- 
  
server/joel/gitweb/installation.1355330053.txt.gz · Zuletzt geändert: (Externe Bearbeitung)