🍰
Grasshopper ES por BetweenRealities
  • Using and Generating Documentation
    • GitHub
    • Discord
      • Speckle Webhooks
    • Speckle Client
  • Potencial technological implementations
  • 🧞Compute
    • Introducción a Grasshopper
      • Customizar Entorno
        • VSCode
      • Rhinoceros 3d
      • Hops
      • Galapagos
    • Modelos Informados
      • Comportamiento Estructural
        • Automatizar cálculo Python
      • OOP
      • Rhino Inside Revit
        • Revit
          • Modelado 3d en Revit
          • Certificación profesional Revit
      • Energía
    • Procesos Urbanos
      • Automatizar Qgis
      • Librerías Python
      • Librerías Grasshopper
      • Stable Diffusion
    • Programación
      • RhinoPython
        • Anatomía del script
        • Python básico
        • Tuples, listas y diccionarios
        • Operadores y funciones
        • Ejecución condicional
        • Geometría
        • Clases
      • Multithread
  • 🪅Database
    • Lenguaje Python
      • Types and operations
      • Statements and syntax
      • Function and generators
      • Modules and packages
      • Classes and OPP
      • Exception and tools
      • Advance topics
    • Análisis de la Información
      • Comparison with SQL
      • Comparison with R / R libraries
      • Pandas
    • Abrir Acceso
      • Rest API Abierta
    • Blockchain Descentralización
  • 🕸️COLLECT
    • Captura de Datos
      • Raspberry Pi
        • Encendido y apagado automático
      • Arduino
      • UAS
      • Fotogrametría
        • Crashes
    • Técnicas Machine Learning
      • Clasificación
      • Computer Vision
    • Computación en la Nube
      • Contenedores
      • Azure
      • Ubuntu Server Deploy
      • PostgreSQL Server
      • Rhino Compute Deploy
  • 🍭INTERACT
    • Introducción a Unreal Engine
      • Ejecutar Python
      • Datasmith
      • Materiales
        • Crear PBR
        • Materiales Introducción
      • Iluminación
        • Iluminación Introducción
        • Raytraced Iluminación Cinemática
      • Assets Management
    • Interacción Inmersiva
      • Blueprints
        • Blueprints estandar
        • Blueprints Introducción
        • Diseño Nivel
      • Packaging
      • Performance
    • Interfaces Bidimensionales
Con tecnología de GitBook
En esta página
  • ¿Qué es un servidor Ubuntu?
  • Acceder a servidor mediante SSH en VSCode

¿Te fue útil?

  1. COLLECT
  2. Computación en la Nube

Ubuntu Server Deploy

AnteriorAzureSiguientePostgreSQL Server

Última actualización hace 2 años

¿Te fue útil?

¿Qué es un servidor Ubuntu?

Ubuntu es un sistema operativo basado en Linux que se utiliza en computadoras, servidores y dispositivos móviles. Es una distribución de Linux popular y libre que se caracteriza por su facilidad de uso y su soporte para una amplia gama de hardware y aplicaciones.

Un servidor Ubuntu es un equipo informático que se ejecuta con Ubuntu como sistema operativo. Es un tipo de servidor que se utiliza para alojar y administrar aplicaciones y servicios en una red, como un sitio web, una base de datos, un servidor de correo, o un servidor de archivos.

Un servidor Ubuntu ofrece una amplia gama de características y herramientas para administrar y aprovechar al máximo el servidor. Incluye una interfaz gráfica de usuario y un conjunto de aplicaciones y utilidades que facilitan la administración del servidor, la configuración de seguridad, y la monitorización de los servicios y recursos.

En general, un servidor Ubuntu es una plataforma poderosa y versátil para alojar y administrar aplicaciones y servicios en una red. Es una opción popular y fiable para una amplia gama de usos, y se caracteriza por su facilidad de uso y su soporte para una amplia gama de hardware y aplicaciones.

Acceder a servidor mediante SSH en VSCode

Yes, it is possible to access a server using SSH in Visual Studio Code (VS Code). VS Code is a popular and powerful code editor that includes support for a wide range of languages and technologies, including SSH.

To access a server using SSH in VS Code, you need to have an SSH client installed on your local computer, and you need to have an SSH server running on the remote server that you want to access. Once you have these, you can use VS Code to connect to the server using SSH and manage the server and its files using the built-in terminal and file explorer.

