nexus3的目录介绍

这篇文章其实就是对官网中"目录"这一个章节的翻译,主要是为了方便自己查找。

nexus的主目录分为两个,分别是安装目录和数据目录。

主目录的位置,如果没有改数据目录的位置的话,安装目录和数据目录应该是在一起的。因为之前的安装文章中为了演示更换数据目录,所以我这里的两个主目录的位置是不一样的。

安装目录数据目录
/usr/local/nexus3/nexus-3.19.0-01//data/nexusrepertory/sonatype-work/nexus3/

一、安装目录

先来看看安装目录中有些什么

[root@localhost nexus-3.19.0-01]# ll /usr/local/nexus3/nexus-3.19.0-01/
total 72
drwxrwxr-x  3 nexus nexus    73 Oct  7 09:26 bin
drwxrwxr-x  2 nexus nexus    26 Oct  6 19:22 deploy
drwxrwxr-x  7 nexus nexus   104 Oct  6 22:27 etc
drwxrwxr-x  5 nexus nexus   200 Oct  6 19:22 lib
-rw-r--r--  1 nexus nexus   395 Sep 25 22:12 NOTICE.txt
-rw-r--r--  1 nexus nexus 17321 Sep 25 22:12 OSS-LICENSE.txt
-rw-r--r--  1 nexus nexus 39222 Sep 25 22:12 PRO-LICENSE.txt
drwxrwxr-x  3 nexus nexus  4096 Oct  6 19:22 public
drwxrwxr-x 21 nexus nexus  4096 Oct  6 19:22 system

这里选择一些主要的文件或者目录来介绍下

NOTICE.txt/OSS-LICENSE.txt/PRO-LICENSE.txt
有关许可证和版权申明的文件。

bin
此目录包含nexus的启动脚本和与启动相关的配置文件,其中的nexus文件是nexus的启动文件。

etc
配置文件目录。

lib
依赖库目录。

public
公共资源目录。

system
此目录包含构成nexus的所有组件和插件。

二、数据目录

先来看看数据目录中有些什么

[root@localhost nexus-3.19.0-01]# ll /data/nexusrepertory/sonatype-work/nexus3/
total 24
drwxr-xr-x   3 nexus nexus   21 Oct  6 21:10 blobs
drwxr-xr-x 296 nexus nexus 8192 Oct  7 09:59 cache
drwxr-xr-x   6 nexus nexus  113 Oct  6 21:10 db
drwxr-xr-x   3 nexus nexus   36 Oct  6 21:41 elasticsearch
drwxr-xr-x   3 nexus nexus   45 Oct  6 22:29 etc
drwxr-xr-x   2 nexus nexus    6 Oct  6 21:09 generated-bundles
drwxr-xr-x   2 nexus nexus   33 Oct  6 21:09 instances
-rw-r--r--   1 nexus nexus    4 Oct  7 09:59 karaf.pid
drwxr-xr-x   3 nexus nexus   18 Oct  6 21:10 keystores
-rw-r--r--   1 nexus nexus   14 Oct  7 09:59 lock
drwxrwxr-x   4 nexus nexus  209 Oct  7 09:32 log
drwxrwxr-x   3 nexus nexus   21 Oct  6 19:22 orient
-rw-r--r--   1 nexus nexus    5 Oct  7 09:59 port
drwxr-xr-x   2 nexus nexus    6 Oct  6 21:10 restore-from-backup
drwxrwxr-x   9 nexus nexus  268 Oct  7 09:59 tmp

blobs
没有使用绝对路径定义的所有基于文件系统的blob存储的父目录。

cache
此目录包含当前缓存的karaf软件包的信息。

db
此目录包含OrientDB数据库,是repository manager元数据的主要存储。

elasticsearch
此目录包含elasticsearch的当前配置状态。

etc
此目录包含了repository manager的主要运行时的配置。在配置运行时环境中这些文件被进一步补充说明了。

keystores
用于识别repository manager自动生成的秘钥。

log
日志文件存放的目录。

tmp
临时存储目录。

参考文章:
https://help.sonatype.com/repomanager3/installation/directories

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值