Ubuntu installs ITDB method

  

Some users have just come into contact with ITDB, knowing that it is a PHP open source IT asset management system, but the specific steps to install ITDB on Ubuntu are not clear. Xiaobian here will share its installation method.

follows:

premise: first need three things: APACHE, PHP5, SQLITE3, php5-sqlite, a variety of APT-GET. Download a package from their website and TAR will be fine. Put it in the APACHE directory, and assign the permissions of the WWW-DATA and 777 permissions to the DATA directory inside. If you find that you can't access it, you are prompted to lose the database driver. Just put php5-adodb again apt-get.

1, install itdb requirements environment

sudo apt-get install apache2 libapache2-mod-php5 php5-sqlite sqlite3

2, download itdb

3. Unzip and move the directory to /var/www

tar -xvf itdb-1.1.tar.gz

sudo mv itdb /var/www

4, heavy Name pure.db as itdb.db

cd /var/www/itdb/data

sudo mv pure.db itdb.db

5, modify apache configuration

sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/itdb

sudo nano /etc/apache2/sites-available/itdb

Modify DocumentRoot /var/www to DocumentRoot /var/www/itdb

Modify Error /var/log/apache2/error.log to Error /var/log/apache2/error-itdb.log

Modify CustomLog /var/log/apache2/access.log combined to CustomLog /var/log/apache2/access-itdb.log combined

sudo a2dissite default && sudo a2ensite itdb

sudo /etc/init.d/apache2 restart Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved