0937.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Lychee - Photo Management System - On Windows</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,Install Guide,Self-Hosted,Web Based,Web Based Tools,Google Photos Alternative,Windows,Photo Management,Photo Manager,Photo Organizer,Lychee,Lychee Photo Management,Microsoft Windows,XAMPP,MariaDB,MySQL,PHP,PHP Based Application,Home Lab Ideas,Home Lab,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Lychee - Photo Management System - On Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="08/11/2024 09:41:53 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 Lychee - Photo Management System - On Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Lychee?</h2>
  26. <blockquote><em>Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. -<a href="https://lycheeorg.github.io/" target="_blank">https://lycheeorg.github.io/</a></em></blockquote>
  27. <h2>Installation</h2>
  28. <ol>
  29. <li>Download XAMPP <a href="https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/" target="_blank">Download</a></li>
  30. <li>Download Lychee <a href="https://github.com/LycheeOrg/Lychee/releases/latest" target="_blank">Download</a></li>
  31. <li><label for="cb_li_917989_0">Download Microsoft Visual C++ </label><label for="cb_li_917989_0"><a href="https://aka.ms/vs/16/release/vc_redist.x64.exe" target="_blank">Download</a></label></li>
  32. <li>Install Microsoft Visual C++</li>
  33. <li>Right click the downloaded XAMPP file &gt; Extract All...</li>
  34. <li>Right click the downloaded Lychee.zip file &gt; Extract All...</li>
  35. <li>Rename the Extracted folder lychee (all lowercase)</li>
  36. <li>Cut the lychee folder inside the XAMPP directory</li>
  37. <li>Navigate back to the Downloads directory and copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example</li>
  38. <li>Run XAMPP/setup_xampp.bat to update the configuration files with the new server location</li>
  39. <li>Navigate into XAMPP/PHP and edit php.ini in a text editor</li>
  40. <li>Find the list of extensions and make sure the following are enabled by removing the ; at the start of the line
  41. <p>extension=curl<br />
  42. extension=fileinfo<br />
  43. extension=gd<br />
  44. extension=xsl<br />
  45. extension=mbstring<br />
  46. extension=mysqli<br />
  47. extension=pdo_mysql</p>
  48. </li>
  49. <li>Save the changes to php.ini</li>
  50. <li>Navigate into XAMPP/Apache/conf and edit httpd.conf in a text editor</li>
  51. <li>Paste the following at the bottom of the httpd.conf file
  52. <p>Alias /lychee &quot;C:/Program Files/xampp/lychee/public&quot;<br />
  53. &lt;Directory &quot;C:/Program Files/xampp/lychee/public&quot;&gt;<br />
  54. # enable the .htaccess rewrites<br />
  55. AllowOverride All<br />
  56. Options +FollowSymLinks<br />
  57. Require all granted<br />
  58. Order allow,deny<br />
  59. Allow from All<br />
  60. &lt;/Directory&gt;</p>
  61. </li>
  62. <li>Save the changes and close out of the editor</li>
  63. <li>Back in File Explorer, run XAMPP/xampp-control.exe</li>
  64. <li>Click the Start buttons next to Apache and MySQL</li>
  65. <li>Navigate to XAMPP/mysql/bin</li>
  66. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell window here...</li>
  67. <li>Run the following commands in the PowerShell window to setup the database
  68. <div class="codeBlock PS">.\mysql -u root<br />
  69. CREATE DATABASE lychee;<br />
  70. GRANT ALL ON lychee.* to &#39;lychee_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;Lych33!&#39;;<br />
  71. FLUSH PRIVILEGES;<br />
  72. EXIT;<br />
  73. exit</div>
  74. </li>
  75. </ol>
  76. <h2>Lychee Web Installer</h2>
  77. <ol>
  78. <li>Open a web browser and navigate to http://DNSorIP/lychee</li>
  79. <li>Click Next at the Lychee welcome screen</li>
  80. <li>Click Next at the Requirements Check</li>
  81. <li>Click Next at the Permissions Check</li>
  82. <li>Update at least the following values in the
  83. <p>APP_URL=http://DNSorIP<br />
  84. APP_DIR=/lychee<br />
  85. <br />
  86. DB_CONNECTION=mysql<br />
  87. DB_HOST=localhost<br />
  88. DB_PORT=3306<br />
  89. DB_DATABASE=lychee<br />
  90. DB_USERNAME=lychee_rw<br />
  91. DB_PASSWORD=Lych33!</p>
  92. </li>
  93. <li>Click Save &gt; Click Install</li>
  94. <li>Once the installation completes click Set up admin account</li>
  95. <li>Enter a Username &gt; Enter and confirm a Password &gt; Click Create admin account</li>
  96. <li>Click Open Lychee</li>
  97. </ol>
  98. <p>Documentation: <a href="https://lycheeorg.github.io/docs/#installation" target="_blank">https://lycheeorg.github.io/docs/#installation</a></p> </div>
  99. </div>
  100. </body>
  101. </html>