0795.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Organizr - A Homelab Services Organizer/Dashboard - on Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Application Dashboard,Homelab Dashboard,Linux,MariaDB,MySQL,Organizr,Organizr Application Dashboard,Organizr V2,PHP,Homelab,Debian,Ubuntu,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Organizr - A Homelab Services Organizer/Dashboard - on Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="12/09/2023 01:12:40 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install Organizr - A Homelab Services Organizer/Dashboard - on Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Organizr?</h2>
  26. <blockquote><em>ORGANIZR aims to be your one stop shop for your Servers Frontend. Do you have quite a bit of services running on your computer or server? Do you have a lot of bookmarks or have to memorize a bunch of ip&rsquo;s and ports? Well, Organizr is here to help with that... -<a href="https://organizr.app/" target="_blank">https://organizr.app/</a></em></blockquote>
  27. <h2>Installation</h2>
  28. <ol>
  29. <li>Log into the Linux device</li>
  30. <li>Run the following commands in a terminal window:
  31. <div class="codeBlock"># update software repositories<br />
  32. sudo apt <span class="codeBlock">update</span><br />
  33. # install <span class="codeBlock">available</span> software updates<br />
  34. sudo apt upgrade -y<br />
  35. # install prerequisites<br />
  36. <span class="codeBlock">sudo</span> apt install curl wget zip git openssl -y<br />
  37. # install Apache HTTPD and SQLite<br />
  38. <span class="codeBlock">sudo apt install apache2 sqlite3 -y<br />
  39. # install PHP components<br />
  40. sudo apt install php7.4 libapache2-mod-php <span style="display: none;"> </span><span style="display: none;"> </span>php7.4-common <span style="display: none;"> </span><span style="display: none;"> </span>php7.4-mysql php7.4-sqlite3 php7.4-xml php7.4-zip php7.4-curl php7.4-fpm -y<br />
  41. # download the latest organizr release<br />
  42. wget -O ./organizr.zip https://github.com/causefx/Organizr/archive/v2-master.zip<br />
  43. # extract the downloaded zip to /var/www/html<br />
  44. sudo unzip ./organizr.zip -d /var/www/html<br />
  45. # rename the extracted folder organizr<br />
  46. sudo mv /var/www/html/Organizr* /var/www/html/organizr<br />
  47. # set the owner of the organizr directory<br />
  48. sudo chown -R www-data:www-data /var/www/html/organizr<br />
  49. # create <span style="display: none;"> </span>organizr apache configuration<br />
  50. sudo nano /etc/apache2/sites-available/organizr.conf</span><span style="display: none;"> </span></div>
  51. </li>
  52. <li>Paste the following configuration into organizr.conf
  53. <p>&lt;Directory /var/www/html/organizr&gt;<br />
  54. Options Indexes FollowSymLinks<br />
  55. AllowOverride All<br />
  56. Require all granted<br />
  57. RewriteEngine On<br />
  58. RewriteCond %{REQUEST_FILENAME} !-f<br />
  59. RewriteCond %{REQUEST_FILENAME} !-d<br />
  60. RewriteRule ^ /organizr/api/v2/index.php [QSA,L]<br />
  61. &lt;/Directory&gt;</p>
  62. </li>
  63. <li>Press <span class="codeBlock">CTRL+O,</span> Enter, CTRL+X to write the changes</li>
  64. <li>Run the following command to enable the O<span class="codeBlock">rganizr </span>site
  65. <div class="codeBlock"># enable rewrite module<br />
  66. sudo a2enmod rewrite<br />
  67. # enable the <span class="codeBlock">organizr </span>site<br />
  68. sudo a2ensite <span class="codeBlock">organizr</span><br />
  69. # restart the apache2 service<br />
  70. <span class="codeBlock">sudo systemctl restart apache2<br />
  71. # generate a random string<br />
  72. head /dev/urandom | LC_ALL=C tr -dc &#39;A-Za-z0-9&#39; | head -c 30</span></div>
  73. </li>
  74. </ol>
  75. <h2>Organizr Web Installer</h2>
  76. <ol>
  77. <li>Open a web browser and navigate to http://DNSorIP/organizr</li>
  78. <li>Set the Installation Type to Personal &gt; Click Next</li>
  79. <li>Complete the registration form by entering a username, email address and password &gt; Click Next</li>
  80. <li>Copy the randomly generated string from the open terminal and paste it in the Hash Key field</li>
  81. <li>Enter a Registration Password &gt; Click Next</li>
  82. <li>Enter organizr.db as the Database Name and /var/www/html/organizr/data/ as the Database Path &gt; Click Test / Create Path &gt; Click Next</li>
  83. <li>Review the summary &gt; Click Finish</li>
  84. <li>Welcome to Organizr</li>
  85. </ol>
  86. <p>Source: <a href="https://docs.organizr.app/installation/prerequisites/installing-php" target="_blank">https://docs.organizr.app/installation/prerequisites/installing-php</a></p> </div>
  87. </div>
  88. </body>
  89. </html>