{"id":2884,"date":"2018-02-15T18:42:23","date_gmt":"2018-02-15T15:42:23","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-wekan-installation\/"},"modified":"2018-02-15T18:42:23","modified_gmt":"2018-02-15T15:42:23","slug":"how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04\/","title":{"rendered":"How to Install Wekan Trello-like Kanban on Ubuntu 16.04"},"content":{"rendered":"<p>Wekan is an open source trello-like kanban board based on the Meteor Javascript framework. It&#8217;s a web-based management tool that allows you to create a board for your project collaboration. With the Wekan board, you just need to invite your member to the board and you&#8217;re good to go. On the wekan board, you can create a card-based task and to-do management, and then assign it to your member.<\/p>\n<p>In this tutorial, we will show you how to step-by-step install and configure Wekan Trello-like Kanban on Ubuntu 16.04. We will be using MongoDB as the database and the Nginx web server as a reverse proxy for the Wekan application. This tutorial will cover some topics in detail including securing the MongoDB database and configuring Nginx as a Reverse Proxy.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>Ubuntu 16.04 server<\/li>\n<li>Root privileges<\/li>\n<\/ul>\n<h2 id=\"what-we-will-do\">What we will do<\/h2>\n<ol>\n<li>Update Repository and Upgrade System<\/li>\n<li>Install Nodejs<\/li>\n<li>Install and Configure MongoDB<\/li>\n<li>Install Wekan<\/li>\n<li>Running Wekan as a Service on Ubuntu 16.04<\/li>\n<li>Install and Configure Nginx as a Reverse Proxy for Wekan<\/li>\n<li>Testing<\/li>\n<\/ol>\n<h2 id=\"step-update-and-upgrade-system\">Step 1 &#8211; Update and Upgrade System<\/h2>\n<p>Connect to the server using your ssh login.<\/p>\n<p class=\"command\">ssh <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"a5d7cacad1e5949c978b94939d8b96968b9495\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a><\/p>\n<p>Now update all repositories on the system, and then upgrade all packages using the apt commands below.<\/p>\n<p class=\"command\">sudo apt update<br \/>sudo apt upgrade<\/p>\n<h2 id=\"step-install-nodejs\">Step 2 &#8211; Install Nodejs<\/h2>\n<p>Wekan is a nodejs based application, and it requires nodejs version 4.8. In this tutorial, we will not install nodejs from the Ubuntu repository, rather we&#8217;ll install nodejs 4.8 using the nvm Node Version Manager.<\/p>\n<p>Before installing nodejs, add new system user &#8216;wekan&#8217; using the command below.<\/p>\n<p class=\"command\">useradd -m -s \/bin\/bash wekan<br \/>passwd wekan<\/p>\n<p>Login as the &#8216;wekan&#8217; user, and then download and run the nvm installer script.<\/p>\n<p class=\"command\">su &#8211; wekan<br \/>curl -o- https:\/\/raw.githubusercontent.com\/creationix\/nvm\/v0.33.8\/install.sh | bash<\/p>\n<p>The command will install nvm under &#8216;wekan&#8217; user and add new configuration to the &#8216;.bashrc&#8217; configuration file. Reload the &#8216;.bashrc&#8217; file.<\/p>\n<p class=\"command\">source ~\/.bashrc<\/p>\n<p>Now test using the nvm command as below.<\/p>\n<p class=\"command\">command -v nvm<br \/>nvm &#8211;version<\/p>\n<p>And you can see the nvm &#8216;0.33.8&#8217; installed on the system.<\/p>\n<p>Next, install nodejs 4.8 using nvm Node Version Manager.<\/p>\n<p>Run the nvm install commands shown below.<\/p>\n<p class=\"command\">nvm install v4.8<br \/>nvm use node<\/p>\n<p>After the installation is complete, check the node version.<\/p>\n<p class=\"command\">node -v<\/p>\n<p>And you should get nodejs 4.8 as installed on the Ubuntu 16.04, under the &#8216;wekan&#8217; user.<\/p>\n<p><a class=\"fancybox\" id=\"img-12\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/12.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04.png\" alt=\"Install Node.js\" width=\"500\" height=\"352\" title=\"\"><\/a><\/p>\n<h2 id=\"step-install-and-configure-mongodb\">Step 3 &#8211; Install and Configure MongoDB<\/h2>\n<p>In this step, we will install and configure MongoDB NoSQL database. Wekan requires MongoDB 3.2.x for its installation.<\/p>\n<p>Add the MongoDB key as well as the repository to the system by running the command below.<\/p>\n<p class=\"command\">sudo apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com:80 &#8211;recv EA312927<br \/>echo &#8220;deb http:\/\/repo.mongodb.org\/apt\/ubuntu xenial\/mongodb-org\/3.2 multiverse&#8221; | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-3.2.list<\/p>\n<p><a class=\"fancybox\" id=\"img-2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-1.png\" alt=\"Install and Configure MongoDB\" width=\"500\" height=\"130\" title=\"\"><\/a><\/p>\n<p>Now update the repository and install MongoDB using the apt command.<\/p>\n<p class=\"command\">sudo apt update<br \/>sudo apt install -y mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools<\/p>\n<p>After the installation is complete, start the MongoDB service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">sudo systemctl start mongod<br \/>sudo systemctl enable mongod<\/p>\n<p>MongoDB 3.2 has been installed on the Ubuntu 16.04 system.<\/p>\n<p>Next, we need to configure the MongoDB authentication. Login to the mongo shell and create a new &#8216;admin&#8217; superuser.<\/p>\n<p>Login to the mongo shell.<\/p>\n<p class=\"command\">mongo<\/p>\n<p>Create a new &#8216;admin&#8217; user with password &#8216;MyAdminPassword&#8217; and set the role as &#8216;root&#8217;.<\/p>\n<p>Run the MongoDB queries below.<\/p>\n<p class=\"command\">db.createUser(<br \/>\u00a0 {<br \/>\u00a0\u00a0\u00a0 user: &#8220;admin&#8221;,<br \/>\u00a0\u00a0\u00a0 pwd: &#8220;MyAdminPassword&#8221;,<br \/>\u00a0\u00a0\u00a0 roles: [ { role: &#8220;root&#8221;, db: &#8220;admin&#8221; } ]\u00a0 }<br \/>)<\/p>\n<p>The MongoDB admin user has been created.<\/p>\n<p>Now we need to edit the configuration file &#8216;\/etc\/mongod.conf&#8217; to enable the authentication.<\/p>\n<p>Edit the configuration file &#8216;mongod.conf&#8217; using <a href=\"https:\/\/www.howtoforge.com\/vim-basics\" target=\"_blank\" rel=\"noopener noreferrer\">vim<\/a>.<\/p>\n<p class=\"command\">vim \/etc\/mongod.conf<\/p>\n<p>Uncomment the &#8216;security&#8217; line and add the configuration as shown below.<\/p>\n<pre class=\"system\">security:<br\/>\u00a0authorization: enabled<\/pre>\n<p>Save and exit.<\/p>\n<p>Now restart the MongoDB service.<\/p>\n<p class=\"command\">systemctl restart mongod<\/p>\n<p>The MongoDB authentication has been enabled.<\/p>\n<p><a class=\"fancybox\" id=\"img-3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-2.png\" alt=\"MongoDB authentication\" width=\"432\" height=\"550\" title=\"\"><\/a><\/p>\n<p>Next, we need to create new database and user for Wekan. We will create a new database named &#8216;wekan&#8217; with user &#8216;wekan&#8217; with password &#8216;WekanPassword&#8217;.<\/p>\n<p>Login to the mongo shell as the admin user.<\/p>\n<p class=\"command\">mongo -u admin -p<\/p>\n<p>Type the admin password &#8216;MyAdminPassword&#8217;.<\/p>\n<p>And when you get the mongo shell, run the MongoDB queries below.<\/p>\n<p class=\"command\">use wekan<br \/>db.createUser(<br \/>\u00a0\u00a0\u00a0 {<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0 user: &#8220;wekan&#8221;,<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0 pwd: &#8220;WekanPassword&#8221;,<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0 roles: [&#8220;readWrite&#8221;]\u00a0\u00a0\u00a0 }<br \/>\u00a0)<\/p>\n<p>The database and user for wekan installation have been created.<\/p>\n<p><a class=\"fancybox\" id=\"img-4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-3.png\" alt=\"database and user for wekan installation\" width=\"500\" height=\"370\" title=\"\"><\/a><\/p>\n<h2 id=\"step-install-wekan\">Step 4 &#8211; Install Wekan<\/h2>\n<p>Login as the &#8216;wekan&#8217; user.<\/p>\n<p class=\"command\">su &#8211; wekan<\/p>\n<p>Download the latest version wekan source code using the wget command and extract it.<\/p>\n<p class=\"command\">wget https:\/\/github.com\/wekan\/wekan\/releases\/download\/v0.63\/wekan-0.63.tar.gz<br \/>tar xf wekan-0.63.tar.gz<\/p>\n<p>And you will get a new directory named &#8216;bundle&#8217;. Go to that directory and install the Wekan dependencies using the npm command as shown below.<\/p>\n<p class=\"command\">cd bundle\/programs\/server<br \/>npm install<\/p>\n<p>After all the installation is complete, you will get the result as shown below.<\/p>\n<p><a class=\"fancybox\" id=\"img-5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-4.png\" alt=\"Install Wekan\" width=\"500\" height=\"250\" title=\"\"><\/a><\/p>\n<p>Next, we will try to run Wekan on the system.<\/p>\n<p>Run the following commands to set up the environment variables for Wekan application.<\/p>\n<p class=\"command\">export MONGO_URL=&#8217;mongodb:\/\/wekan:<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"e3b48688828db3829090948c9187a3d2d1d4cdd3cdd3cdd2\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:27017\/wekan?authSource=wekan&#8217;<br \/>export ROOT_URL=&#8217;http:\/\/192.168.33.10\/&#8217;<br \/>export MAIL_URL=&#8217;smtp:\/\/user:<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"5727362424173a363e3b793f363c3624327a3b363524793438\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:25\/&#8217;<br \/>export MAIL_FROM=&#8217;<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"b6c1d3ddd7d8f6ded7ddd7c5d39bdad7d4c598d5d9\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#8216;<br \/>export PORT=8000<\/p>\n<p>Now go to the &#8216;bundle&#8217; directory and run the Wekan Node.js application.<\/p>\n<p class=\"command\">cd ~\/bundle<br \/>node main.js<\/p>\n<p><a class=\"fancybox\" id=\"img-6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-5.png\" alt=\"wekan nodejs application\" width=\"500\" height=\"326\" title=\"\"><\/a><\/p>\n<p>Wekan server is now running under port 8000. Open your web browser and type your server address with port 8000. Mine is\u00a0<em><strong>http:\/\/192.168.33.10:8000\/<\/strong><\/em><\/p>\n<p>And you will get the Wekan login page as shown below.<\/p>\n<p><a class=\"fancybox\" id=\"img-7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-6.png\" alt=\"Wekan Login\" width=\"500\" height=\"255\" title=\"\"><\/a><\/p>\n<p>Wekan is now successfully installed on the Ubuntu 16.04.<\/p>\n<h2 id=\"step-configure-wekan-as-a-service\">Step 5 &#8211; Configure Wekan as a Service<\/h2>\n<p>We will be running the Wekan application as a service on Ubuntu system. So we need to create new service file under the systemd directory.<\/p>\n<p>Before creating the Wekan service file, we need to create the environment variable file.<\/p>\n<p>Login as the &#8216;wekan&#8217; user.<\/p>\n<p class=\"command\">su &#8211; wekan<\/p>\n<p>Go to the &#8216;bundle\/&#8217; directory and create new environment variable file &#8216;.env&#8217; using vim<\/p>\n<p class=\"command\">cd bundle\/<br \/>vim .env<\/p>\n<p>Paste the following configuration there.<\/p>\n<pre class=\"system\">MONGO_URL='mongodb:\/\/wekan:<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"6b3c0e000a053b0a18181c04190f2b5a595c455b455b455a\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:27017\/wekan?authSource=wekan'<br\/>ROOT_URL='http:\/\/wekan.hakase-labs.co'<br\/>MAIL_URL='smtp:\/\/user:<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"3e4e5f4d4d7e535f575210565f555f4d5b13525f5c4d105d51\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:25\/'<br\/>MAIL_FROM='<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"bacddfd1dbd4fad2dbd1dbc9df97d6dbd8c994d9d5\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>'<br\/>PORT=8000<br\/>HTTP_FORWARDED_COUNT=1<\/pre>\n<p>Save and exit.<\/p>\n<p>Now back to your root terminal and go to the &#8216;\/etc\/systemd\/system&#8217; directory, then create a new service file &#8216;wekan.service&#8217;.<\/p>\n<p class=\"command\">cd \/etc\/systemd\/system\/<br \/>vim wekan.service<\/p>\n<p>Paste the following configuration there.<\/p>\n<pre class=\"system\" readability=\"10\">[Unit]<br\/>Description=Wekan Server<br\/>After=syslog.target<br\/>After=network.target[Service]<br\/>Type=simple<br\/>Restart=on-failure<br\/>StartLimitInterval=86400<br\/>StartLimitBurst=5<br\/>RestartSec=10<br\/>ExecStart=\/home\/wekan\/.nvm\/versions\/node\/v4.8.7\/bin\/node bundle\/main.js<br\/>EnvironmentFile=\/home\/wekan\/bundle\/.env<br\/>ExecReload=\/bin\/kill -USR1 $MAINPID<br\/>RestartSec=10<br\/>User=wekan<br\/>Group=wekan<br\/>WorkingDirectory=\/home\/wekan<br\/>StandardOutput=syslog<br\/>StandardError=syslog<br\/>SyslogIdentifier=Wekan<\/p>[Install]<br\/>WantedBy=multi-user.target<\/p><\/pre>\n<p>Save and exit.<\/p>\n<p>Reload the systemd system using the systemctl command.<\/p>\n<p class=\"command\">systemctl daemon-reload<\/p>\n<p>Start the Wekan service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">systemctl start wekan<br \/>systemctl enable wekan<\/p>\n<p><a class=\"fancybox\" id=\"img-8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-7.png\" alt=\"Wekan Service\" width=\"500\" height=\"207\" title=\"\"><\/a><\/p>\n<p>Now check the Wekan service using commands below.<\/p>\n<p class=\"command\">netstat -plntu<br \/>systemctl status wekan<\/p>\n<p>And following are the results.<\/p>\n<p><a class=\"fancybox\" id=\"img-91\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/91.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-8.png\" alt=\"Wekan started\" width=\"500\" height=\"253\" title=\"\"><\/a><\/p>\n<p>Wekan is now running under port 8000, running as a service on Ubuntu 16.04 system.<\/p>\n<h2 id=\"step-install-nginx-as-a-reverse-proxy-for-wekan\">Step 6 &#8211; Install Nginx as a Reverse proxy for Wekan<\/h2>\n<p>In this step, we will install Nginx web server and configure it as a reverse proxy for Wekan service that&#8217;s running under port 8000.<\/p>\n<p>Install Nginx web server from the Ubuntu repository using the apt command below.<\/p>\n<p class=\"command\">sudo apt install nginx -y<\/p>\n<p>After the installation is complete, go to the &#8216;\/etc\/nginx\/sites-available&#8217; directory and create a new virtual host file &#8216;wekan&#8217;.<\/p>\n<p class=\"command\">cd \/etc\/nginx\/sites-available<br \/>vim wekan<\/p>\n<p>Paste the following virtual host configuration there.<\/p>\n<pre class=\"system\" readability=\"10\">server {<br\/>\u00a0\u00a0\u00a0 server_name wekan.hakase-labs.co;<br\/>\u00a0\u00a0\u00a0 listen 80;<p>\u00a0\u00a0\u00a0 access_log \/var\/log\/nginx\/wekan-access.log;<br\/>\u00a0\u00a0\u00a0 error_log \/var\/log\/nginx\/wekan-error.log;<\/p><p>\u00a0\u00a0\u00a0 location \/ {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_set_header\u00a0\u00a0 X-Real-IP $remote_addr;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_set_header\u00a0\u00a0 Host\u00a0\u00a0\u00a0\u00a0\u00a0 $host;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_http_version 1.1;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_set_header\u00a0\u00a0 Upgrade $http_upgrade;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_set_header\u00a0\u00a0 Connection 'upgrade';<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_cache_bypass $http_upgrade;<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proxy_pass\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 http:\/\/127.0.0.1:8000;<br\/>\u00a0\u00a0\u00a0 }<br\/>\u00a0<br\/>}<\/p><\/pre>\n<p>Save and exit.<\/p>\n<p>Now activate the virtual host and run test nginx configuration, and make sure there is no error.<\/p>\n<p class=\"command\">ln -s \/etc\/nginx\/sites-available\/wekan \/etc\/nginx\/sites-enabled\/<br \/>nginx -t<\/p>\n<p>Assuming everything went fine, now restart the Nginx service and enable it to launch every time at system boot.<\/p>\n<p class=\"command\">systemctl restart nginx<br \/>systemctl enable nginx<\/p>\n<p><a class=\"fancybox\" id=\"img-10\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-9.png\" alt=\"Configure and start Nginx\" width=\"500\" height=\"163\" title=\"\"><\/a><\/p>\n<p>Now check the HTTP port using the netstat command, and make sure it is on the &#8216;LISTEN&#8217; state.<\/p>\n<p class=\"command\">netstat -plntu<\/p>\n<p><a class=\"fancybox\" id=\"img-111\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/111.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-10.png\" alt=\"Nginx started\" width=\"500\" height=\"152\" title=\"\"><\/a><\/p>\n<p>Configuration of Nginx virtual host for the Wekan Node.js application has been completed.<\/p>\n<h2 id=\"step-testing\">Step 7 &#8211; Testing<\/h2>\n<p>Open your web browser and type the Wekan installation URL on the address bar, mine is\u00a0<em><strong>http:\/\/wekan.hakase-labs.co\/<\/strong><\/em><\/p>\n<p>And you will be redirected to the login page, click on the &#8216;Register&#8217; link.<\/p>\n<p><a class=\"fancybox\" id=\"img-121\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/121.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-11.png\" alt=\"Wekan - Sign in\" width=\"500\" height=\"247\" title=\"\"><\/a><\/p>\n<p>Now type your username, email, password, and leave Invitation Code blank.<\/p>\n<p><a class=\"fancybox\" id=\"img-13\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/13.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-12.png\" alt=\"Username and password\" width=\"500\" height=\"277\" title=\"\"><\/a><\/p>\n<p>Click the blue &#8216;Register&#8217; button.<\/p>\n<p>And you will likely get the &#8216;Internal Server Error&#8217; message &#8211; leave it and back to your terminal. Because we will activate the first user from the terminal.<\/p>\n<p>Open your terminal and log in to the mongo shell as &#8216;wekan&#8217; user.<\/p>\n<p class=\"command\">mongo -u wekan -p &#8211;authenticationDatabase &#8220;wekan&#8221;<\/p>\n<p>Now activate the user using queries below.<\/p>\n<p class=\"command\">use wekan<br \/>db.users.update({username:&#8217;hakase&#8217;},{$set:{isAdmin:true}})<\/p>\n<p>Exit from the mongo shell.<\/p>\n<p><a class=\"fancybox\" id=\"img-14\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/14.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-14.png\" alt=\"Mongo shell\" width=\"500\" height=\"185\" title=\"\"><\/a><\/p>\n<p>Back to your browser and open again the Wekan url installation.<\/p>\n<p><em><strong>http:\/\/wekan.hakase-labs.co\/<\/strong><\/em><\/p>\n<p>Type your username and password, then click the &#8216;Sign In&#8217; button.<\/p>\n<p><a class=\"fancybox\" id=\"img-15\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/15.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-16.png\" alt=\"Sign in\" width=\"500\" height=\"252\" title=\"\"><\/a><\/p>\n<p>And now you should get the Wekan user dashboard.<\/p>\n<p><a class=\"fancybox\" id=\"img-16\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/16.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-18.png\" alt=\"Wekan Dashboard\" width=\"500\" height=\"221\" title=\"\"><\/a><\/p>\n<p>Below is the wekan sample project.<\/p>\n<p><a class=\"fancybox\" id=\"img-17\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_and_configure_wekan_trello_like_kanban_on_ubuntu_1604\/big\/17.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/how-to-install-wekan-trello-like-kanban-on-ubuntu-16-04-20.png\" alt=\"wekan sample project\" width=\"500\" height=\"277\" title=\"\"><\/a><\/p>\n<p>Wekan installation on Ubuntu 16.04 with MongoDB and Nginx web server has been completed successfully.<\/p>\n<h2 id=\"reference\">Reference<\/h2>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Wekan is an open source trello-like kanban board based on the Meteor Javascript framework. It&#8217;s a web-based management tool that allows you to create a board for your project collaboration. With the Wekan board, you just need to invite your member to the board and you&#8217;re good to go. On the wekan board, you can &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2884","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=2884"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2884\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=2884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=2884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=2884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}