当前位置:网站首页>Lighthouse open source application practice: snipe it
Lighthouse open source application practice: snipe it
2022-06-23 21:37:00 【m0re】
Snipe-IT Is an open source asset management system , Can better help you manage IT equipment
Official website :https://snipeitapp.com
Official documents :Introduction (readme.io)
Code warehouse :https://github.com/snipe/snipe-it
Tencent cloud open source application center :Snipe-IT Tencent cloud open source application center (tencent.com)
As an open source asset management system , Compared with other similar products Snipe-IT Like open source 、 Support cloud hosting 、 Constantly updated 、 Professional support 、 Support secondary development and other advantages .
Tencent cloud is selected for this installation experience Lighthouse Cloud server , Use Docker install , in consideration of Snipe-IT Used some php Danger function , Considering the overall stability of ECS , We suggest you use Docker Install and use
Install and use :
1. Install the system :
Default selection CentOS System
2. Set the official source
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF' [dockerrepo] name=Docker Repository baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg EOF
3. Install the latest Docker
yum install docker-engine -y
4. Set up a corresponding directory :
sudo mkdir /media/snipe-mysql sudo mkdir /media/snipe-conf
5. Build a database container ( Pay attention to changing the password of the database )
docker run \ --name snipe-mysql \ -d \ -e MYSQL_ROOT_PASSWORD="snipe" \ -e MYSQL_DATABASE=snipe \ -e MYSQL_USER=snipe \ -e MYSQL_PASSWORD="snipe" \ -e TZ=America/Chicago \ -p 127.0.0.1:3306:3306 \ -v /media/snipe-mysql:/var/lib/mysql \ mysql:5.6 --sql-mode=""
6. establish Snipe-IT Containers
docker create \ --name=snipe-it \ --link snipe-mysql:db \ -e PUID=1000 \ -e PGID=1000 \ -e DB_CONNECTION=mysql \ -e DB_HOST=snipe-mysql \ -e DB_DATABASE=snipe \ -e DB_USERNAME=snipe \ -e DB_PASSWORD="snipe" \ -e APP_KEY=base64:5U/KPKw1GN/Rz0fWYO/4FsSOqjmjvDAQzMCqwcAqstc= \ -p 8082:80 \ -v /media/snipe-conf:/config \ --restart unless-stopped \ snipe/snipe-it
7. Run container
docker start mysql docker start snipe-it
8. Open the port
firewall-cmd --zone=public --add-port=8082/tcp --permanent firewall-cmd --reload
9. User configuration
visit http://ServerIP:8082( Remember to open it. lighthouse The firewall of )
Check the basic environment ,Docker The built-in environment is relatively complete, and there is basically no problem
Create user name ( The part with yellow prompt bar on the side needs to be input )
Installation successful , Start using .
边栏推荐
- Cloud database smooth disassembly scheme
- Open source C # WPF control library --newbeecoder UI usage guide (III)
- Microservice architecture | how to solve the problem of fragment uploading of large attachments?
- DM sub database and sub table DDL "optimistic coordination" mode introduction - tidb tool sharing
- Thinking about distributed system consensus
- Stm32 w5500 implements TCP, DHCP and web server
- Minimize outlook startup + shutdown
- 【etcd】etcd使用与集群搭建
- Prometheus primary body test
- Share a super Mary source code
猜你喜欢

Selenium batch query athletes' technical grades

发现一个大佬云集的宝藏硕博社群!

What are the main dimensions of PMO performance appraisal?

Find my information | Apple may launch the second generation airtag. Try the Lenz technology find my solution

Simple code and design concept of "back to top"

Outlook開機自啟+關閉時最小化

Gradle asked seven times. You should know that~

Lightweight, dynamic and smooth listening, hero earphone hands-on experience, can really create

《scikit-learn机器学习实战》简介
![Harmonyos application development -- mynotepad[memo][api v6] based on textfield and image pseudo rich text](/img/b1/71cc36c45102bdb9c06e099eb42267.jpg)
Harmonyos application development -- mynotepad[memo][api v6] based on textfield and image pseudo rich text
随机推荐
股票开户要找谁?网上开户安全么?
Tencent cloud commercial password compliance solution appears at the 2021 high-end Seminar on commercial password application innovation
Chrome extension development Chinese tutorial-1
Simple code and design concept of "back to top"
个税怎么算?你知道吗
Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading
Is it safe to open an account for flush stock?
What are the main dimensions of PMO performance appraisal?
Minimisé lorsque Outlook est allumé + éteint
Start /affinity specifies the number of vcpu to run OpenSSL speed to test the performance of a single vcpu
Full text search of MySQL
Outlook开机自启+关闭时最小化
Find my information | Apple may launch the second generation airtag. Try the Lenz technology find my solution
实验五 模块、包和库
There is a 1GB difference between truncatememory and removememory
Gin security -2: fast implementation of server-side JWT verification
智能座舱SoC竞争升级,国产7nm芯片迎来重要突破
Nodejs operation state keeping technology cookies and sessions
Markdown syntax summary
Selenium批量查询运动员技术等级