功能展現:php
資產導入 csv文件 ,展現如圖html
字段sql
label | location | area | owner | status | dnsname | ipv4 | comments | manufacturer | model | sn | itemtype | function | cpu | ram | hd |
label: 資產標籤apache
location:用戶所在辦公室物理位置centos
owner:員工公司郵箱ide
status: stored庫存,in ues出庫在用spa
manufacturer:廠商rest
model:機器型號orm
sn: 電腦惟一識別序列號,由廠商定義sqlite
itemtype: PC臺式機,PC-portable 筆記本
查多少臺mac, so easy
離職,入庫
入職,出庫,資產從新分配
centos 6.8 final 簡單安裝步驟:
yum -y update
yum -y install httpd sqlite* php*
yum -y install wget
wget http://www.sivann.gr/software/itdb/itdb-1.12.tar.gz
cp itdb-1.12.tar.gz /var/www/html
cd /var/www/html
tar zxvf itdb-1.12.tar.gz
mv itdb/* .
cd data/pure.db data/it.db
chown -R apache data/*
chmod -R u+w data
chown -R apache translations
chmod -R u+w translations
service httpd restart
Ubuntu 14.04 簡單安裝
sudo apt-get install apache2 libapache2-mod-php5 php5-sqlite sqlite3
餘下步驟參考 centos