0940.html 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Run Group Office Collaboration Suite in Docker</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Docker Made Easy,Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Cloud Solution,Container,Containerization,Docker,Docker Container,Docker Host,Docker How To,Docker Installation Tutorial,Docker Made Simple,Docker Simplified,Linux,Ubuntu,Debian,Collaboration Suite,Group-Office,Group Office,Google Docs Alternative,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Run Group Office Collaboration Suite in Docker">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="09/04/2024 08:56:59 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>Run Group Office Collaboration Suite in Docker</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Group Office?</h2>
  26. <blockquote><em>Group-Office is an enterprise CRM and groupware tool. Collaborate, Share projects, calendars, files and e-mail online with co-workers and clients. Easy to use and fully customizable. -<a href="https://www.group-office.com/" target="_blank">https://www.group-office.com/</a></em></blockquote>
  27. <h2>Installing Docker</h2>
  28. <ol>
  29. <li>Log into the Linux based device</li>
  30. <li>Run the following commands in the terminal
  31. <div class="codeBlock"># install prerequisites<br />
  32. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  33. # add docker gpg key<br />
  34. curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
  35. # add docker software repository<br />
  36. sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
  37. # install docker<br />
  38. sudo apt install docker-ce docker-compose containerd.io -y<br />
  39. # enable and start docker service<br />
  40. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  41. # add the current user to the docker group<br />
  42. sudo usermod -aG docker $USER<br />
  43. # reauthenticate for the new group membership to take effect<br />
  44. su - $USER</div>
  45. </li>
  46. </ol>
  47. <h2>Running Group Office</h2>
  48. <ol>
  49. <li>Continue with the following commands in a terminal window
  50. <div class="codeBlock"># create working directories<br />
  51. mkdir ~/docker/group-office/{data,conf,share,tmp} -p &amp;&amp; mkdir ~/docker/mariadb -p<br />
  52. # create a config.php file<br />
  53. sudo touch ~/docker/group-office/conf/config.php<br />
  54. # set ownership on the working directories<br />
  55. sudo chown &quot;$USER&quot;:&quot;$USER&quot; ~/docker -R<br />
  56. # allow the container to write to working directories<br />
  57. sudo chmod a+rwx -R ~/docker/group-office<br />
  58. # create containers network<br />
  59. docker network create containers<br />
  60. # run the mariadb docker container<br />
  61. docker run -d --name mariadb --network containers -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=groupoffice_rw -e MYSQL_PASSWORD=Grou40ff1c3 -e MYSQL_DATABASE=group_office -v ~/docker/mariadb:/var/lib/mysql -p 3306:3306 --restart=unless-stopped mariadb:latest<br />
  62. # run the group-office docker image<br />
  63. docker run -d --name group-office --network containers -e MYSQL_USER=groupoffice_rw -e MYSQL_PASSWORD=Grou40ff1c3 -e MYSQL_DATABASE=group_office -e MYSQL_HOST=mariadb -p 9000:80 -v ~/docker/group-office/conf:/etc/groupoffice -v ~/docker/group-office/data:/var/lib/groupoffice -v ~/docker/group-office/tmp:/tmp/groupoffice --restart=unless-stopped intermesh/groupoffice</div>
  64. </li>
  65. <li>Open a web browser and navigate to http://DNSorIP:9000</li>
  66. <li>Click Continue at the welcome screen</li>
  67. <li>Click Continue at the system requirements check</li>
  68. <li>Complete the database configuration using the values below
  69. <p>Database user=groupoffice_rw<br />
  70. Database password=Grou40ff1c3<br />
  71. Database name=group_office<br />
  72. Database hostname=mariadb<br />
  73. Database port=3306</p>
  74. </li>
  75. <li>Click Continue</li>
  76. <li>Create an administrator account by entering an Email, Username and password &gt; Select a Language &gt; Click Install</li>
  77. <li>Once the installation completes, click Continue</li>
  78. <li>Login using the username and password setup earlier</li>
  79. <li>If prompted, enter and confirm a new password</li>
  80. <li>Welcome to Group Office</li>
  81. </ol>
  82. <p>Documentation: <a href="https://github.com/Intermesh/docker-groupoffice/" target="_blank">https://github.com/Intermesh/docker-groupoffice/</a></p> </div>
  83. </div>
  84. </body>
  85. </html>