Skip to content

Instantly share code, notes, and snippets.

View nixikanius's full-sized avatar

Nikita Petrov nixikanius

View GitHub Profile
@nixikanius
nixikanius / debian_ssh_install_iso.md
Last active October 2, 2022 10:49
Preparing Debian ISO image with remote installation over SSH

Preparation of ISO Image

  1. Create working directory:
    mkdir debinst
    
  2. Download netinstall image:
    (cd debinst && curl -OL https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.4.0-amd64-netinst.iso)
    
consul | BootstrapExpect is set to 1; this is the same as Bootstrap mode.
consul | bootstrap = true: do not enable unless necessary
consul | ==> Starting Consul agent...
consul | Version: 'v1.7.3'
consul | Node ID: '6508cb69-ace8-a047-eefd-f40828ab425e'
consul | Node name: 'demo-dir'
consul | Datacenter: 'dc1' (Segment: '<all>')
consul | Server: true (Bootstrap: true)
consul | Client Addr: [127.0.0.1] (HTTP: 8500, HTTPS: -1, gRPC: -1, DNS: 8600)
consul | Cluster Addr: 192.168.0.254 (LAN: 8301, WAN: 8302)
[03:57 PM]-[vagrant@packer-virtualbox-iso]-[~/orocrm]-[git (1.3.0)]
$ curl -s https://getcomposer.org/installer | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Composer successfully installed to: /home/vagrant/orocrm/composer.phar
Use it: php composer.phar
[03:57 PM]-[vagrant@packer-virtualbox-iso]-[~/orocrm]-[git (1.3.0)]