![]() ![]() In next step, we will create a service for Nexus. Now we have given permission for nexus user. Djava.io.tmpdir=./sonatype-work/nexus3/tmp XX:LogFile=./sonatype-work/nexus3/log/jvm.log Next we nedd to Increase the nexus JVM heap size, open the /opt/nexus/bin/nexus.vmoptions file, you can modify the size as shown below: To run nexus as service at boot time, open /opt/nexus/bin/nexus.rc file, uncomment it and add nexus user as shown below: Sudo chown -R nexus:nexus /opt/sonatype-work Now we can give permission for nexus user by running the following command: In next step, we will give pernission for nexus user. Now we have set no password for nexus user. Let’s set no password for nexus user open the visudo file in ubuntu by running the following command:Īdd the following line to the end of the file: In next step, we will create a user and group for Nexus.Īs a better security practice, we don't run nexus service using root user, so lets create new user named `nexus` to run nexus service by running the following command: Rename the extracted Nexus setup folder to nexus by running the following command: Now we can extract the Nexus by running the following command: Now we can download Nexus by running the following command: You can do that by running the following command: In next step, we will download Nexus repository manager.īefore downloading the Nexus, we need to `cd` in to `opt` directory. ![]() You can check the Java version by running the following command: You can install Java by running the following command: If you already have Java installed, you can skip this step. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |