九、按照官网的操作:安装artifactory+mariadb--失败了

复制代码
复制代码
yum install -y jfrog-artifactory-oss-6.6.5.rpm

[root@localhost ~]# yum install -y jfrog-artifactory-oss-6.6.5.rpm
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * extras: mirrors.tuna.tsinghua.edu.cn
 * updates: mirrors.tuna.tsinghua.edu.cn
没有可用软件包 jfrog-artifactory-oss-6.6.5.rpm。
错误:无须任何处理
[root@localhost ~]# 

尝试更换了别的yum源,仍然安装失败,还把yum源搞坏了,安装db安装不了了

yum切换源、以及损坏后的修复_yum修复-CSDN博客

按照这个博客的操作了一下,还不管事,最后在别的服务器上copy了一个过来,才可以。

下载了个artifactory的zip安装包,尝试一下能不能安装成功

(zip包的问题吗,是win版的?)

复制代码
[root@localhost jfrog]# /opt/jfrog/artifactory/bin/configure.mysql.sh

########################################################
# Welcome to the Artifactory MySQL configuration tool! #
########################################################

Please enter the MySQL server admin username [root]: ROOT^H^H^H^C
[root@localhost jfrog]# 
[root@localhost jfrog]# 
[root@localhost jfrog]# 
[root@localhost jfrog]# /opt/jfrog/artifactory/bin/configure.mysql.sh

########################################################
# Welcome to the Artifactory MySQL configuration tool! #
########################################################

Please enter the MySQL server admin username [root]: root

Please enter the MySQL server admin password: 
Please enter the Artifactory database username [artifactory]: artifactory

Please enter the Artifactory database password [password]: 
Creating the Artifactory MySQL user and database...

No MySQL JDBC connector found. Download or copy one needed.
Does the current server has access to the Internet? [Y/n]Y

Downloading mysql-connector-java-5.1.24.jar to /opt/jfrog/artifactory/tomcat/lib...

Error: Unable to download the MySQL JDBC connector. ERROR:
wget: 无法解析主机地址 "repo.jfrog.org"
Please place it manually under /opt/jfrog/artifactory/tomcat/lib before running Artifactory.
Press enter to quit...

下载了缺少的jar包,上传到服务器,重新执行命令

复制代码
[root@localhost jfrog]# /opt/jfrog/artifactory/bin/configure.mysql.sh

########################################################
# Welcome to the Artifactory MySQL configuration tool! #
########################################################

Please enter the MySQL server admin username [root]: root

Please enter the MySQL server admin password: 
Please enter the Artifactory database username [artifactory]: artifactory

Please enter the Artifactory database password [password]: 
Creating the Artifactory MySQL user and database...
Found correct MySQL JDBC connector [mysql-connector-java-5.1.24.jar].

Configuration completed successfully!
You can now start up the Artifactory service to use Artifactory with MySQL.
Press enter to exit...
相关推荐
有毒的教程2 小时前
Ubuntu 虚拟机磁盘空间不足完整解决教程
linux·运维·ubuntu
geNE GENT3 小时前
Nginx WebSocket 长连接及数据容量配置
运维·websocket·nginx
小樱花的樱花4 小时前
C++ new和delete用法详解
linux·开发语言·c++
APIshop4 小时前
Java获取京东商品详情接口(item_get)实战指南
java·linux·数据库
Cx330❀4 小时前
一文吃透Linux System V共享内存:原理+实操+避坑指南
大数据·linux·运维·服务器·人工智能
薛定谔的悦4 小时前
储能系统(EMS)核心架构解析:充放电控制、防逆流、防过载与 PID 调节
linux·运维·架构
志栋智能4 小时前
超自动化运维的终极目标:让系统自治运行
运维·网络·人工智能·安全·自动化
3GPP仿真实验室5 小时前
【MATLAB源码】CSI-RS:测量链路
linux·网络·matlab
阿 才5 小时前
WSL2 + TFTP + 网络启动(Linux开发板与WSL2建立网络连接)
linux·运维·网络
Benszen6 小时前
Docker容器化技术全解析
运维·docker·容器