功能展现: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