20.4 C
Texas
Melhttp://www.osradar.com
Guru Unix /Linux and GNU supporter

TaskBoard Kanban-inspired on Centos7

TaskBoard is a free and open source application  and  is A Kanban-inspired app for keeping track of things that need to get done . TaskBoard uses SQLite  database.  In TaskBoard you  can create  unlimited boards  and customize the columns . i will show to install  this  easy on CentOS 7 Server.

My Server hostname osradar.com.local

My server  Ip = 192.168.2.98

my Os is =  Centos 7.5

How to install TaskBoard Kanban-inspired on Centos7

- Advertisement -

Installing Taskboard
Because Taskboad is web-based app we will first install apache with  following command.

[root@osradar]# yum -y install httpd
Installing : apr-1.4.8-3.el7_4.1.x86_64 1/5
Installing : apr-util-1.5.2-6.el7.x86_64 2/5
Installing : httpd-tools-2.4.6-80.el7.centos.1.x86_64 3/5
Installing : mailcap-2.1.41-2.el7.noarch 4/5
Installing : httpd-2.4.6-80.el7.centos.1.x86_64

its  installed  Now run and  enanle  apache  for the next reboot

[root@osradar]# systemctl start httpd
[root@osradar]# systemctl enable httpd
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
After that, install epel-release for installing webtatic repository. It is very essential for the process.

Add  epel  release  repos

[root@osradar]# yum install epel-release
Installed:
epel-release.noarch 0:7-11

 

Now is  time  can now install the webtatic repository as follows.

[root@osradar ~]# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Retrieving https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
warning: /var/tmp/rpm-tmp.EruRhj: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:webtatic-release-7-3 ################################# [100%]

Before to go to  thenext step, please update your system and insta   these small tools

yum  update -y 
yum  install unzip wget net-tools

This web app ( TaskBoard) needs  more PHP modules , please install  them  like this

[root@osradar ~]# yum install php72w php72w-gd php72w-json php72-readline php72w-cli php72w-sqlite3

--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php72w-gd-7.2.6-1.w7.x86_64

 Run the following command to install SQLite Database.

[root@osradar]# yum -y install sqlite
Package sqlite-3.7.17-8.el7.x86_64 already installed and latest version

 

Its Time to  download the taskboard installation package, you can do it with the following command.

[root@osradar]# cd /var/www/
[root@osradar www]#wget https://github.com/kiswa/TaskBoard/archive/master.zip
--2018-07-17 17:33:51-- https://github.com/kiswa/TaskBoard/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/kiswa/TaskBoard/zip/master [following]
--2018-07-17 17:33:52-- https://codeload.github.com/kiswa/TaskBoard/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

[ <=> ] 6,554,918 5.49MB/s in 1.1s

2018-07-17 17:33:54 (5.49 MB/s) - ‘master.zip’ saved [6554918]

 

After downloading it, extract the package

[root@linuxhelp www]#  unzip master.zip
Archive: master.zip
9347ef7f838bb99fa2aaea6ad807b353b2894ec7
creating: TaskBoard-master/
inflating: TaskBoard-master/.gitignore
inflating: TaskBoard-master/.htaccess
inflating: TaskBoard-master/CONTRIBUTIN

 

Move the extracted files to taskboard directory.

[root@osradar www]# mv TaskBoard-master taskboard

Please run this command to   download  extra  dependencies.

[root@osradar taskboard]#cd /var/www/taskboard
[root@osradar taskboard]# build/composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 5 installs, 0 updates, 0 removals
- Installing firebase/php-jwt (1.0.0): Downloading (100%)
- Installing gabordemooij/redbean (v4.2.1): Downloading (100%)
- Installing ircmaxell/password-compat (v1.0.4): Downloading (100%)
- Installing phpmailer/phpmailer (v5.2.14): Downloading (100%)
- Installing slim/slim (2.6.2): Downloading (100%)
phpmailer/phpmailer suggests installing league/oauth2-client (Needed for XOAUTH2 authentication)
phpmailer/phpmailer suggests installing league/oauth2-google (Needed for Gmail XOAUTH2)
slim/slim suggests installing ext-mcrypt (Required for HTTP cookie encryption)
Generating autoload files

 

After that, change the ownership for the taskboard to  apache user and group

[root@osradar]# chown -R apache:apache /var/www/taskboard

Next add the http service to the firewall

[root@osradar]# firewall-cmd --zone=public --permanent --add-service=http
success

make  it  permanent

[root@osradar]# firewall-cmd --reload
Success

Create  the virtual host for taskboard.  ( /etc/httpd/conf.d/osradar.com.conf)

[root@osradar api]# cat /etc/httpd/conf.d/osradar.com.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/var/www/taskboard"
ServerName osradar.com.local
<Directory "/var/www/taskboard">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog "/var/log/httpd/board.yourdomain.com-error_log"
CustomLog "/var/log/httpd/board.yourdomain.com-access_log" combined
</VirtualHost>

Now restart the Apache web server and check if any erros in logs

[root@osradar]# systemctl restart httpd

Now  brows http://IP or  http://hostname . The default credential is admin/admin

 

If you have any issues to login with  API folder write mode  Errors . please  Disable  Selinux

Cheers  and   shareeeee !!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article