首页 > 系统相关 >Ubuntu部署Maxkey单点登录认证系统

Ubuntu部署Maxkey单点登录认证系统

时间:2024-03-21 19:56:06浏览次数:25  
标签:Pull 单点 complete exists maxkey Maxkey Ubuntu docker latest

1:基础环境

ubuntu-23.10-live-server-amd64.iso
Docker version 24.0.5, build 24.0.5-0ubuntu1
MaxKey-v4.0.2-GA

2:Git克隆远程仓库到本地

git clone https://gitee.com/dromara/MaxKey.git

3:安装MaxKey

3-1:进入/root/MaxKey/docker目录

cd /root/MaxKey/docker

3-2:查看/root/MaxKey/docker目录

ll

3-3:执行安装脚本maxkey_docker_install.sh

bash maxkey_docker_install.sh

root@tangikru:~/MaxKey/docker# bash maxkey_docker_install.sh 
network create 
Error response from daemon: network with name maxkey.top already exists
8.0.32: Pulling from library/mysql
328ba678bf27: Pull complete 
f3f5ff008d73: Pull complete 
dd7054d6d0c7: Pull complete 
70b5d4e8750e: Pull complete 
cdc4a7b43bdd: Pull complete 
3e9c0b61a8f3: Pull complete 
806a08b6c085: Pull complete 
021b2cebd832: Pull complete 
ad31ba45b26b: Pull complete 
0d4c2bd59d1c: Pull complete 
148dcef42e3b: Pull complete 
Digest: sha256:f496c25da703053a6e0717f1d52092205775304ea57535cc9fcaa6f35867800b
Status: Downloaded newer image for mysql:8.0.32
docker.io/library/mysql:8.0.32
latest: Pulling from maxkeytop/maxkey
707e32e9fc56: Pull complete 
8e560b9ae2a6: Pull complete 
15ee7ce1b141: Pull complete 
c1beaa7a6288: Pull complete 
4d724d23e7c3: Pull complete 
af130c0f386b: Pull complete 
ad4af1892323: Pull complete 
eff083e31c7d: Pull complete 
8e4f2a52ef27: Pull complete 
41c23dad61f2: Pull complete 
Digest: sha256:97daf567c6974f96b46c583fcf3445c33af168819d0208f030807eecb3b3f29f
Status: Downloaded newer image for maxkeytop/maxkey:latest
docker.io/maxkeytop/maxkey:latest
latest: Pulling from maxkeytop/maxkey-mgt
707e32e9fc56: Already exists 
8e560b9ae2a6: Already exists 
15ee7ce1b141: Already exists 
c1beaa7a6288: Already exists 
4d724d23e7c3: Already exists 
af130c0f386b: Already exists 
efd3204440f5: Pull complete 
a42172c3bb7d: Pull complete 
aa7118c961e1: Pull complete 
161a9ff307e3: Pull complete 
Digest: sha256:4bcb84d33ce48b2a1c9be9c4d2dbde2898ac378ecfb46dea08eb37843dcc96fa
Status: Downloaded newer image for maxkeytop/maxkey-mgt:latest
docker.io/maxkeytop/maxkey-mgt:latest
latest: Pulling from maxkeytop/maxkey-frontend
a803e7c4b030: Pull complete 
8b625c47d697: Pull complete 
4d3239651a63: Pull complete 
0f816efa513d: Pull complete 
01d159b8db2f: Pull complete 
5fb9a81470f3: Pull complete 
9b1e1e7164db: Pull complete 
0f69c8213c24: Pull complete 
aee8ec517197: Pull complete 
Digest: sha256:d4b119d28a8eb83c6403160d90a5c8b28e821f524e5db6c65db6a622eb15a331
Status: Downloaded newer image for maxkeytop/maxkey-frontend:latest
docker.io/maxkeytop/maxkey-frontend:latest
latest: Pulling from maxkeytop/maxkey-mgt-frontend
a803e7c4b030: Already exists 
8b625c47d697: Already exists 
4d3239651a63: Already exists 
0f816efa513d: Already exists 
01d159b8db2f: Already exists 
5fb9a81470f3: Already exists 
9b1e1e7164db: Already exists 
655d05257021: Pull complete 
304c2704c66c: Pull complete 
Digest: sha256:b5b604330b1feeb182cb3fb401545985dd634ba7491b72d573e4b6592c0caf09
Status: Downloaded newer image for maxkeytop/maxkey-mgt-frontend:latest
docker.io/maxkeytop/maxkey-mgt-frontend:latest
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  3.584kB
Step 1/2 : FROM nginx
latest: Pulling from library/nginx
8a1e25ce7c4f: Pull complete 
e78b137be355: Pull complete 
39fc875bd2b2: Pull complete 
035788421403: Pull complete 
87c3fb37cbf2: Pull complete 
c5cdd1ce752d: Pull complete 
33952c599532: Pull complete 
Digest: sha256:6db391d1c0cfb30588ba0bf72ea999404f2764febf0f1f196acd5867ac7efa7e
Status: Downloaded newer image for nginx:latest
 ---> 92b11f67642b
