Anuko Time Tracker Implementation (Ubuntu)

Install apache webserver :

$ sudo apt-get install apache2

Install php5:

 $ sudo apt-get install php5-gd

Install mysql server:

$ sudo apt-get install mysql-server

Create a virtual host file ‘’ :

 $ sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/

Edit file root directory :

sudo nano /etc/apache2/sites-available/

In that edit line :

 DocumentRoot /var/www/timetracker

Save changes by : ctrl+x then Y+enter
Enable new virtual host file ‘’ :

sudo a2ensite
 sudo service apache2 restart

Update Hosts file from /etc :       bhrgv-laptop-3443

Now start implementing Anuko Time Tracker.

Download source code .zip from site :

Unzip source code file into var/www directory:

$ sudo cp Downloads/ /var/www
$ sudo unzip /var/www/

Allow Writing to WEB-INF/templates_c/ :

 $ cd timetracker/WEB-INF
 $ chmod 777 templates_c/

Open mysql server :

$ mysql -h localhost -u root -p

Create Database and grant privilages :

mysql> CREATE DATABASE timetracker CHARACTER SET = 'utf8';
 mysql> GRANT ALL PRIVILEGES ON timetracker.* TO 'ttuser'@'localhost' IDENTIFIED BY 'root123';

Create Config file :

 $ cd WEB-INF
 $ cp config.php.dist config.php

Change values of config.php :

$ sudo nano config.php

In that change line :

 define('DSN', 'mysql://ttuser:root123@localhost/timetracker');

Also add parameter ‘timetracker’ to line :

define('APP_NAME', 'timetracker');

Exit by pressing ctrl+x then Y+enter

Create Time Traker DB structure with dbinstall.php :

Type in browser
Then select first option ‘Create database structure’
Then revoke rights of dbinstall.php :

chmod 000 dbinstall.php

Login onto home page now :

Enter user name : admin and password : secret, then Create a Team

Logout and then login with admin name of team and the password

Go on Project then create a project

Add details with time date and note, save it.

There you go!
You have now successfully installed Anuko Time Tracker.

Blogger & Assc Cloud Architect

Site Footer

%d bloggers like this: