0587.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Kanboard Visual Todo and Tasks Management on Debian/Ubuntu 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,Kanban,Kanboard,Linux,Task Management,Todo,Ubuntu,Debian,Visual Task Manager,Visual Task Organization,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Kanboard Visual Todo and Tasks Management on Debian/Ubuntu Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="04/01/2023 07:02:54 AM" />
  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 Kanboard Visual Todo and Tasks Management on Debian/Ubuntu Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Kanboard?</h2>
  26. <blockquote>
  27. <p><em>Kanboard is project management software that focuses on the Kanban methodology. -<a href="https://github.com/kanboard/kanboard" target="_blank">https://github.com/kanboard/kanboard</a></em></p>
  28. </blockquote>
  29. <h2>Installation</h2>
  30. <ol>
  31. <li>Log into the Linux based device</li>
  32. <li>Run the following commands in the terminal
  33. <div class="codeBlock"># update software repositories<br />
  34. sudo apt update<br />
  35. # install available software updates<br />
  36. sudo apt upgrade -y<br />
  37. # install some dependencies<br />
  38. sudo apt install apt-transport-https ca-certificates curl -y<br />
  39. # install Apache HTTPD and MySQL<br />
  40. sudo apt install apache2 mariadb-server mariadb-client -y<br />
  41. # install PHP components<br />
  42. sudo apt install libapache2-mod-php php-cli php-mbstring php-opcache php-json php-ldap php-gd php-xml php-mysql* php-curl php-zip -y<br />
  43. # configure the MySQL database<br />
  44. sudo su<br />
  45. mysql_secure_installation</div>
  46. </li>
  47. <li>Press Enter to login as root</li>
  48. <li>Type Y and press Enter to set a root password, type the password twice to confirm</li>
  49. <li>Type Y and press Enter to remove anonymous users</li>
  50. <li>Type Y and press Enter to disallow root login remotely</li>
  51. <li>Type Y and press Enter to remove the test database</li>
  52. <li>Type Y and press Enter to reload privilege tables</li>
  53. <li>Run the following command to login into MySQL:
  54. <div class="codeBlock">mysql -u root -p</div>
  55. </li>
  56. <li>Authenticate with the root password set earlier</li>
  57. <li>Run the following commands to create the Kanboard database and database user
  58. <div class="codeBlock">CREATE DATABASE kanboard DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br />
  59. GRANT ALL ON kanboard.* TO &#39;kanboard_rw&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;K@nb0r4!&#39;;<br />
  60. FLUSH PRIVILEGES;<br />
  61. EXIT;<br />
  62. exit</div>
  63. </li>
  64. <li>Continue with the following commands to download and extract Kanboard in the Apache webroot
  65. <div class="codeBlock"># download kanboard<br />
  66. wget -O kanboard.tar.gz https://github.com/kanboard/kanboard/archive/v1.2.20.tar.gz<br />
  67. # extract kanboard.tar.gz<br />
  68. sudo tar xzvf kanboard.tar.gz -C /var/www/html/<br />
  69. # rename the extracted folder to kanboard<br />
  70. sudo mv /var/www/html/kanboard* /var/www/html/kanboard<br />
  71. # set permissions on the kanboard directory<br />
  72. sudo chown -R www-data:www-data /var/www/html/kanboard<br />
  73. # make a copy of config template<br />
  74. sudo cp /var/www/html/kanboard/config.default.php /var/www/html/kanboard/config.php<br />
  75. # edit config.php<br />
  76. sudo nano /var/www/html/kanboard/config.php</div>
  77. </li>
  78. <li>Press CTRL + W and search for DB_DRIVER</li>
  79. <li>Set the DB_DRIVER value to mysql</li>
  80. <li>Set the DB_USERNAME value to kanboard_rw</li>
  81. <li>Set the DB_PASSWORD value to K@nb0r4!</li>
  82. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  83. <li>Continue with the following command
  84. <div class="codeBlock"># setup the database schema, authenticate with the root password set earlier<br />
  85. sudo mysql -u root -p kanboard &lt; /var/www/html/kanboard/app/Schema/Sql/mysql.sql</div>
  86. </li>
  87. <li>Open a web browser and navigate to http://DNSorIP/kanboard</li>
  88. <li>Login with the username admin and password admin</li>
  89. <li>Click the options carrot in the top right corner &gt; My profile</li>
  90. <li>Click Edit profile from the left navigation</li>
  91. <li>Change the username and set a name and email as needed &gt; Click Save</li>
  92. <li>Click Change password from the left navigation</li>
  93. <li>Enter admin as the Current password and enter and confirm a new secure password &gt; Click Save</li>
  94. <li>Click the options carrot in the top right corner &gt; Logout</li>
  95. <li>Log back in with the updated credentials</li>
  96. <li>Welcome to Kanboard</li>
  97. </ol>
  98. <p>More Info: <a href="https://kanboard.org" target="_blank">https://kanboard.org</a></p> </div>
  99. </div>
  100. </body>
  101. </html>