0423.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Heimdall Application Dashboard on Existing Apache Webserver</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="How To,Tutorial,i12bretro,Heimdall,Application Dashboard,PHP,Apache HTTPD,Web Server">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Heimdall Application Dashboard on Existing Apache Webserver">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  12. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  13. <script type="text/javascript" src="includes/js/steps.js"></script>
  14. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  15. </head>
  16. <body>
  17. <div id="gridContainer">
  18. <div class="topMargin"></div>
  19. <div id="listName" class="topMargin">
  20. <h1>Installing Heimdall Application Dashboard on Existing Apache Webserver</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <ol>
  25. <li>Log into the Linux web server and run the following commands in terminal
  26. <div class="codeBlock"># update software repositories<br />
  27. sudo apt update<br />
  28. # install available software updates<br />
  29. sudo apt upgrade -y<br />
  30. # install git<br />
  31. sudo apt install git<br />
  32. # create heimdall install directory<br />
  33. sudo mkdir /var/www/heimdall<br />
  34. # clone the git repository to the working directory<br />
  35. sudo git clone https://github.com/linuxserver/Heimdall.git /var/www/heimdall<br />
  36. # cd to the working directory<br />
  37. cd /var/www/heimdall<br />
  38. # generate artisan key, if prompted answer yes<br />
  39. sudo php artisan key:generate<br />
  40. # make www-data the owner<br />
  41. sudo chown -R www-data:www-data /var/www/heimdall<br />
  42. # set permissions<br />
  43. sudo chmod -R 755 /var/www/heimdall/<br />
  44. # create heimdall apache conf<br />
  45. sudo nano /etc/apache2/sites-available/heimdall.conf</div>
  46. </li>
  47. <li>Paste the following configuration into heimdall.conf
  48. <p>Alias /heimdall &quot;/var/www/heimdall/public&quot;</p>
  49. <p>&lt;Directory /var/www/heimdall/public&gt;<br />
  50. Options Indexes FollowSymLinks MultiViews<br />
  51. AllowOverride all<br />
  52. Order allow,deny<br />
  53. allow from all<br />
  54. &lt;/Directory&gt;</p>
  55. </li>
  56. <li>Press CTRL+O, Enter, CTRL+X to write the changes to heimdall.conf</li>
  57. <li>Continue with the following commands in terminal
  58. <div class="codeBlock"># enable apache rewrite module<br />
  59. sudo a2enmod rewrite<br />
  60. # enable the heimdall site<br />
  61. sudo a2ensite heimdall<br />
  62. # restart apache2 service<br />
  63. sudo systemctl restart apache2</div>
  64. </li>
  65. <li>Open a web browser and navigate to http://DNSorIP/heimdall</li>
  66. <li>Welcome to Heimdall Application Dashboard running on your existing Apache web server</li>
  67. </ol>
  68. <p>Source:&nbsp;<a href="https://github.com/linuxserver/Heimdall" target="_blank">https://github.com/linuxserver/Heimdall</a></p>
  69. </div>
  70. </div>
  71. </body>
  72. </html>