# install and run nexsus

firstly you must go opt folder then you can download nexsus aplication in local repository&#x20;

<https://help.sonatype.com/repomanager3/product-information/download>   =nexsus download link

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2FHV2Mck4YALCOZTKSzOdP%2Fimage.png?alt=media\&token=18e50ea8-94d2-416f-914e-ea96ff533532)

**tar -zxvf file name   = untar file**&#x20;

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2FjywxFAVdQbjSFUpmca3v%2Fimage.png?alt=media\&token=ab522038-b904-4673-9a91-50c54148fa56)

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2FsBVRwiNtBDonv7NuTI7n%2Fimage.png?alt=media\&token=9e4beb45-2cd3-4891-9739-6e12f975e920)

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2F7dYRo3OmcHaGo1aoldui%2Fimage.png?alt=media\&token=9b6bcb5c-c926-4568-8a57-e68bcf7b5a14)

after :&#x20;

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2FiC32JCS8QECFspkBYGKj%2Fimage.png?alt=media\&token=08c2e2e4-8486-4daf-8a35-88788d738e83)

{% hint style="info" %}
firstly you should create new user in digital ocean **nexsus** user&#x20;

**adduser nexus**
{% endhint %}

{% hint style="info" %}
then you change de file permisions because you cant start  this file with root permision&#x20;

**chown -R nexus:nexus nexus-3.28.1-01**

**chown -R nexus:nexus sonatype-work**

**vim nexus-3.28.1-01/bin/nexus.rc =** indicates which user to start with

**su - nexus**

{% endhint %}

{% hint style="info" %}
**/opt/nexus-3.28.1-01/bin/nexus start**   -=start the nexus&#x20;

**ps aux | grep nexus   = which proses has been started**

**netstat -lnpt = identifier proses id**&#x20;

{% endhint %}

{% hint style="success" %}
can you see the 8081 port is open but your digital ocean repostiroty didnt&#x20;

you must open 8081 port in the digitla ocean then you copy nexus ip and port after you write the chrome&#x20;

{% endhint %}

![](https://2601183865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8QpIzz6VwCOTMwaqKYa3%2Fuploads%2FJRO46eqhLfN6DIGLJIra%2Fimage.png?alt=media\&token=7d778fef-273b-4868-aeeb-793e0c68c5a6)
