Archive for septiembre, 2023

para entendidos

septiembre 16, 2023 at 2:51 pm Deja un comentario

una de drupal

#   Me guio de 
#   https://labarta.es/como-instalar-drupal-usando-docker-compose/#:~:text=Instalaci%C3%B3n%20de%20Drupal%3A,%22docker%22%20de%20nuestro%20servidor.

version: '3.1'

services:

  drupal:
    image: drupal:latest
    container_name: drupal
    ports:
      - "80:80"
    restart: always 
    volumes:  
      - ./d_modules:/var/www/html/modules \
      - ./d_profiles:/var/www/html/profiles \
      - ./d_sites:/var/www/html/sites \
      - ./d_themes:/var/www/html/themes \
    depends_on:
      - drupaldb
    environment:
      HOST: drupaldb
      DBASE: drupal
      USER: user
      PASS: p4ssw0rd 
      
  drupaldb:
    image: mysql:latest
    command: --default-authentication-plugin=mysql_native_password 
    container_name: drupaldb 
    expose:
      - "3306"
    restart: always 
    volumes:
      - ./db_data:/var/lib/mysql
    environment:
      MYSQL_DATABASE: drupal
      MYSQL_USER: user
      MYSQL_PASSWORD: p4ssw0rd
      MYSQL_ROOT_PASSWORD: p4ssw0rd  

septiembre 14, 2023 at 1:12 am Deja un comentario

Instalar proxmox en un debian 12

#   Guia
#   https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm
#   https://tweenpath.net/install-proxmox-7-debian-12/

sudo vi /etc/hosts

127.0.0.1 localhost
192.168.0.66 martina-srv-3 martina

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

hostname --ip-address

sudo vi /etc/apt/sources.list.d/pve-install-repo.list
deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription

wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg 
sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg 

sudo apt update && sudo apt full-upgrade
sudo apt install pve-kernel-6.2
sudo systemctl reboot
sudo apt install proxmox-ve postfix open-iscsi
sudo apt remove linux-image-amd64 'linux-image-6.1*'
sudo update-grub
sudo apt remove os-prober

septiembre 5, 2023 at 4:33 pm Deja un comentario


bueno

septiembre 2023
L M X J V S D
 123
45678910
11121314151617
18192021222324
252627282930  

Archivos