0590.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Homer Application 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,Linux,Debian,Application Dashboard,Homer,Homer Application Dashboard,NodeJS,Homelab Dashboard,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Homer Application Dashboard on Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="10/14/2023 02:45:44 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 Homer Application Dashboard on Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Homer?</h2>
  26. <blockquote>
  27. <p><em>A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file. -<a href="https://github.com/bastienwirtz/homer" target="_blank">https://github.com/bastienwirtz/homer</a></em></p>
  28. </blockquote>
  29. <ol>
  30. <li>Log into the Linux device</li>
  31. <li>Run the following commands in a terminal window
  32. <div class="codeBlock"># update software repositories<br />
  33. sudo apt update<br />
  34. # install available software updates<br />
  35. sudo apt upgrade -y<br />
  36. # install prerequisites<br />
  37. sudo apt install git curl apache2 -y<br />
  38. # add nodejs software repository<br />
  39. curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -<br />
  40. # install nodejs<br />
  41. sudo apt install nodejs -y<br />
  42. # clone the homer git repository<br />
  43. git clone https://github.com/bastienwirtz/homer.git ./homer<br />
  44. # change directory to the source code<br />
  45. cd homer<br />
  46. # checkout the latest version<br />
  47. git checkout &quot;$(git tag --sort=v:refname | tail -n1)&quot;<br />
  48. # clean npm cache<br />
  49. npm cache clean --force<br />
  50. # install npm dependencies<br />
  51. npm install<br />
  52. # fix npm vulnerabilities<br />
  53. npm audit fix<br />
  54. # build homer<br />
  55. npm run build<br />
  56. # copy the sample config.yml<br />
  57. sudo cp ./dist/assets/config.yml.dist ./dist/assets/config.yml<br />
  58. # copy the dist directory to web root<br />
  59. sudo cp ./dist /var/www/html/homer -r</div>
  60. </li>
  61. <li>Open a web browser and navigate to http://DNSorIP/homer</li>
  62. <li>Welcome to Homer</li>
  63. <li>To make changes to the dashboard, edit the config.yml file with the following command
  64. <div class="codeBlock"># edit homer config.yml<br />
  65. sudo nano /var/www/html/homer/assets/config.yml</div>
  66. </li>
  67. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  68. <li>Back in the web browser, refresh the page to view the changes</li>
  69. </ol> </div>
  70. </div>
  71. </body>
  72. </html>