0950.html 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Host Your Own draw.io - Visio style diagram maker - 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,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Apache,Diagram,Draw,Draw.io,FOSS,Free Open Source Software,Free Software,Java,Open Source,Tomcat,Visio,Visio Alternative,Web Based Utilities,Whiteboard,Whiteboarding,Windows,Microsoft Windows,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Host Your Own draw.io - Visio style diagram maker - On Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="07/14/2024 07:40:38 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>Host Your Own draw.io - Visio style diagram maker - On Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Draw.io?</h2>
  26. <blockquote><em>draw.io is a configurable diagramming/whiteboarding visualization application. -<a href="https://github.com/jgraph/drawio" target="_blank">https://github.com/jgraph/drawio</a></em></blockquote>
  27. <h2>Downloads and Pre-requisites</h2>
  28. <ol>
  29. <li>Download OpenJDK <a href="https://jdk.java.net/" target="_blank">Download</a></li>
  30. <li>Download Apache Tomcat <a href="https://tomcat.apache.org/download-10.cgi" target="_blank">Download</a></li>
  31. <li>Download the latest draw.io .war file <a href="https://github.com/jgraph/drawio/releases/latest" target="_blank">Download</a></li>
  32. <li>Extract the OpenJDK .zip archive</li>
  33. <li>Copy the extracted OpenJDK files to C:\Program Files\OpenJDK</li>
  34. <li>Click the Start button and search Control Panel</li>
  35. <li>Navigate to System &gt; Advanced System Settings</li>
  36. <li>Click the Environment Variables button</li>
  37. <li>Under System Variables, click New</li>
  38. <li>In the Variable Name field enter JAVA_HOME</li>
  39. <li>In the Variable Value field enter the full path to C:\Program Files\OpenJDK</li>
  40. <li>Click OK to close all the open dialog windows</li>
  41. </ol>
  42. <h2>Installing Tomcat</h2>
  43. <ol>
  44. <li>Double click the Apache Tomcat installer executable</li>
  45. <li>Click Next and then I Agree</li>
  46. <li>On the Choose Components screen, uncheck everything except Core, Service Startup and Native &gt; Click Next</li>
  47. <li>Set the port to 8000 and Service Name &gt; Click Next</li>
  48. <li>At the Java Virtual Machine screen, input C:\Program Files\OpenJDK &gt; Click Next</li>
  49. <li>Verify the install location &gt; Click Install</li>
  50. <li>After the installation completes click Finish</li>
  51. <li>Open a web browser and navigate to http://DNSorIP:8000</li>
  52. <li>An Apache Tomcat splash screen should display with the version of Tomcat that is currently running</li>
  53. </ol>
  54. <h2>Installing draw.io</h2>
  55. <ol>
  56. <li>Copy the draw.war file downloaded earlier to the Apache Tomcat/webapps directory</li>
  57. <li>Within a few moments Apache Tomcat should see the .war file and extract it to a /draw sub-directory
  58. <ol start="1" style="list-style-type: lower-alpha;">
  59. <li>If this doesn&#39;t occur automatically, try right clicking the Start button &gt; Run &gt; services.msc and restarting the Apache Tomcat service</li>
  60. </ol>
  61. </li>
  62. <li>Once the .war file has extracted itself to a directory, open a web browser and navigate to http://DNSorIP:8000/draw</li>
  63. </ol>
  64. <h2>Optional Steps</h2>
  65. <ol>
  66. <li>To remove the need to navigate to /draw, navigate to the Apache Tomcat/webapps directory in Explorer</li>
  67. <li>Delete the ROOT directory if it exists</li>
  68. <li>Rename the draw directory ROOT</li>
  69. <li>Open a web browser and navigate to http://DNS-or-IP:8000/ to reach Draw.io</li>
  70. </ol> </div>
  71. </div>
  72. </body>
  73. </html>