Skip to content

Developer Tools to install in self hosted repository

Notifications You must be signed in to change notification settings

jkano/dev-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer tools

These developer tools should be installed on Linux (Ubuntu). If using other OS like Windows you should install Docker Desktop for Windows, then follow the instructions to install Portainer on Windows. Other developer tools can be installed from Portainer.

Prerequisites

Docker

Install docker on Ubuntu:

  1. Open a terminal and run the following commands to install prerequisites:
  • sudo apt-get update
    
  • sudo apt-get install ca-certificates curl gnupg lsb-release
    
  • sudo mkdir -p /etc/apt/keyrings
    
  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
    
  • echo \
    "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
    $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    
  1. Now run these commands to install docker:
  • sudo apt-get update
    
  • sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose
    
  • sudo groupadd docker
    
  • sudo usermod -aG docker $USER
    
  • newgrp docker
    
  1. If not enabled, you can enable Docker to start on boot with:
  • sudo systemctl enable docker.service
    
  • sudo systemctl enable containerd.service
    

Portainer

Portainer is the tool used to manage your containers and install/update/remove them.

Install

  1. Open a terminal and run:
  • docker volume create portainer_data
    
  • docker run -d -p 8000:8000 -p 9443:9443 -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
    

    Note: You can change the port 9000 (http) and 9443 (https) to different ones if you want to access your instance from a different port. (i.e. -p 9001:9000 to access portainer via http port 9001)

  1. You can access your portainer instance using http://<your-ip-or-domain>:9000 or https://<your-ip-or-domain>:9443

    Note: It is normal when accessing via https to have a untrusted certificate as we havent added one yet.

  2. Log into your Portainer instance, create an admin and password user.

  3. If you want to add an SSL certificate to your instance, go to Settings->SSL certificate and upload a X.509 certificate, commonly a crt, a cer, or a pem file using the provided option.

  4. Following tools installations will be done from portainer

Developer Tools

About

Developer Tools to install in self hosted repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published