Add translation EN about openbsd vmd serial console article
parent
01919abec6
commit
e21600ea15
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
title: "Bash: function array_key_exists()"
|
||||
date: 2017-07-29T18:56:36+01:00
|
||||
description: "Function bash array_key_exists(), equivalent to PHP"
|
||||
draft: false
|
||||
include_toc: true
|
||||
show_comments: false
|
||||
tags: ["Bash", "array"]
|
||||
title: "Bash: function array_key_exists()"
|
||||
translationKey: "bash-array-key-exists"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Bash : function array_search()"
|
||||
date: 2017-07-29T18:19:29+01:00
|
||||
description: "Function bash array_search(), equivalent to PHP"
|
||||
draft: false
|
||||
tags: ['Bash', 'array']
|
||||
title: "Bash : function array_search()"
|
||||
translationKey: "bash-array-search"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
title: "Bash: Convert, optimize image jpeg/png"
|
||||
date: 2017-07-24T16:56:42+01:00
|
||||
description: "Script bash to convert, optimize and minimize jpg or png image"
|
||||
draft: false
|
||||
|
@ -7,6 +6,8 @@ include_toc: true
|
|||
lastmod: 2017-07-28T12:34:17+01:00
|
||||
show_comments: false
|
||||
tags: ["Bash", "convert", "optimize", "image"]
|
||||
title: "Bash: Convert, optimize image jpeg/png"
|
||||
translationKey: "bash-convert-optimize-image"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Python: virtual environment on OpenBSD"
|
||||
date: 2019-06-19T12:03:33+02:00
|
||||
description: "How to use virtuals environments Python on OpenBSD with W^X security."
|
||||
draft: false
|
||||
tags: ['Python','Environnement','OpenBSD']
|
||||
title: "Python: virtual environment on OpenBSD"
|
||||
translationKey: "python-env-openbsd"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-04-25T12:17:36+02:00
|
|||
description: "To use on Devuan the OpenNTPD time synchronization client"
|
||||
draft: false
|
||||
tags: ['Devuan', 'OpenNTPD', 'ntp', 'client', 'temps']
|
||||
translationKey: "devuan-openntpd-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-04-27T09:19:56+02:00
|
|||
description: "Howto Install OpenSMTPD on Devuan, and config as client with auth SMTP"
|
||||
draft: false
|
||||
tags: ['Devuan', 'OpenSMPTD', 'smtp', 'client', 'mail', 'auth']
|
||||
translationKey: "devuan-opensmtpd-auth-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2018-11-03T21:38:54+01:00
|
|||
description: "Howto config the SMTPD service for a required authentication mail on OpenBSD (>= v6.4)"
|
||||
draft: false
|
||||
tags: ["OpenBSD", "smtpd", "auth", "client", "mail"]
|
||||
translationKey: "openbsd-smtpd-auth-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -5,6 +5,7 @@ description: "Stubby installation experimentation, a DoT and DNSSEC client, on O
|
|||
draft: false
|
||||
lastmod: 2018-10-11T21:24:09+01:00
|
||||
tags: ["OpenBSD", "stubby", "experimental", "DNS", "DoT", "DNSSEC"]
|
||||
translationKey: "openbsd-experimental-stubby"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -60,7 +60,12 @@ because the install sets are on.
|
|||
|
||||
For instance, with the 6.9 release:
|
||||
```ksh
|
||||
$ ftp https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/{install69.iso,SHA256,SHA256.bin}
|
||||
$ ftp https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/{install69.iso,SHA256,SHA256.sig}
|
||||
$ sha256 -C SHA256 install69.iso
|
||||
(SHA256) install69.iso: OK
|
||||
$ signify -Cp /etc/signify/openbsd-69-base.pub -x SHA256.sig install69.iso
|
||||
Signature Verified
|
||||
install69.iso: OK
|
||||
```
|
||||
|
||||
⇒ Create the VM:
|
||||
|
|
|
@ -0,0 +1,206 @@
|
|||
---
|
||||
date: 2021-02-21T23:14:42+01:00
|
||||
description: "Solve serial console problem for a VM, copied from another OS to OpenBSD!"
|
||||
draft: false
|
||||
tags: ["OpenBSD","vmd","astuce"]
|
||||
title: "[OpenBSD :: Virtualization] No login screen ; no login!"
|
||||
translationKey: "openbsd-vmd-no-login-screen"
|
||||
---
|
||||
|
||||
# Description
|
||||
|
||||
As a reminder, the [vmm(4)](https://man.openbsd.org/vmm) hypervisor on OpenBSD
|
||||
not have graphic support on the VM guests. **Only serial console access is
|
||||
available.**
|
||||
|
||||
When you do virtualization on OpenBSD am64, i386, OpenBSD handles all correctly.
|
||||
So, the serial console access is configured on `/etc/boot.conf`; `tty00`
|
||||
to use correctly the serial console.
|
||||
|
||||
---
|
||||
|
||||
The following problem results when you have the idea to create VM under
|
||||
another OS, Linux for example, unless you answer specifically **yes** when
|
||||
the installer asks to configure **com0**:
|
||||
|
||||
**No login screen ; no login!**
|
||||
|
||||
To illustrate: once OpenBSD VM is copied on the OpenBSD host, here is the
|
||||
boot:
|
||||
|
||||
```ksh
|
||||
$ vmctl start -c vm-test
|
||||
Using drive 0, partition 3.
|
||||
Loading......
|
||||
probing: pc0 com0 mem[638K 1022M a20=on]
|
||||
disk: hd0+
|
||||
>> OpenBSD/amd64 BOOT 3.52
|
||||
boot>
|
||||
booting hd0a:/bsd: 14329128+3191816+337072+0+872448 [999468+128+1135344+859361]=0x14ba488
|
||||
entry point at 0xffffffff81001000
|
||||
[ using 2995336 bytes of bsd ELF symbol table ]
|
||||
Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
The Regents of the University of California. All rights reserved.
|
||||
Copyright (c) 1995-2020 OpenBSD. All rights reserved. https://www.OpenBSD.org
|
||||
|
||||
OpenBSD 6.8 (GENERIC) #4: Mon Jan 11 10:34:36 MST 2021
|
||||
root@syspatch-68-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
|
||||
real mem = 1056956416 (1007MB)
|
||||
avail mem = 1010040832 (963MB)
|
||||
random: good seed from bootblocks
|
||||
mpath0 at root
|
||||
scsibus0 at mpath0: 256 targets
|
||||
mainbus0 at root
|
||||
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf3f40 (10 entries)
|
||||
bios0: vendor SeaBIOS version "1.11.0p3-OpenBSD-vmm" date 01/01/2011
|
||||
bios0: OpenBSD VMM
|
||||
acpi at bios0 not configured
|
||||
cpu0 at mainbus0: (uniprocessor)
|
||||
cpu0: AMD FX-8320E Eight-Core Processor, 3211.59 MHz, 15-02-00
|
||||
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,HV,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
|
||||
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
|
||||
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
|
||||
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
|
||||
cpu0: smt 0, core 0, package 0
|
||||
pvbus0 at mainbus0: OpenBSD
|
||||
pvclock0 at pvbus0
|
||||
pci0 at mainbus0 bus 0
|
||||
pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00
|
||||
virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00
|
||||
viornd0 at virtio0
|
||||
virtio0: irq 3
|
||||
virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00
|
||||
vio0 at virtio1: address fe:e1:bb:d1:a9:7b
|
||||
virtio1: irq 5
|
||||
virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00
|
||||
vioblk0 at virtio2
|
||||
scsibus1 at vioblk0: 1 targets
|
||||
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
|
||||
sd0: 51200MB, 512 bytes/sector, 104857600 sectors
|
||||
virtio2: irq 6
|
||||
virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00
|
||||
vmmci0 at virtio3
|
||||
virtio3: irq 7
|
||||
isa0 at mainbus0
|
||||
isadma0 at isa0
|
||||
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
|
||||
com0: console
|
||||
vscsi0 at root
|
||||
scsibus2 at vscsi0: 256 targets
|
||||
softraid0 at root
|
||||
scsibus3 at softraid0: 256 targets
|
||||
root on sd0a (6dc570f70e2c7991.a) swap on sd0b dump on sd0b
|
||||
Automatic boot in progress: starting file system checks.
|
||||
/dev/sd0a (6dc570f70e2c7991.a): file system is clean; not checking
|
||||
/dev/sd0m (6dc570f70e2c7991.m): file system is clean; not checking
|
||||
/dev/sd0d (6dc570f70e2c7991.d): file system is clean; not checking
|
||||
/dev/sd0f (6dc570f70e2c7991.f): file system is clean; not checking
|
||||
/dev/sd0g (6dc570f70e2c7991.g): file system is clean; not checking
|
||||
/dev/sd0h (6dc570f70e2c7991.h): file system is clean; not checking
|
||||
/dev/sd0j (6dc570f70e2c7991.j): file system is clean; not checking
|
||||
/dev/sd0i (6dc570f70e2c7991.i): file system is clean; not checking
|
||||
/dev/sd0e (6dc570f70e2c7991.e): file system is clean; not checking
|
||||
/dev/sd0k (6dc570f70e2c7991.k): file system is clean; not checking
|
||||
/dev/sd0l (6dc570f70e2c7991.l): file system is clean; not checking
|
||||
pf enabled
|
||||
kern.seminfo.semmni: 10 -> 60
|
||||
kern.seminfo.semmns: 60 -> 1024
|
||||
starting network
|
||||
reordering libraries: done.
|
||||
starting early daemons: syslogd pflogd nsd ntpd.
|
||||
starting RPC daemons:.
|
||||
savecore: no core dump
|
||||
checking quotas: done.
|
||||
clearing /tmp
|
||||
kern.securelevel: 0 -> 1
|
||||
creating runtime link editor directory cache.
|
||||
preserving editor files.
|
||||
starting network daemons: sshd smtpd.
|
||||
starting local daemons: cron.
|
||||
Thu Feb 18 12:25:45 CET 2021
|
||||
```
|
||||
|
||||
It stops at the time display… and the session login screen will never come
|
||||
up!
|
||||
|
||||
---
|
||||
|
||||
No, it's not due to a corruption during the copy/synchronisation. Tests
|
||||
based on sha256 checksum were done before and after the copy, such as:
|
||||
|
||||
⇒ on Linux:
|
||||
|
||||
```bash
|
||||
$ cat vm-test.qcow2.sha256
|
||||
73054a89bb2e0b13d78e8cb446424baa01f7761099d8681a59137655b28c979c vm-test.qcow2
|
||||
```
|
||||
|
||||
⇒ then, on OpenBSD:
|
||||
|
||||
```ksh
|
||||
$ sha256 vm-test.qcow2
|
||||
SHA256 (vm-test.qcow2) = 73054a89bb2e0b13d78e8cb446424baa01f7761099d8681a59137655b28c979c
|
||||
|
||||
$ sha256 -C vm-test.qcow2.sha256 vm-test.qcow2
|
||||
(SHA256) vm-test.qcow2: OK
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
What to do?!
|
||||
|
||||
On your OS source, where the VM has been created, connect you on the VM,
|
||||
and make the **two** following necessary modifications:
|
||||
|
||||
## Configuration
|
||||
|
||||
### boot.conf
|
||||
|
||||
The `/etc/boot.conf/` file config was not created. It must contain at least:
|
||||
|
||||
```cfg
|
||||
set tty com0
|
||||
```
|
||||
|
||||
By default, the connection rate is 9200 baups.
|
||||
|
||||
---
|
||||
|
||||
Since the future host is OpenBSD, write:
|
||||
|
||||
```cfg
|
||||
stty com0 115200
|
||||
set tty com0
|
||||
```
|
||||
|
||||
So, we configure to use secure tty at 115200 baups.
|
||||
|
||||
### ttys
|
||||
|
||||
The second modification is to set the terminal session **tty00**.
|
||||
|
||||
You need to change the line matching **tty00** into the `/etc/ttys` file:
|
||||
|
||||
```cfg
|
||||
tty00 "/usr/libexec/getty std.115200" vt220 on secure
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
Voilà!
|
||||
|
||||
When the VM is copied on OpenBSD, you will have the login screen.
|
||||
|
||||
## Documentations
|
||||
|
||||
- the OpenBSD FAQ "[Configuring a Serial Console](https://www.openbsd.org/faq/faq7.html#SerCon)"
|
||||
*(cf : la traduction [FR](https://wiki.openbsd.fr.eu.org/doku.php/openbsd.org/faq/faq7#configurer-une-console-serie) faite par la communauté "OpenBSD Pour Tous")*
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
@[jggimi](http://daemonforums.org/showthread.php?t=11643)…
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -4,6 +4,7 @@ date: 2020-02-24T19:17:42+01:00
|
|||
description: "howto upgrade packages on OpenWRT with the tool opkg!"
|
||||
draft: false
|
||||
tags: ["OpenWRT", "upgrade", "opkg", "tips", "sysadmin"]
|
||||
translationKey: "openwrt-opkg-upgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "Howto set OpenWRT to use SSH to connect on the LuCI web admin!"
|
|||
draft: false
|
||||
tags: ['OpenWRT','SSH','tunnel']
|
||||
title: "OpenWRT: Tunnel SSH for LuCI"
|
||||
translationKey: "openwrt-ssh-tunnel"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "Howto create a non-privileged user, to use sudo temporarily and co
|
|||
draft: false
|
||||
tags: ["OpenWRT", "sudo", "sysadmin"]
|
||||
title: "OpenWRT: sudo"
|
||||
translationKey: "openwrt-sudo"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "Howto upgrade correctly OpenWRT… without losing user configurati
|
|||
draft: false
|
||||
tags: ['OpenWRT','sysupgrade','opkg','sysadmin']
|
||||
title: "OpenWRT: Manage correctly the process to upgrade to the new version!"
|
||||
translationKey: "openwrt-sysupgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
title: "httpd: deliver compressed static files (+slowcgi)"
|
||||
date: 2020-05-28T20:00:11+02:00
|
||||
description: "To deliver compressed static content (in the deflate, gzip, brotli format) by httpd+slowcgi, natives servers on OpenBSD"
|
||||
draft: false
|
||||
|
@ -7,6 +6,8 @@ include_toc: true
|
|||
show_comments: false
|
||||
slug: "httpd-delivers-compressed-files"
|
||||
tags: ['httpd','slowcgi','OpenBSD','CGI','deflate','gzip','brotli']
|
||||
title: "httpd: deliver compressed static files (+slowcgi)"
|
||||
translationKey: "httpd-compressed-static-files"
|
||||
---
|
||||
|
||||
## Description
|
|
@ -4,6 +4,7 @@ description: "How to caching static content with httpd & relayd, natives servers
|
|||
draft: false
|
||||
tags: ['relayd','Cache','httpd','HTTP','OpenBSD']
|
||||
title: "Relayd: Web caching for httpd"
|
||||
translationKey: "relayd-web-caching"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -5,6 +5,7 @@ draft: false
|
|||
lastmod: 2020-05-07T18:20:36+02:00
|
||||
tags: ['relayd','Header','httpd','HTTP','OpenBSD']
|
||||
title: "Relayd: Manage HTTP headers"
|
||||
translationKey: "relayd-headers-http"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "How to log with relayd, relay server on OpenBSD"
|
|||
draft: false
|
||||
tags: ['relayd','log','OpenBSD','astuce']
|
||||
title: "Relayd: Log"
|
||||
translationKey: "relayd-log"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
title: "Hugo: Deploy SFTP"
|
||||
date: 2019-11-29T14:45:12+01:00
|
||||
description: "Deploy a site, made with the generator Hugo, by SFTP+rsync or lftp client."
|
||||
draft: false
|
||||
lastmod: 2019-12-01T15:24:12+01:00
|
||||
tags: ["Hugo", "deploy", "chroot", "lftp", "rsync", "SSH", "SFTP"]
|
||||
title: "Hugo: Deploy SFTP"
|
||||
translationKey: "hugo-deploy-sftp"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Hugo: Use the tool build by the project on OpenBSD"
|
||||
date: 2020-01-02T16:02:59+01:00
|
||||
description: "Review about differents versions of Hugo build by the project on OpenBSD stable"
|
||||
draft: false
|
||||
tags: ["Hugo", "OpenBSD"]
|
||||
title: "Hugo: Use the tool build by the project on OpenBSD"
|
||||
translationKey: "hugo-openbsd"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Hugo: Opensearch"
|
||||
date: 2020-04-14T16:54:07+02:00
|
||||
description: "Howto set up the Opensearch description format into Hugo!"
|
||||
draft: false
|
||||
tags: ["Hugo", "Opensearch", "search"]
|
||||
title: "Hugo: Opensearch"
|
||||
translationKey: "hugo-opensearch"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ draft: false
|
|||
description: "Using the JSON feed to integrate a 'search engine' in Hugo, with JQuery UI autocomplete()"
|
||||
tags: ["Hugo","search","JQuery","JSON"]
|
||||
title: "Hugo Search: a 'build-in' search engine (JQueryUI: Autocomplete + JSON)"
|
||||
translationKey: "hugo-jqueryui-autocomplete-json"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Hugo Search: an internal search engine (JQueryUI autocomplete)"
|
||||
date: 2019-12-06T01:21:00+01:00
|
||||
description: "Howto add an 'internal search engine' into the static website, made with Hugo, and JQueryUI"
|
||||
draft: false
|
||||
tags: ["Hugo","search","JQuery"]
|
||||
title: "Hugo Search: an internal search engine (JQueryUI autocomplete)"
|
||||
translationKey: "hugo-jqueryui-autocomplete"
|
||||
---
|
||||
|
||||
## Description
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
title: "Hugo: Shortcodes"
|
||||
date: 2019-11-29T15:29:59+01:00
|
||||
description: "My different Hugo shortcodes's presentation"
|
||||
draft: false
|
||||
lastmod: 2020-02-25T00:00:59+01:00
|
||||
tags: ["Hugo", "Shortcode"]
|
||||
title: "Hugo: Shortcodes"
|
||||
translationKey: "hugo-shortcodes"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "(tip) Nextcloud : loop login"
|
||||
date: 2019-12-23T18:27:34+01:00
|
||||
description: "Nextcloud : How to resolve the loop login problem…"
|
||||
draft: false
|
||||
tags: ["Nextcloud", "login", "tip"]
|
||||
title: "(tip) Nextcloud : loop login"
|
||||
translationKey: "nextcloud-loop-login"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "(tip) Nextcloud Php Chroot OpenBSD"
|
||||
date: 2019-05-02T23:11:15+01:00
|
||||
description: "Howto resolve the problem for occ command Nextcloud, under chroot OpenBSD"
|
||||
draft: false
|
||||
tags: ["Nextcloud", "chroot", "OpenBSD", "tip"]
|
||||
title: "(tip) Nextcloud Php Chroot OpenBSD"
|
||||
translationKey: "openbsd-nextcloud-php-chroot"
|
||||
---
|
||||
|
||||
## Error: Invalid data directory
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "(tip) Nextcloud: Manual upgrade on OpenBSD"
|
||||
date: 2019-11-23T20:45:23+01:00
|
||||
description: "Howto upgrade manually Nextcloud under OpenBSD server"
|
||||
draft: false
|
||||
tags: ["Nextcloud", "OpenBSD", "upgrade", "tip"]
|
||||
title: "(tip) Nextcloud: Manual upgrade on OpenBSD"
|
||||
translationKey: "openbsd-nextcloud-upgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
title: "Bash : function array_key_exists()"
|
||||
date: 2017-07-29T18:56:36+01:00
|
||||
description: "Fonction array_key_exists() en bash équivalente à celle de PHP"
|
||||
draft: false
|
||||
include_toc: true
|
||||
show_comments: false
|
||||
tags: ["Bash", "array"]
|
||||
title: "Bash : function array_key_exists()"
|
||||
translationKey: "bash-array-key-exists"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Bash : function array_search()"
|
||||
date: 2017-07-29T18:19:29+01:00
|
||||
description: "Fonction array_search() en bash équivalente à celle de PHP"
|
||||
draft: false
|
||||
tags: ['Bash', 'array']
|
||||
title: "Bash : function array_search()"
|
||||
translationKey: "bash-array-search"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
title: "Bash : Convertir et optimiser image jpeg et/ou png"
|
||||
date: 2017-07-24T16:56:42+01:00
|
||||
description: "Script Bash de conversion d'image jpeg ou png afin de les optimiser voire les minimiser"
|
||||
draft: false
|
||||
|
@ -7,6 +6,8 @@ include_toc: true
|
|||
lastmod: 2017-07-28T12:34:17+01:00
|
||||
show_comments: false
|
||||
tags: ["Bash", "convert", "optimize", "image"]
|
||||
title: "Bash : Convertir et optimiser image jpeg et/ou png"
|
||||
translationKey: "bash-convert-optimize-image"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Python : environnement virtuel sous OpenBSD"
|
||||
date: 2019-06-19T12:03:33+02:00
|
||||
description: "Utiliser les environnements Python virtuels sous OpenBSD (W^X)"
|
||||
draft: false
|
||||
tags: ['Python','Environnement','OpenBSD']
|
||||
title: "Python : environnement virtuel sous OpenBSD"
|
||||
translationKey: "python-env-openbsd"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-04-25T12:17:36+02:00
|
|||
description: "Utiliser sous Devuan le client de synchronisation de temps OpenNTPD"
|
||||
draft: false
|
||||
tags: ['Devuan', 'OpenNTPD', 'ntp', 'client', 'temps']
|
||||
translationKey: "devuan-openntpd-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-04-27T09:19:56+02:00
|
|||
description: "Installer OpenSMTPD sous Devuan et le configurer en tant que client avec authentification"
|
||||
draft: false
|
||||
tags: ['Devuan', 'OpenSMPTD', 'smtp', 'client', 'mail', 'auth']
|
||||
translationKey: "devuan-opensmtpd-auth-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2018-11-03T21:38:54+01:00
|
|||
description: "Comment configurer le service smtpd avec authentification mail sous OpenBSD (>= v6.4), pour permettre l'accès à vos services de messagerie mails."
|
||||
draft: false
|
||||
tags: ["OpenBSD", "smtpd", "auth", "client", "mail"]
|
||||
translationKey: "openbsd-smtpd-auth-client"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -5,6 +5,7 @@ description: "Expérimentation d'installation de stubby, un client DoT pour DNS,
|
|||
draft: false
|
||||
lastmod: 2018-10-11T21:24:09+01:00
|
||||
tags: ["OpenBSD", "stubby", "experimental", "DNS", "DoT", "DNSSEC"]
|
||||
translationKey: "openbsd-experimental-stubby"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,7 +4,9 @@ description: "Résoudre le problème de console série pour une VM, copiée depu
|
|||
draft: false
|
||||
tags: ["OpenBSD","vmd","astuce"]
|
||||
title: "[OpenBSD :: Virtualisation] Pas d'écran de connexion ; pas de login !"
|
||||
translationKey: "openbsd-vmd-no-login-screen"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Pour rappel, l'hyperviseur [vmm(4)](https://man.openbsd.org/vmm) sous OpenBSD
|
||||
|
@ -131,7 +133,8 @@ attendre longtemps l'écran de connexion de session qui ne viendra jamais !
|
|||
|
||||
Et, au cas où tu te le demandes, toi lecteur, non cela ne vient pas d'une
|
||||
corruption de la VM lors de la copie/synchronisation, des tests à base de
|
||||
somme de contrôle sh256 ont été faits avant la copie et après celle-ci, tel que :
|
||||
somme de contrôle sha256 ont été faits avant la copie et après celle-ci,
|
||||
tel que :
|
||||
|
||||
Sur la station Linux :
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-02-24T19:17:42+01:00
|
|||
description: "Comment mettre à jour l'ensemble de la liste des packages sous OpenWRT avec le gestionnaire opkg"
|
||||
draft: false
|
||||
tags: ["OpenWRT", "upgrade", "opkg", "astuce", "sysadmin"]
|
||||
translationKey: "openwrt-opkg-upgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-02-26T15:44:44+01:00
|
|||
description: "Paramétrer OpenWRT pour permettre une connexion sécurisée par SSH à l'interface d'administration LuCI"
|
||||
draft: false
|
||||
tags: ['OpenWRT','SSH','tunnel']
|
||||
translationKey: "openwrt-ssh-tunnel"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-02-24T19:41:07+01:00
|
|||
description: "Comment créer un utilisateur non privilégié, lui permettre d'avoir temporairement des droits privilégiés par le biais de sudo !?"
|
||||
draft: false
|
||||
tags: ['OpenWRT','sudo','sysadmin']
|
||||
translationKey: "openwrt-sudo"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ date: 2020-09-14T18:03:35+02:00
|
|||
description: "Comment mettre à niveau correctement OpenWRT… sans perdre de données de configuration utilisateur"
|
||||
draft: false
|
||||
tags: ['OpenWRT','sysupgrade','opkg','sysadmin']
|
||||
translationKey: "openwrt-sysupgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
title: "httpd : délivrer des fichiers statiques compressés (+ slowcgi)"
|
||||
date: 2020-05-28T20:00:11+02:00
|
||||
description: "Délivrer du contenu compressé (au format deflate, gzip, brotli) de fichiers statiques (html, xml, css, js, json, …) par le biais du couple des serveurs natifs httpd+slowcgi sous OpenBSD"
|
||||
draft: false
|
||||
include_toc: true
|
||||
show_comments: false
|
||||
tags: ['httpd','slowcgi','OpenBSD','CGI','deflate','gzip','brotli']
|
||||
title: "httpd : délivrer des fichiers statiques compressés (+ slowcgi)"
|
||||
translationKey: "python-env-openbsd"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "Comment mettre en place du cache de contenu statique avec httpd &
|
|||
draft: false
|
||||
tags: ['relayd','Cache','httpd','HTTP','OpenBSD']
|
||||
title: "Relayd : Mise en cache web pour httpd"
|
||||
translationKey: "relayd-web-caching"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -5,6 +5,7 @@ draft: false
|
|||
lastmod: 2020-05-07T18:20:36+02:00
|
||||
tags: ['relayd','Header','httpd','HTTP','OpenBSD']
|
||||
title: "Relayd : Gestion des entêtes pour httpd"
|
||||
translationKey: "relayd-headers-http"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ description: "Mettre en place et visualiser la journalisation dans relayd, serve
|
|||
draft: false
|
||||
tags: ['relayd','log','OpenBSD','astuce']
|
||||
title: "Relayd : Journalisation (Log)"
|
||||
translationKey: "relayd-log"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
title: "Hugo : Déploiement SFTP"
|
||||
date: 2019-11-29T14:45:12+01:00
|
||||
description: "Déploiement d'un site, fait avec le générateur Hugo, par SFTP avec rsync, ou le client lftp"
|
||||
draft: false
|
||||
lastmod: 2019-12-01T15:24:12+01:00
|
||||
tags: ["Hugo", "deploy", "chroot", "lftp", "rsync", "SSH", "SFTP"]
|
||||
title: "Hugo : Déploiement SFTP"
|
||||
translationKey: "hugo-deploy-sftp"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
title: "Hugo : Utilisation du binaire fourni par le projet (OpenBSD)"
|
||||
date: 2020-01-02T16:02:59+01:00
|
||||
description: "Utiliser les différentes versions d'Hugo fournies par le projet sur OpenBSD stable"
|
||||
draft: false
|
||||
lastmod: 2020-02-25T00:30:59+01:00
|
||||
tags: ["Hugo", "OpenBSD"]
|
||||
title: "Hugo : Utilisation du binaire fourni par le projet (OpenBSD)"
|
||||
translationKey: "hugo-openbsd"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Hugo : Opensearch"
|
||||
date: 2020-04-14T16:54:07+02:00
|
||||
description: "Comment mettre en place le format de description Opensearch dans Hugo !"
|
||||
draft: false
|
||||
tags: ["Hugo", "Opensearch", "search"]
|
||||
title: "Hugo : Opensearch"
|
||||
translationKey: "hugo-opensearch"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -4,6 +4,7 @@ draft: false
|
|||
description: "Utiliser le flux JSON pour intégrer un 'moteur de recherche' dans Hugo, avec JQuery UI autocomplete()"
|
||||
tags: ["Hugo","search","JQuery","JSON"]
|
||||
title: "Hugo Search : un moteur de recherche interne (JQueryUI: Autocomplete + JSON)"
|
||||
translationKey: "hugo-jqueryui-autocomplete-json"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
title: "Hugo Search : un moteur de recherche interne (JQueryUI Autocomplete)"
|
||||
date: 2019-12-06T01:21:00+01:00
|
||||
description: "Comment intégrer un moteur de recherche dans Hugo, avec JQuery UI autocomplete()"
|
||||
draft: false
|
||||
lastmod: 2020-08-24T20:56:00+01:00
|
||||
tags: ["Hugo","search","JQuery"]
|
||||
title: "Hugo Search : un moteur de recherche interne (JQueryUI Autocomplete)"
|
||||
translationKey: "hugo-jqueryui-autocomplete"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
title: "Hugo Shortcodes"
|
||||
date: 2019-11-29T15:29:59+01:00
|
||||
description: "Présentation des différents shortcodes Hugo utilisés sur ce site, fabriqués par mes soins"
|
||||
draft: false
|
||||
lastmod: 2020-02-25T00:00:59+01:00
|
||||
tags: ["Hugo", "Shortcode"]
|
||||
title: "Hugo Shortcodes"
|
||||
translationKey: "hugo-shortcodes"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Nextcloud : connexion en boucle (astuce)"
|
||||
date: 2019-12-23T18:27:34+01:00
|
||||
description: "Nextcloud : Comment résoudre le problème de connexion qui tourne en boucle…"
|
||||
draft: false
|
||||
tags: ["Nextcloud", "login", "astuce"]
|
||||
title: "Nextcloud : connexion en boucle (astuce)"
|
||||
translationKey: "nextcloud-loop-login"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
title: "Nextcloud Php Chroot OpenBSD (astuce)"
|
||||
date: 2019-05-02T23:11:15+01:00
|
||||
description: "Résoudre le problème d'exécution de la commande occ de Nextcloud du fait du chroot sous OpenBSD"
|
||||
draft: false
|
||||
lastmod: 2019-12-16T22:58:15+01:00
|
||||
tags: ["Nextcloud", "chroot", "OpenBSD", "astuce"]
|
||||
title: "Nextcloud Php Chroot OpenBSD (astuce)"
|
||||
translationKey: "openbsd-nextcloud-php-chroot"
|
||||
---
|
||||
|
||||
## Présentation du problème
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: "Nextcloud: Mise à jour manuelle sur OpenBSD (astuce)"
|
||||
date: 2019-11-23T20:45:23+01:00
|
||||
description: "Comment mettre à jour Nextcloud manuellement sous OpenBSD"
|
||||
draft: false
|
||||
tags: ["Nextcloud", "OpenBSD", "upgrade", "astuce"]
|
||||
title: "Nextcloud: Mise à jour manuelle sur OpenBSD (astuce)"
|
||||
translationKey: "openbsd-nextcloud-upgrade"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
|
Loading…
Reference in New Issue