This file is indexed.

/usr/share/bibledit-gtk/site/gtk/tutorials/collaboration/2reposetup/open-network-repository-setup.html is in bibledit-gtk-data 4.9-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="../../../../bibledit.css" rel="stylesheet" type="text/css" /><!-- 

Copyright (©) 2003-2011 Teus Benschop and Contributors to the Wiki.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.  A copy of the license is included in the section entitled "GNU
Free Documentation License" in the file FDL.

-->
    <title></title>
  </head>
  <body>
    <div id="menu">
      <ul>
        <li>
          <a href="../../../../home.html">1 Bibledit</a>
        </li>
        <li>
          <a href="../2reposetup.html">2reposetup</a>
        </li>
        <li style="list-style: none; display: inline">
          <hr />
        </li>
        <li>Open network repository setup
        </li>
        <li>
          <a href="secure-network-repository-setup.html">Secure network repository setup</a>
        </li>
        <li>
          <a href="secure-shell-keys-setup.html">Secure shell keys setup</a>
        </li>
        <li>
          <a href="usb-flash-drive-repository-setup.html">USB flash drive repository setup</a>
        </li>
      </ul>
    </div>
    <div id="content">
      <h1>
        Open network repository setup
      </h1>
      <p>
        In this tutorial we are going to set up an open repository on the network.
      </p>
      <p>
        To create the repository on we need a server. Any of your Linux computers that is attached to your network will do. In this tutorial we assume that the computer is accessible from the network through IP address 192.168.0.1. The user of this computer will be Jim.
      </p>
      <p>
        To create the repository, login as user jim. Then open a terminal. The repository is going to be in Jim's home directory. In the terminal type the following:
      </p>
      <pre>
cd
</pre>
      <pre>
mkdir -p git/repository
</pre>
      <pre>
cd git/repository
</pre>
      <pre>
git --bare init --shared
</pre>
      <p>
        The repository is now there, but it is not yet accessible from the network.
      </p>
      <p>
        To make the repository available to the network, type
      </p>
      <pre>
git daemon --export-all --base-path=/home/jim/git --detach --enable=receive-pack
</pre>
      <p>
        Each time that the server boots, it is necessary to execute the above command again. It would be easier to put the command in the boot script. Then it will automatically be started after boot.
      </p>
      <p>
        To test access to the new repository from another computer on the network, type
      </p>
      <pre>
git ls-remote git://192.168.0.1/repository
</pre>
      <p>
        If everything is fine, no errors will occur.
      </p>
      <p>
        The repository that was created in this tutorial has the following URL:
      </p>
      <pre>
git://192.168.0.1/repository
</pre>
      <p>
        The users that are going to use this repository need this URL.
      </p>
    </div>
  </body>
</html>