当前位置: 首页 > article >正文

九、按照官网的操作:安装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...


http://www.kler.cn/news/316013.html

相关文章:

  • AI资深导师指导-ChatGPT深度科研工作应用、论文撰写、数据分析及机器学习与AI绘图
  • MySQL|MySQL 中 `DATE_FORMAT()` 函数的使用
  • 如何进行Ubuntu磁盘空间深度清理?
  • MySQL数据库迁移与备份实录
  • 【RabbitMQ】应用问题
  • 【c++】介绍
  • 数据结构与算法——Java实现 11.习题——有序链表去重
  • 深度优先搜索算法及其matlab程序详解
  • [大语言模型-论文精读] 以《黑神话:悟空》为研究案例探讨VLMs能否玩动作角色扮演游戏?
  • ubuntu+MobaXterm+ssh+运行Qt(成功版)
  • Zotero(7.0.5)+123云盘同步空间+Z-library=无限存储文献pdf/epub电子书等资料
  • 【C++驾轻就熟】模板
  • JVM的CMS、G1以及ZGC对比
  • RS®AREG100A 汽车电子雷达回波发生器
  • 后端-项目创建与sql
  • Request 跨线程访问问题
  • 屋顶气膜网球馆:智慧城市资源利用之道—轻空间
  • STM32 的 SDIO 接口(基于STM32F429HAL库)
  • 考题抄错会做也白搭——模板方法模式
  • h5dump用法详解
  • 乐观锁、悲观锁及死锁
  • 【机器学习】---神经架构搜索(NAS)
  • 【tomcat】tomcat学习笔记
  • 垃圾邮件检测_TF-IDF分析,聚类分析与朴素贝叶斯
  • spring springboot 日志框架
  • 光伏行业的酸洗与深度除氟
  • 零信任安全架构--分段网络
  • 实战OpenCV之直方图
  • ESP32-WROOM-32 [ESP连接路由器+TCP Client 透传 + TCP Server数据发送]
  • 网络安全:构建数字世界的坚实防线