..follow me on https://www.twitter.com/linuxonlinehelp

Category: Howto

Social Bots the Business Killer

If you have  a small Company and you want to raise up your Startup Business you often asked to buy Support by Developers (eMail) or Big Data Companies (goo, fb .. etc.) to use their Marketing Tools like Social Bots, automated Scripts and more.. But take care this can be your Business Killer cause: Trust is lost if Bots are recognized by the Users too much Ads or Trash Posts forces Humans to leave if trust is gone the Users logoff from current Social Media Channel, for example “fb” loses much Users last time and was enforced to integrate new […]

WordPress Gutenberg Editor fails on modsecurity2

If you use modsecurity2 Plugin Filter on a Apache2 / Apache24 Setup then on my Blogs Gutenberg fails to SAVE Pages and Drafts. Workaround: Install the old but useful “Classic Editor Plugin” and replace Gutenberg for all Users! Background: It seems the lastest stable mod_security2 Rules not modified for Gutenberg post urls!

Convert WordPress Blog into Static Websites

For some reasons you want to convert your WordPress with Linux Tools into a Static Website: low level Hosting no SQL + PHP for higher Security Then open a Terminal and enter into a Text Editor: nano wp2statis.sh: #!/bin/bash wget \ –recursive \ –no-clobber \ –page-requisites \ –html-extension \ –convert-links \ –restrict-file-names=windows $url-of-site exit 0 Advantage? wget runs on most WP-Themes low Load on the convert Process Script can be used to run by Cron automaticly every Night !

WordPress Speed Test Optimization

If you use WordPress and you want to get better results on search engines and  social media checkout: Load Speed at Google free Speed Analyser for Developer https://developers.google.com/speed/pagespeed/insights/ Reduce and Control the Plugins Reduce and Control Images at Content and Image Sizes 50-100 kb Limits Use latest PHP Version if possible 7.3 Use cached MySQL if available Result: If green your Job is done well.. cause old rule, LESS is often MORE  

Split Files on embedded Linux Systems

If you run a embedded Linux PC like raspi often some Linux Commands fail without error messages, cause the hardware performance is low tech. Same i have seen on the split command.. to split a 50GB Photos-Archive File to 4Gb on a USB Drive i found out that: sudo split -b 4096m -d -u Photos.tgz Photos-Archive_ fix the job.. Cause option -u disable IO-Caching over the 2.0 USB Port to the RAM of the raspi that the Data of the Output Stream is written direct to the Drive.

FastGlacier Client on Linux AWS Cloud Backup

If you are a Newbie on AWS Glacier Cloud Backup you want to use a simple Backup Uploader you can use FastGlacier inside Wine! Major Info: Glacier puts only Files up to 4GB size, split 50GB Tar/Zip Files to 4GB!! Setup AWS free Account !! Go to IAM create User, set User Role to Glacier full access Write down User and Password key at IAM now go right to you loved Cloud Area like Frankfurt or Asia Setup new vault, logout.. install wine install winetricks dotnet40 Framework install FastGlacier have fun.. sudo apt-get install wine sudo apt-get winetricks Run winetricks […]

Smartmontools unlisted Devices

If you use a Toshiba Canvio 3tb Drive at a raspi then smartmontools will not see the usb drive. Try: sudo smartctl -t long -d sat -s on /dev/sdb -t test long or short -d drive protocol sata = sat -s enforce smart which is off by the usb drive firmware wait XXX Minutes then: sudo smartctl -H -d sat -s on /dev/sdb get status..

Amazon AWS Howtos

Here some Bookmarks if you want to try Amazon AWS Cloud Services like S3 (Cloud File Storage), EC2 (VM Instances..) Howtos / Basics : https://github.com/open-guides/og-aws#aws-data-transfer-costs Remark: AWS Services mostly priced by data transfers and online time! Checkout daily “Billing Monitor” ! Amazon AWS: https://aws.amazon.com/ Remark: S3 is the Standard Cloud Storage, cheaper is S3-IA or long term Backups use “Glacier” where you first upload files to S3 and set a “Rule” on a “Bucket” move files to Glacier Long Term Backup! Amazon Admin Console: https://aws.amazon.com/de/console/ Security: Howto Create ENCRYPTED Containers for AWS on Linux? Klick At the End.. don’t forget […]

WordPress Themes SEO Rating

If you use WordPress for a Blog and you think about a Theme Change for a new Look you should now some points: Check new Themes for available Updates Check new Theme for User Feedback Check new Theme how often its downloaded, if often used Search Engines can handle the code Check the new Theme some Weeks and control active the Ranking on Search Engines (like Webmaster Tools), cause bad readable Code is ranked down or broken internal links and bookmarks can forward robots into nirvana Check the new Theme on various Browsers, Opera, Chrome, Firefox, IE, Mobile Browsers and […]

Goodby Smartphones

Today iam going offline with any of my Smarthones for Testing. Why? all current Smartphones based on nonfree Hard and Software less patched Hackers can remote force install Trojans as Updates (especially Stores by gov order) non rooted devices are black boxes rooted Images or Tools as Workarounds are often not published in which way the System OS is broken down, Hackers don’t work nonprofit ! Linux Laptops usage is often easier and much safer, you have full control and can run security tools to monitor Apps for free do always call home at background can’t control active background jobs […]

Openwrt dmesg human timestamp

To viel on busybox dmesg with human readable time for debug do: $vi /root/dmesg.sh insert: base=$(cut -d '.' -f1 /proc/uptime); seconds=$(date +%s); dmesg | sed 's/\]//;s/\[//;s/\([^.]\)\.\([^ ]*\)\(.*\)/\1\n\3/' | while read first; do read second; first=`date +"%d/%m/%Y %H:%M:%S" –date="@$(($seconds – $base + $first))"`; printf "[%s] %s\n" "$first" "$second"; done exit 0 run it sh dmesg.sh.. System Echo: … [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered disabled state [16/03/2018 14:55:18] device wlan1 entered promiscuous mode [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered forwarding state [16/03/2018 14:55:19] br-lan: port […]