linux.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. title: "Linux",
  3. crumbs: [
  4. { 'Getting Started': '../start/' },
  5. { 'Installing': 'installing.html' },
  6. ],
  7. }
  8. <h1>Installing on Linux</h1>
  9. <p>Running GoAhead on Linux is supported by building from source code. </p>
  10. <p>Please see instructions at <a href="source.html">Building from Source</a>.</p>
  11. <!--
  12. <p>The GoAhead install distribution for LINUX is published in three formats:</p>
  13. <ul>
  14. <li>Native RPM format for RPM based systems such as Fedora</li>
  15. <li>Native Debian format for Debian based systems such as Ubuntu</li>
  16. <li>Tar format for custom/self installs</li>
  17. </ul>
  18. <p>It is recommended that you use either the native formats (if your system supports it) as these will
  19. register the software installation with the system's software manager. The self-install format consists of
  20. tar archives that you can manually extract for maximum control over the placement of the product files.</p>
  21. <p>All formats contain a binary distribution, documentation and development headers and libraries in the
  22. one package. During installation you will have the option of installing the full distribution or just
  23. portions.</p><a id="native"></a>
  24. <h2 >Installing the RPM or Debian Images</h2>
  25. <ol>
  26. <li>Uncompress and extract the image:
  27. <pre class="ui code segment">
  28. tar xvfz goahead-VERSION-DIST-LINUX-CPU.FMT.tgz
  29. </pre>
  30. <p>Where VERSION is the current version (e.g. 1.2.3-1), and DIST is the name of the Linux
  31. distribution (e.g. fedora), and FMT is either <b>rpm</b> or <b>deb</b>.</p>
  32. </li>
  33. <li>Then start the installation with administrator privilege:
  34. <pre class="ui code segment">
  35. sudo ./install
  36. </pre>
  37. </li>
  38. </ol><a id="self"></a>
  39. <h2 >Installing the Self-Install Image</h2>
  40. <ol>
  41. <li>Uncompress and extract the image:
  42. <pre class="ui code segment">
  43. tar xvfz goahead-VERSION-DIST-LINUX-CPU.tgz
  44. </pre>
  45. </li>
  46. <li>Then start the installation with administrator privilege:
  47. <pre class="ui code segment">
  48. sudo ./install
  49. </pre>
  50. </li>
  51. </ol><a id="removing"></a>
  52. <h2 >Removing GoAhead</h2>
  53. <ol>
  54. <li>Change directory to the installation directory for GoAhead. This is usually
  55. <b>/usr/lib/goahead</b></li>
  56. <li>Run the uninstall script in the install directory for goahead:
  57. <pre class="ui code segment">
  58. sudo ./uninstall
  59. </pre>
  60. </li>
  61. </ol>
  62. -->
  63. <a id="running"></a>
  64. <h2 >Running GoAhead</h2>
  65. <p>To start GoAhead type:</p>
  66. <pre class="ui code segment">
  67. sudo goahead --home /etc/goahead
  68. </pre>
  69. <p>GoAhead is configured by default to listen on port 80. To test that it is serving pages, point your
  70. browser at http://localhost/.
  71. <p>To get all the options for GoAhead read the man page via:</p>
  72. <pre class="ui code segment">
  73. man goahead
  74. </pre>or get the command help via:
  75. <pre class="ui code segment">
  76. goahead --help
  77. </pre>