Step 2/2 : COPY ./default.conf /etc/nginx/conf.d/default.conf
 ---> 2e8db2b06037
Successfully built 2e8db2b06037
Successfully tagged maxkeytop/maxkey-nginx:latest
installed done.

3-3:执行安装脚本bash maxkey_docker_start.sh

bash maxkey_docker_start.sh

4:修改hosts文件

vim vim /etc/hosts

5:访问浏览器测试应用

在完成安装部署后,打开浏览器,访问以下地址

认证平台:http://sso.maxkey.top/maxkey/
管理平台:http://mgt.maxkey.top/maxkey-mgt/
账户密码:admin/maxkey

5:完结撒花~

标签:Pull,单点,complete,exists,maxkey,Maxkey,Ubuntu,docker,latest
From: https://www.cnblogs.com/tangikru/p/18087376

相关文章

  • ubuntu 搭建Samba服务
    1.sudoapt-getinstallsamba2.sudocp/etc/samba/smb.conf/etc/samba/smb.conf.bak3.sudovi/etc/samba/smb.conf在smb.conf的文件最后加入以下配置并保存,然后退出[work] #ubuntu下的共享目录名称comment=sambahomedirectorypath=/home/book/ #共享目......
  • opengl日记7-ubuntu20.04开发环境opengl拓展glfw和glad环境搭建
    文章目录ubuntu中安装opengl核心环境安装glfw安装glad测试验证程序vscode的task.json配置如下note参考ubuntu中安装opengl核心环境可执行如下命令进行整体安装:sudoapt-getinstalllibgl1-mesa-dev*或者单独安装1、提供编译程序必须软件包的列表信息sudoapt......
  • Ubuntu 设置mysql 自动备份
    1、创建备份文件以及备份脚本所在的目录在根目录下面设置cd/mkdirbackup2、修改mysql备份配置文件这种相比于在将用户名和密码写在bash脚本里面,会更加安全一些。sudovim/etc/mysql/conf.d/mysqldump.cnfmysqldump.cnf文件添加以下内容:host=127.0.0.1user=****#mysq......
  • ubuntu18.04在下载编译Realsense-ros遇到的问题
    要注意的是,我是用小鱼的一键安装ros安装的ros,链接可以参考我的一篇文章开头有:ubuntu18.04系统中运行./build_ros.sh的时候遇到报错-CSDN博客我遇到的问题是csdn上搜不到的问题:CMakeErrorat/opt/ros/melodic/share/catkin/cmake/catkin_workspace.cmake:100(message): ......
  • c/c++|gdb 单点调试 | 多点调试|查看栈中信息|具体变量
    设置断点,有什么好处,废话就不说了,可以去看手册设置断点,参考bxxx.cpp:n某个源文件的某行bfunc1调试某个函数编译g++test_gdb_watch.cpp-g设置断点bpowerr出现报错Missingseparatedebuginfos,use:debuginfo-installglibc-2.17-326.el7_9.x86_64libg......
  • Ubuntu修改root密码
    背景:Ubuntu桌面版本在安装系统时需要创建一个普通用户,安装完成后进入系统也只能使用你创建的用户密码。我们不知道root的登录密码,这个时候需要重启系统进行root密码修改。Ubuntu怎么修改root密码呢?以下是详细的步骤:1、重启你的Ubuntu系统,然后在启动过程中按住Shift键,进入GRUB菜单......
  • ubuntu配置:
    1.换源一、查看ubuntu的Codenamelsb_release-a|grepCodename|awk'{print$2}'#输出结果为下文中的Codename二、备份系统源cd/etc/aptsudomvsources.listsources.list.bak三、写入阿里云的源sudogeditsources.list下面源信息中$Codename为第一步中系统的Cod......
  • Ubuntu 22.04 开启root账户ssh登录
    1.设置root账户密码sudopasswdroot按照提示输入密码及二次确认:至此已经可以本地登录root账号了。 2.开启root账户远程ssh登录sudosed-i's/#PermitRootLoginprohibit-password/PermitRootLoginyes/'/etc/ssh/sshd_configsudosystemctlrestartssh ......
  • Ubuntu上服务运行报错,No usable version of libssl was found
    运行服务时报错sudosystemctlstartComServer.servicesudosystemctlstatusComServer.service×ComServer.service-MESAPIservicesLoaded:loaded(/etc/systemd/system/ComServer.service;enabled;vendorpreset:enabled)Active:failed(Result:cor......
  • Ubuntu E: 无法获得锁 /var/lib/dpkg/lock-frontend问题解决
    问题描述ubuntu18.04版本在更新出现:E:无法获得锁/var/lib/dpkg/lock-frontend-open(11:资源暂时不可用)即这个错误表明Ubuntu系统在尝试使用APT(高级包装工具)时无法获取一个锁文件。锁文件用于防止多个进程同时修改系统软件包数据库,以防止数据库损坏。错误信息中的“......