九、按照官网的操作:安装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...
相关推荐
linnux领域3 分钟前
使用思科搭建企业网规划训练,让网络全部互通,使用规则提高工作效率。
运维·服务器·网络
jimte_pro40 分钟前
Linux系统接口--信号量、互斥锁、原子操作和自旋锁的区别
linux·c语言·驱动开发
没有名字的小羊43 分钟前
网络通信——路由器、交换机、集线器(HUB)
linux·服务器·网络
周湘zx44 分钟前
k8s下的网络通信与调度
linux·运维·云原生·容器·kubernetes
楠神说软件测试1 小时前
简单接口自动化框架实现(Python+requests+pytest)
运维·自动化·pytest
追梦不止~1 小时前
如何提高UI自动化的稳定性
运维·自动化
qq_339191141 小时前
docker 创建showdoc服务 showdoc容器部署教程
运维·docker·容器
FHKHH1 小时前
计算机网络第二章:作业 2: UDP ping 程序
运维·服务器·vscode·计算机网络·ubuntu·udp
黑龙江亿林等保1 小时前
CentOS:稳定的服务器操作系统选择
linux·服务器·centos
qq_415292642 小时前
docker镜像源
运维·docker·容器