XX:LogFile=/Data/nexus-data/nexus3/log/jvm.log Tar xvfz /tmp/ -C /opt/nexus -strip-components 1Ĭhown -R nexus:nexus /Data/nexus-data Configure environment for Nexus repository OSS on CentOS 7 # Setting up the default JDKĮxport JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.7_8.x86_64Ĭhange Nexus default values as follows ~]# cat $NEXUS_HOME/bin/nexus.vmoptions SELINUXTYPE=targeted Install Nexus Repository OSS on Centos 7 # Creating necessory folder structure # minimum - Modification of targeted policy. # targeted - Targeted processes are protected, # SELINUXTYPE= can take one of three values: # disabled - No SELinux policy is loaded. # permissive - SELinux prints warnings instead of enforcing. # enforcing - SELinux security policy is enforced. # SELINUX= can take one of these three values: # This file controls the state of SELinux on the system. Yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-develĭisable SELinux on Centos as follows ~]# cat /etc/sysconfig/selinux Prerequisites yum install -y epel-release unzip vim wget net-tools Group repository that aggregates hosted and proxy.Proxy repository that relays access to another repository.A hosted repository that constitutes a repository by itself.There are three types of Nexus3 repositories. In this tutorial, How to Install Nexus Repository OSS on CentOS 7.
0 Comments
Leave a Reply. |