...error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
This fixes it (a problem with packaging in 22.04):
/** | |
* Check is item is object | |
*/ | |
const isObject = (val) => Object.prototype.toString.call(val) === "[object Object]"; | |
/** | |
* Check for valid JSON string | |
*/ | |
const isJson = (str) => { | |
let t = !1; | |
try { |
@package weprovide/valet-plus | |
@version >= 2.4.0-beta5 | |
@after VALET-PROMAX-V3.patch | |
--- cli/Valet/PhpFpm.php | |
+++ cli/Valet/PhpFpm.php (date 1667897712772) | |
@@ -14,6 +14,7 @@ | |
const PHP_V74_VERSION = '7.4'; | |
const PHP_V80_VERSION = '8.0'; | |
const PHP_V81_VERSION = '8.1'; | |
+ const PHP_V82_VERSION = '8.2'; |
@package weprovide/valet-plus | |
@version >= 2.4.0-beta5 | |
--- cli/Valet/PhpFpm.php | |
+++ cli/Valet/PhpFpm.php (date 1667469040112) | |
@@ -31,6 +31,7 @@ | |
]; | |
const LOCAL_PHP_FOLDER = '/etc/php/'; | |
+ const HOMEBREW_OPT_FOLDER = '/opt/php@%s/'; | |
echo -n beep:boop | base64
YmVlcDpib29w
Note: it's important to use
-n
otherwiseecho
will add a line break and that can be a time consuming error to debug when you find your username/password isn't working ;-) if you do find you need to debug, then usecurl
with the-v
flag and inspect the request headers being sent and make sure your base64 encoded username/password matches what curl generates for theAuthorization
header when using the--user
flag (see below curl examples)
chunked_transfer_encoding on; | |
proxy_set_header X-NginX-Proxy true; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_http_version 1.1; | |
proxy_redirect off; | |
proxy_buffering off; | |
proxy_pass http://127.0.0.1:8025 |
#!/bin/bash | |
# | |
# | |
# RunCloud installer script for server AlmarDental Production (103.101.163.205) | |
# Do not use in other server | |
OSNAME=`lsb_release -s -i` | |
OSVERSION=`lsb_release -s -r` | |
OSCODENAME=`lsb_release -s -c` |
Enable dnsmasq in NetworkManager
Edit the file /etc/NetworkManager/NetworkManager.conf
, and add the line dns=dnsmasq
to the [main]
section, it will look like this :
[main]
plugins=ifupdown,keyfile
dns=dnsmasq
[ifupdown]