Skip to content

Instantly share code, notes, and snippets.

@itxtoledo
Last active June 13, 2020 23:31
Show Gist options
  • Select an option

  • Save itxtoledo/4e84fc29ee6b15702e691a0befbeec4a to your computer and use it in GitHub Desktop.

Select an option

Save itxtoledo/4e84fc29ee6b15702e691a0befbeec4a to your computer and use it in GitHub Desktop.

Revisions

  1. itxtoledo revised this gist Jun 13, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,8 @@
    # executar com sudo
    # wget -O - thisUrl | bash

    apt-get update -y && apt-get upgrade -y && apt-get install curl apt-transport-https -y
    apt-get install apt-transport-https -y
    apt-get update -y && apt-get upgrade -y && apt-get install curl -y

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  2. itxtoledo revised this gist Jun 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    # executar com sudo
    # wget -O - thisUrl | bash

    apt-get update -y && apt-get upgrade -y && apt-get install curl -y
    apt-get update -y && apt-get upgrade -y && apt-get install curl apt-transport-https -y

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  3. itxtoledo revised this gist Jun 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    # executar com sudo
    # wget -O - thisUrl | bash

    apt-get update -y && apt-get upgrade -y && apt-get install curl
    apt-get update -y && apt-get upgrade -y && apt-get install curl -y

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  4. itxtoledo revised this gist Jun 13, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,9 @@
    # executar com sudo
    # wget -O - thisUrl | bash

    apt-get update -y && apt-get upgrade -y
    apt-get update -y && apt-get upgrade -y && apt-get install curl

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

    apt-get update && apt-get install software-properties-common curl -y && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get update -y && apt-get install certbot python3-certbot-nginx yarn nginx git -y --allow-unauthenticated && apt-get autoremove -y
    apt-get update && apt-get install software-properties-common -y && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get update -y && apt-get install certbot python3-certbot-nginx yarn nginx git -y --allow-unauthenticated && apt-get autoremove -y
  5. itxtoledo revised this gist Jun 13, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@ apt-get update -y && apt-get upgrade -y
    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

    apt-get update && apt-get install software-properties-common -y && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get update -y && apt-get install certbot python3-certbot-nginx yarn nginx git -y && apt-get autoremove -y
    apt-get update && apt-get install software-properties-common curl -y && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get update -y && apt-get install certbot python3-certbot-nginx yarn nginx git -y --allow-unauthenticated && apt-get autoremove -y
  6. itxtoledo revised this gist Jun 5, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/bin/bash
    # executar com sudo
    # wget thisUrl | bash -s
    # wget -O - thisUrl | bash

    apt-get update -y && apt-get upgrade -y

  7. itxtoledo created this gist Jun 5, 2020.
    10 changes: 10 additions & 0 deletions pmginx.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    #!/bin/bash
    # executar com sudo
    # wget thisUrl | bash -s

    apt-get update -y && apt-get upgrade -y

    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

    apt-get update && apt-get install software-properties-common -y && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get update -y && apt-get install certbot python3-certbot-nginx yarn nginx git -y && apt-get autoremove -y