marzo 7

Docker-Compose

Comandos para instalar docker-compose:

  • apt-get remove docker docker-engine docker.io containerd runc
  • sudo apt-get update

sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg

  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \
«deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable» | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

  • apt-get install docker-ce docker-ce-cli containerd.io
  • curl -L «https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)» -o /usr/local/bin/docker-compose
  • chmod +x /usr/local/bin/docker-compose
  • mkdir /usr/local/bin/docker-compose.yml
  • cd /usr/local/bin/
  • apt install git
  • git clone https://github.com/Titogus/IOTstack
  • cd IOTstack
  • ./menu.sh
Categoría: Gen-10, Proxmox, Raspberry-Pi, Servidor web | Comentarios desactivados en Docker-Compose
mayo 2

How to Install LAMP Stack on Ubuntu 20.04 ServerDesktop

Step 1: Update Software Packages

Before we install the LAMP stack, it’s a good idea to update repository and software packages. Run the following commands on your Ubuntu 20.04 OS.

sudo apt update

sudo apt upgrade

Step 2: Install Apache Web Server

Enter the following command to install Apache Web server. The apache2-utils package will install some useful utilities like Apache HTTP server benchmarking tool (ab).

sudo apt install -y apache2 apache2-utils

After it’s installed, Apache should be automatically started. Check its status with systemctl.

systemctl status apache2
Continúa leyendo
Categoría: Servidor web, Swervidor WEB | Comentarios desactivados en How to Install LAMP Stack on Ubuntu 20.04 ServerDesktop
abril 25

Conectar el dominio a una red con IP dinámica utilizando DNS dinámico (Linux)

Comprobar la instalación
  • Compruebe si Python ya está instalado. Para ello, introduzca el siguiente comando:
    python --version
  • Para comprobar si pip está instalado correctamente, introduzca el siguiente comando:
    pip --version
Instalar Python
  • Para instalar Python 3.x, introduzca los siguientes comandos.
    sudo apt update sudo
    apt upgrade sudo
    apt install software-properties-common sudo
    apt-get install python3
  • Para instalar pip, introduzca el siguiente comando:
    apt install python3-pip
Continúa leyendo
Categoría: Gen-10, Proxmox, Servidor web | Comentarios desactivados en Conectar el dominio a una red con IP dinámica utilizando DNS dinámico (Linux)