FreeBSD Automate NextCloud updates Here is my script to automate NextCloud updates. They can be put into crontab in example: #!/bin/csh setenv nextcloud "/usr/local/www/nextcloud" pushd $nextcloud sudo -u www -D $nextcloud /usr/local/bin/php --define apc.enable_cli=1 updater/updater.phar --no-interaction sudo -u www -D
FreeBSD Automate GHOST updates Here are my scripts for automaticaly update my GHOST updates on FreeBSD. First i'm listing my rc.d script for starting it: #!/bin/sh # PROVIDE: ghost # REQUIRE: DAEMON SERVERS mysql postgresql slapd # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable powerdns: # # ghost_enable="
Personal Unbelievable π‘ JBIG2 doesn't have scripting capabilities, but when combined with a vulnerability, it does have the ability to emulate circuits of arbitrary logic gates operating on arbitrary memory. So why not just use that to build your own computer architecture and script that!? That's exactly what this
MySQL MySQL 8.0.27 upgrade failure If after the upgrade the mysql doesn't start don't panic! In mysql8 mysql_upgrade command is dummy, and the database upgrades automatic on first restart. In my scenario I was upgrading from 8.0.26 Β to mysql8.0.27 and I see errors like bellow and
FreeBSD Upgrade PostgreSQL 14.5 to 15.x on FreeBSD New version of postgresql 15 database have arrived. I have updated the manual to newest possible upgraded version on 14 october 2022. Stop your postgresql database daemon on FreeBSD machine: service postgresql stop Create package containing your old version ( 14.5 ) binaries ( depends are you using postgresql14-contrib package, but command
FreeBSD Howto run and update ghost 4.x on node.js 17.x It looks that there is big inconsistency in FreeBSD ports [https://www.freebsd.org/ports/] - related to python 3.10 [https://www.python.org] and node.js [https://nodejs.org/en/]. Currently only node.js 17.x can be build if you have such combination of programming languages on
MySQL Ghost and sqlite3 After many problems and outages of my blog now It is clear for me that it is better to use mysql as database backend in Ghost CMS! It looks that with Node14 it doesn't work with sqlite3 database backend. Migration is easy - just take the latest backup
WEB Matomo INFILE usage with MySQL8 and PHP8 It looks tricky to cheat matomo [https://matomo.org] INFILE usage when you use PHP8 [https://www.php.net/releases/8.0/en.php] and MySQL8 [https://www.mysql.com]. My quick hints are: 1. Did you have put in my.cnf file: secure-file-priv = //matomo/tmp/assets/ 2. Do you
Personal Π’ΡΠΈΡΠΌΡΡΡ Π½Π° ΡΡΠ°Π΄Π½ΠΈΡ ΠΈΠΌΡΠ½ΠΈΡΠ΅Ρ ... ΠΠΎΡΠ΅Π΄Π½ΠΈΡ Π°Π½Π°Π»ΠΈΠ· ΠΏΡΠ±Π»ΠΈΠΊΡΠ²Π°Π½ ΠΎΡ ΠΠ΅ΠΎΡΠ³ΠΈ Π. ΠΠ°ΡΠΈΠ½ΠΎΠ² ΡΠ°Π±ΠΎΡΠ΅Ρ Π² Department of Genetics, Stanford University, Stanford, California 94305, USA. ΠΡΠΈΠ³ΠΈΠ½Π°Π»Π½ΠΈΡΡ ΡΠ΅ΠΊΡΡ Π΅ ΠΏΡΠ±Π»ΠΈΠΊΡΠ²Π°Π½ ΠΎΡ Π³-Π½ ΠΠ°ΡΠΈΠ½ΠΎΠ² Π² Google Disk ΡΡΠΊ: 2021-06-05-herd-immunity.pdfGoogle Docs
Personal ΠΠΎΠΊΠ΄Π°ΡΠ½ Π·Π° ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΎ ΠΈΠ»ΠΈ Π΄ΠΎ Π±Π΅Π·ΠΊΡΠ°ΠΉ? ΠΠΎΡΠ΅Π΄Π½ΠΈΡΡ ΠΌΠ½ΠΎΠ³ΠΎ ΡΠΈΠ»Π΅Π½ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π» ΠΎΡ ΠΠ΅ΠΎΡΠ³ΠΈ Π. ΠΠ°ΡΠΈΠ½ΠΎΠ² [https://www.facebook.com/gkmarinov] ΡΠ°Π±ΠΎΡΠ΅Ρ Π² Department of Genetics, Stanford University, Stanford, California 94305, USA 2021-03-18-ZeroCOVID.pdfGoogle Docs [https://drive.google.com/file/d/1eOHEejDD77sCWQk6nkazAejgi2fbhjWQ/view]Π Π»ΠΎΠΊΠ°Π»Π½ΠΎ ΠΊΠΎΠΏΠΈΠ΅: 2021-03-18-ZeroCOVID.pdfNextcloud - a safe home for all your dataNextcloud [https://cloud.
Cisco Cisco Live 2021 Cisco Live 2021 | Digital Networking EventIn 2021, Ciscoβs premier education and training event for IT professionals is going global. Join us on March 31 - April 1, 2021.Cisco [https://www.ciscolive.com/emea.html]
FreeBSD Installing [matrix]-bridges on FreeBSD Here is my example using mautrix-facebook [https://github.com/tulir/mautrix-facebook] as exampleβ $ mkdir bridges/facebook $ cd bridges/facebook $ virtualenv -p /usr/local/bin/python3.7 . $ bash $ source bin/activate $ pip install --global-option=build_ext --global-option="-I/usr/local/include" --upgrade git+https://github.com/tulir/mautrix-facebook.git#
FreeBSD ELF binary type "0" not known. Today I've invested some time to bring back to life my personal Cloud storage [https://cloud.ostreff.info/]. The reason for his death was upgrade to PHP8 [https://www.php.net/releases/8.0/en.php]. So after some research I've found that at this moment
FreeBSD Build graphics/pecl-imagick PHP 8 compatible extension The version in the ports tree is not working - it shows some errors when installed. But the source on the master brach of the Imagick repo [https://github.com/Imagick/imagick] seems to work. Here's how you can use it. 1. Clone the repo somewhere on disk
FreeBSD How to build and install Mattermost plugins on FreeBSD I was unpleasantly surprised to find that all plugins published on Mattermost plugin marketplace [https://integrations.mattermost.com] are not working on installed server on FreeBSD. They all are failing to start - it doesn't matter did Β you enabled linux64 emulation [https://docs.freebsd.org/en/books/handbook/
HAProxy How to made Websocket traffic to go via HAProxy The solution was simple: Tell HAProxy to tag Websocket traffic, and set up a separate but otherwise identical backend for this specific use case. One of typical applications which is using Websocket traffic is Slack [https://slack.com/]. An excelent opensource Β alternative of it named Mattermost [https://mattermost.com]. The
QoS Featured IP QoS Excelent arcticle [http://www.netcontractor.pl/blog/?p=1161] explaining IPv4 QoS QoS Values
Telco How to set DSCP/COS in FreeBSD and use it in Telco environment Preserving QoS [https://en.wikipedia.org/wiki/Quality_of_service] parameters in Telco environment, where part of the equipment is following 3gpp [https://www.3gpp.org] rules and other part is followin ietf [https://www.ietf.org] rfcs rules is really chalenging. And of course there is allways need to
DNS Using Hurricane Electric free DNS service to speedup your DNS service So apart from setting ns[2345].he.net as your DNS servers at your registrar and adding a slave at http://dns.he.net [http://t.umblr.com/redirect?z=http%3A%2F%2Fdns.he.net&t=ODAzYzgyYzgyYjc4Nzc3MWYzMGU5ODcxZmU0M2Q2YzA2ZDc5MTQ3NCxjRmFOU21PWA%3D%3D&b=t%3AyC21hTB-EApArzTh4CNbnA&p=http%3A%2F%
FreeBSD Problems with transmission-daemon with IPv6 and some other popular issues Remove IPv6 detection Current port version inside net-p2p/transmission-components must be extracted with command FLAVOR=daemon make extract then edit file work-daemon/transmission-4.0.5/libtransmission/net.cc searching for ipv6. Then just reinstall with FLAVOR=daemon make deinstall install clean The problem with net-p2p/transmission-daemon and IPv6 is that
FreeBSD How to grow zfs on FreeBSD running inside VMWare Live ZFS resizing inside VMWare should be possible, but there are several steps: First you should resize your virtual disk in VMWare configuration. Recomendation is all virtual disks to be similar size for best performance in VMWare. Then check what is disk configuration using: # gpart show => 34 629145526 da0
Cisco How to serve multiple search domains from Cisco IOS DHCP server? Source - https://www.perkin.org.uk/ [https://www.perkin.org.uk/posts/serving-multiple-dns-search-domains-in-ios-dhcp.html] The expected [code language="plain"]ip dhcp pool host.net.example.com option 119 ascii net.example.com,example.com[/code] doesn't work. So you need to encode search domains in
FreeBSD MySQL command for finding all MyISAM databases, and convert them to innodb Today most popular storage engine in latests MySQL databases is InnoDB. But if you have older databases, before the times when InnoDB becomes the king, you must somehow convert your data. You can easy find which tables are using an older storage engine using: > SELECT TABLE_SCHEMA as DbName