九、按照官网的操作:安装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...
相关推荐
Jason-河山13 分钟前
【自动化更新,让商品信息跳舞】——利用API返回值的幽默编程之旅
运维·自动化
饮浊酒17 分钟前
Linux操作系统 ------(3.文本编译器Vim)
linux·vim
lihuhelihu26 分钟前
第3章 CentOS系统管理
linux·运维·服务器·计算机网络·ubuntu·centos·云计算
哲讯智能科技28 分钟前
SAP Business One市场价格解析
运维·sap·erp
矛取矛求1 小时前
Linux系统性能调优技巧
linux
山东布谷科技官方1 小时前
布谷直播源码部署服务器关于数据库配置的详细说明
运维·服务器·数据库·直播系统源码·直播源码·直播系统搭建·直播软件开发
One_Blanks1 小时前
渗透测试-Linux基础(1)
linux·运维·安全
Perishell1 小时前
无人机避障——大疆与Airsim中的角速度信息订阅获取
linux·动态规划·无人机
爱吃喵的鲤鱼1 小时前
linux进程的状态之环境变量
linux·运维·服务器·开发语言·c++
dessler1 小时前
Linux系统-ubuntu系统安装
linux·运维·云计算