TREE.IO INSTALLATION ON UBUNTU
1. Log on to ubuntu and open a terminal.2. Install apache, Wsgi and mysql:
$ sudo apt-get install apache2 libapache2-mod-wsgi
$ sudo apt-get install mysql-server python-mysqldb
3. Install some stuff that we need in order to work with Python and Django (if you havent done so already):
$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install --upgrade pip
$ sudo pip install --upgrade virtualenv
4. Install dependencies as outlined by Tree.io:
$ sudo apt-get build-dep python-lxml python-imaging
5. Create the directory Download and unzip Tree.io:
$ sudo mkdir /home/projects // if the folder does not already exist
$ wget http://tree.io/static/download/treeio.zip
$ unzip treeio.zip
cd treeio
6. You're now into the treeio directory. Lets install all of its dependencies
$ make
(If you get some error message saying that 'PIP' wasnt able to find some dependencies such as 'PIL', just remove them from the 'requirements.pip' file in the treeio directory. We have already installed them. You can than run 'make' again after running 'clean make'.)
7. Create the 'treeio'-database.
$ mysql -u username -p
("Enter password:" will popup, enter the MySQL pw you created earlier, bl********)
> create database database_name;
> grant all privileges on database_name.* to some_user@localhost identified by 'some_password';
> \q
8. Generate database tables:
$ make install
(The installer will guide you through all the steps.) We're almost done. Just a few more steps:
9. Go to and create a VirtualHost file named 'treeio' (creating it in this directory will make it easier to amend the doc).
10. Open the "treeio" file and add the following:
Listen 8080
WSGIRestrictStdout Off
<VirtualHost *:8080>
DocumentRoot /home/projects/treeio
<Directory /home/projects/treeio>
Order allow,deny
Allow from all
</Directory>
WSGIScriptAlias / /home/projects/treeio/treeio.wsgi
WSGIDaemonProcess treeio processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup treeio
</VirtualHost>
11. Save your file. Then move it to the /etc/apache2/sites-available directory
$ sudo mv /home/justs/Documents/treeio /etc/apache2/sites-available/treeio
12. Go to your treeio directory, /home/projects/treeio and create a new file.
13. Open the file and add the following:
import os
import sys
sys.path.append('/home/projects')
sys.path.append('/home/projects/treeio')
os.environ['DJANGO_SETTINGS_MODULE'] = 'treeio.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
14. Save the file as 'treeio.wsgi' in /home/projects/treeio.
15. Add the treeio-site to the apache enabled sites:
$ sudo a2ensite treeio
$ sudo service apache2 reload
16. Restart apache!
$ sudo /etc/init.d/apache2 restart
17. Enter the url in your browser: http://yourip:8080
You will now see your Tree.io installation, the default admin credentials are admin (user) and admin(pass).
Learn More :
Ubuntu
- Ubuntu 16.04.1 Parallels Tools Install Log
- How to install VulnReport on Ubuntu
- How To Install Docker Ubuntu 14.04
- How to install PhantomJS on Ubuntu
- How to install VulnReport on Ubuntu
- How to run on ubuntu VM
- How to install skeltrack on ubuntu 11.04
- How to install GRUB Customizer for Ubuntu Backtrack Linux
- How To install mongodb and php driver in ubuntu 12.10 ?
- Script to install mailcatcher on Debian/Ubuntu without RVM
- Ubuntu 12.10 on Lenovo Ideapad S205
- Install gamepanelx master on ubuntu 12.10
- Installing Tata Docomo 3G Dongle under Ubuntu 10.10
- Installing Kubuntu (Ubuntu) 12.10 in VMWare Player 5
- How To Install Plex Media Server on Ubuntu
- Kali Tools In Ubuntu Linux (instructions)
Install
- How To Install PHP5, Apache2, MySQL for UBUNTU
- How to install GRUB Customizer for Ubuntu Backtrack Linux
- How to install Slowloris on Linux
- How To install mongodb and php driver in ubuntu 12.10 ?
- Script to install mailcatcher on Debian/Ubuntu without RVM
- Install gamepanelx master on ubuntu 12.10
- Installing Tata Docomo 3G Dongle under Ubuntu 10.10
- Installing Kubuntu (Ubuntu) 12.10 in VMWare Player 5
- How To Install Plex Media Server on Ubuntu