开源资产管理系统chemex容器化部署
一、咖啡壶Chemex介绍
咖啡壶(Chemex)是一个轻量的、现代设计风格的 ICT 资产管理系统。得益于 Laravel 框架以及 Dcat Admin 开发平台,使其具备了优雅、简洁的优秀体验。 咖啡壶(Chemex) 是完全免费且开源的,任何人都可以无限制的修改代码以及部署服务,这对于很多想要对ICT资产做信息化管理的中小型企业来说,是一个很好的选择:低廉的成本换回的是高效的管理方案,同时又有健康的生态提供支持。
二、咖啡壶Chemex容器化部署教程
2.1 容器化部署MySQL数据库
[root@10-9-14-94 ~]# mkdir -p /data/mysql/{config,log,data} [root@10-9-14-94 ~]# docker run -d --name mysql57 \ --restart=always \ --privileged=true \ -p 3306:3306 \ -v /data/mysql/config:/etc/mysql/conf.d \ -v /data/mysql/log:/var/log/mysql \ -v /data/mysql/data:/var/lib/mysql \ -e MYSQL_ROOT_PASSWORD=123456 \ mysql:5.7 [root@10-9-14-94 ~]# docker exec -it mysql57 bash root@39fc6770f335:/# mysql -uroot -p123456 mysql> create database chemex;
2.2 容器化部署Chemex
docker run -itd --restart=always -p 80:80 \ --name chemex \ -e DB_HOST=10.9.14.94 \ -e DB_PORT=3306 \ -e DB_DATABASE=chemex \ -e DB_USERNAME=root \ -e DB_PASSWORD=123456 \ uhub.service.ucloud.cn/stargaome/chemex:latest
三、咖啡壶Chemex WEB访问
3.1 登录异常:该账户已经停用,请联系管理员!
# 容器内部重置chemex密码即可 [root@10-9-14-94 ~]# docker exec -it chemex bash root@b6100f5d44e0:/var/www/chemex# php artisan chemex:admin-reset Admin账户已成功重置为 admin/admin
3.2 访问系统内部报错:admin.deny
# 容器内部重装chemex [root@10-9-14-94 ~]# docker exec -it chemex bash root@b6100f5d44e0:/var/www/chemex# php artisan chemex:install 正在优化配置! Cached events cleared! Compiled views cleared! Application cache cleared! Route cache cleared! Configuration cache cleared! Compiled services and packages files removed! Caches cleared successfully! 正在设置存储系统! The [/var/www/chemex/public/storage] link has been connected to [/var/www/chemex/storage/app/public]. The links have been created. 正在配置APP密钥! Application key set successfully. 正在处理数据库迁移! Nothing to migrate. 正在初始化基础数据! Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Database seeding completed successfully. Admin账户已成功重置为 admin/admin 安装完成! 用户名密码都为:admin
3.3 访问展示
作者:UStarGao
链接:https://www.starcto.com/open-sourcing/290.html
来源:STARCTO
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
UCloud云平台推荐
随便看看
- 2024-09-01基于UCloud云主机自建K8S集群
- 2022-02-09Windows云主机远程登录报错“内部错误”问题分析
- 2021-08-16Elasticsearch 7.7.0容器化部署
- 2021-08-21开源IP地址管理系统phpipam部署
- 2021-04-10Linux服务器性能分析命令sar详解