Install ITDB on Ubuntu

Source: Internet
Author: User
ITDB is a PHP open-source IT asset management system. According to ITDB, they do more than just IT. First of all, this requires three things: APACHE, PHP5, SQLITE3, php5-sqlite okay, a variety of APT-GET download a software package from their website, TAR just fine. Put it in the APACHE directory, give the data directory WWW-DATA permissions and 777 permissions. However, you will find that the access fails .. The system prompts that the database driver is missing. Php5-a

ITDB is a PHP open-source IT asset management system. According to ITDB, they do more than just IT.

First of all, this thing requires three things, APACHE, PHP5, SQLITE3, php5-sqlite, all kinds of APT-GET

Download a software package from their website, just TAR. Put it in the APACHE directory, give the data directory WWW-DATA permissions and 777 permissions.

However, you will find that the access fails .. The system prompts that the database driver is missing. Php5-adodb again apt-get just fine.

1. Environment for installing itdb
Sudo apt-get install apache2 libapache2-mod-php5 php5-sqlite sqlite3
2. Download itdb
Wget http://www.sivann.gr/software/itdb/itdb-1.7.tar.gz
3. decompress and move the directory to/var/www.
Tar-xvf itdb-1.1.tar.gz
Sudo mv itdb/var/www
4. Rename pure. db to 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
Change DocumentRoot/var/www to DocumentRoot/var/www/itdb
Change
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
6. Modify the read and write permissions of the itdb. db directory data/and directory data/files/
Cd/var/www
Sudo chown www-data itdb
Sudo chmod u + w itdb
Sudo chown www-data/var/www/itdb/data/
Sudo chmod u + w/var/www/itdb/data/
Sudo chown www-data/var/www/itdb/data/files/
Sudo chmod u + w/var/www/itdb/data/files/
Cd/var/www/itdb/data
Sudo chown www-data itdb. db
Sudo chmod u + w itdb. db

ITDB details: Click here
ITDB: Click here

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.