Changes

From Amahi Wiki
Jump to: navigation, search
10 bytes removed ,  22:41, 13 March 2012
<li>Choose '''Create'''</li>
<li>[[Open_Terminal_as_root|Open a terminal as root]] user and do the following:
<li>Install dependencies{{Code|cd /etc/httpd/conf.dyum -y install git git-daemon gitweb}}</li><li>Look for the ''####-gitweb.conf'' in ''/etc/httpd/conf.d'' (#### is some number, i.e. 1000) file and open it in your favorite editor. Add text after '''ServerAlias''' line
{{Text|Text=Alias /git /var/hda/web-apps/gitweb/html/
RewriteEngine On
chown apache.users html/index.html}}</li>
</ol>
<li>Install dependencies
{{Code|yum -y install git git-daemon gitweb}}</li>
<li>Add user
{{Code|useradd -U -d /var/cache/git -s /usr/libexec/git-core/git-shell git}}</li>
12,424

edits