To connect to a server using SSH in VS Code, you can use the built-in command palette and search for "SSH" to access the available SSH commands. You can then use the "Add SSH Host" command to add the details of the server that you want to connect to, and the "Connect to Host" command to connect to the server using SSH.

Once you are connected to the server using SSH, you can use the terminal and file explorer in VS Code to manage the server and its files, as well as run commands and scripts on the server. You can also use VS Code's debugging and other tools to work with the files and code on the server, just as you would on your local computer.

Overall, using SSH in VS Code is a convenient and powerful way to access and manage a remote server. It provides a seamless and integrated experience that allows you to work with the server and its files using the same tools and features that you use for local development.

ACCEDER SERVER DESDE SSH https://vitux.com/how-to-remotely-manage-a-ubuntu-server-with-ssh/

sudo ufw allow ssh
sudo ufw enable;
sudo ufw allow 22
**Si el portforwading te redirige a otros puertos similares tienes que permitirlos aquí ?**
sudo ufw allow 8080 / sudo ufw allow 60443
sudo ufw status
sudo apt-get install net-tools
sudo apt install net-tools
sudo apt install openssh-server

Cargar en VSCode: Remote SSH plugin; si no carga eliminar known_hosts ("C:\Users\casas.ssh")

sudo apt-get install apache2
sudo /etc/init.d/apache2 status
sudo service apache2 start
sudo ufw allow ‘Apache Full’

PORT FORWADING IN ROUTER

CONF FILE hostname -I sudo nano /etc/apache2/sites-available/ctaz.conf

<VirtualHost \*:80>
   ServerName [20.73.45.21](http://20.73.45.21/)
   ServerAdmin youremail@email.com
   WSGIScriptAlias / /var/www/ctaz/ctaz.wsgi
   <Directory /var/www ctaz/ctaz/>
		Order allow,deny
		Allow from all
   </Directory>
   ErrorLog ${APACHE_LOG_DIR}/ctaz-error.log
   LogLevel warn
   CustomLog ${APACHE_LOG_DIR}/ctaz-access.log combined
</VirtualHost>
sudo a2ensite ctaz
sudo a2dissite 000-default
sudo systemctl reload apache2

ADD APP FILES /var/www mediante WinSCP sudo mkdir -p /var/www/ctaz/ctaz sudo chown appsetsa_user:appsetsa_user /var/www/ctaz

ADD WSGI FILE sudo nano /var/www/ctaz/ctaz.wsgi

#!/usr/bin/python3.6
import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/ctaz/ctaz/")

from index import app
application = app.server

Github-hosted runners

Virtual machines to run workflows. The virtual machine contains an environment of tools, packages, and settings available for GitHub Actions to use. Viewing deployment activity for your repository. Using environments for deployment.

name: Deployment
on:
  push:
    branches:
      - main
jobs:
  deployment:
    runs-on: ubuntu-latest
    environment: production
    steps:
      - name: deploy
        # ...deployment-specific steps

Using the visualization graph.

github-hosted runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources Viewing deployment activity for your repository: https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-deployment-activity-for-your-repository Using environments for deployment: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment Using the visualization graph: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph

INSTALL SERVER:

ADD HTTS CERTIFICATE sudo nano /etc/apache2/sites-available/default-ssl.conf (RECOMENDACIÓN JPUENTE)

PORT FORWADING WITH HYPER-V MANAGER: Create virtual switch for hyper-v virtual machines: Open ALL ports: Website home apache2: https://www.youtube.com/watch?v=KvLj-TNXFDs Port forwadinf ubnutu: Install NJ in ubuntu: CONF FILE JS:

🕸️
How to Install Ubuntu Server on a Raspberry Pi (itsfoss.com)
How To Install the Apache Web Server on Ubuntu 20.04 - Tuts Make
Setup Apache2 HTTP with Self-Signed SSL/TLS Certificates on Ubuntu 16.04 LTS Servers • Website for Students
Let's Encrypt (letsencrypt.org)
Create a virtual switch for Hyper-V virtual machines | Microsoft Docs
What Is a DMZ and Why Would You Use It? | Fortinet
ubuntu - Port forwarding with Hyper-V virual machine on Windows 10 - Super User
Networking Hyper-V & Linux / Ubuntu virtual machine internet access – gurdeep.ninja
How to Port Forward - General Guide to Multiple Router Brands | Support | No-IP Knowledge Base (noip.com)
install javascript in ubuntu code example | Newbedev
How to: Deploy Node.js apps to Apache Ubuntu - Ironeko