大数据平台搭建之nexus私服
来源:互联网 发布:阿里云邮企业版下载 编辑:程序博客网 时间:2024/04/30 08:00
System Requirements
Processors: 2 Core 2.5Ghz+
Available Space: 100G+ depending on number and size of artifacts
Available RAM: 4Gb+
JRE Versions: jdk7u60
Reference: https://support.sonatype.com/entries/24901442-Sonatype-Nexus-System-Requirements
Steps for installing Nexus repository manager in RedHat machine
1. Downloading Nexus
Nexus Open Source distribution was used for this installation test, while a Nexus Professional is also available.To download the latest Nexus Open Source distribution, go to http://www.sonatype.org/nexus/go and choose Nexus (TGZ) or Nexus (ZIP) . (wget www.sonatype.org
/downloads/<Nexusvesion>
form your machine)
At this time the nexus-2.11.2-06-bundle.zip file was downloaded
2. Installing Nexus
Copy the file to a directory other than your local (e.g., /usr/local) and unzip the ZIP file:
$ sudo cp nexus-2.11.2-06-bundle.tar.gz /usr/local
$ unzip nexus-2.11.2-06-bundle.zip
Is recommendable to create a symbolic link (usr/local/nexus) to the specific nexus version directory. It makes simple to upgrade to a newer version when available
$ sudo ln -s nexus-2.11.2-06 nexus
Although it isn’t required, you may want to set an environment variable NEXUS_HOME in your environment that points to the installation directory of Nexus
NEXUS_HOME="/usr/local/nexus"
3. Running Nexus
To Start Nexus in a Linux machine use:
cd /usr/local/nexus./bin/nexus console
When executed you should see a feedback message and then you can follow the startup process viewing the log file changes.
Starting Nexus Repository Manager...Started Nexus Repository Manager.$ tail -f logs/wrapper.log
At this point, Nexus will be running and listening on all IP addresses of the current host on port 8081. To use Nexus,start a web browser and type in the URL
http://hostname:8081/nexus
When installing Nexus for production usage you should configure Nexus as a service following the instructions here
- "java.net.UnknownHostException: n085"
Add following in /etc/hosts:
10.20.69.85 n085 - nexus is started successfully, but could not open http://10.20.69.85:8081/nexus
caused by iptables setting, fix commands:
-> iptables -I INPUT -p tcp --dport 8081 -jACCEPT
-> iptables -I INPUT -p udp --dport 8081 -jACCEPT
-> service iptables save
-> service iptables restart
Or "service iptables stop" directely
- Add neo4j in UI
- mv neo4j org directory to /usr/local/nexus/sonatype-work/nexus/storage/neo4j
- Could see neo4j repo:
- 大数据平台搭建之nexus私服
- 大数据平台搭建之deploy components to nexus
- 大数据平台搭建之build environment
- 大数据平台搭建之zookeeper
- 大数据平台搭建之HBase
- 大数据平台搭建之hive
- 大数据平台搭建之scala
- Nexus平台搭建
- 大数据平台搭建笔记
- 大数据平台搭建之components版本选择
- 大数据平台搭建之components building commands
- 朝花夕拾之--大数据平台CDH集群离线搭建
- 大数据平台之CDH集群离线搭建
- 浅入浅出之使用Nexus搭建Maven私服
- Centos 环境搭建之Maven私服nexus
- 大数据基础平台搭建教程
- 大数据平台搭建(hadoop+spark)
- 大数据平台CDH集群离线搭建
- Shell脚本基本命令
- 黑马程序员——反射
- git使用时遭遇the authenticity of host can't be established
- Android之异步线程原理
- MATLAB中去掉字符串中的空格,num2str引发的问题
- 大数据平台搭建之nexus私服
- java中long和double类型操作的非原子性探究
- QT5-TableWidget字符串显示
- 分享:“延迟加载与预加载”使用体会
- javascript 语法基础 想学习js的朋友可以看看
- Docker使用Link在容器之间建立连接
- webview 创建页面self.append(sub)与sub.show()区别
- fastreport问题集合
- volatile 和 atomic 原子性的区别和联系