Kategorie: FreeBSD

Webserver Port 80 open or close

If you hold a website and use SSL/HTTPS with Certificates theres is often the question should i block Port 80? The most Admins think after the Major Changes of the Browsers to pull first HTTPS Port 443 they can close the HTTP Port 80. But you should NOT do it! Why? most Bots scan at first Port 80 for Content or for Listening Web Servers.   More Details: https://letsencrypt.org/de/docs/allow-port-80/

Firefox Bug more than a Feature no Sound after Update

If you use firefox for hamradio like openwebrx or kiwisdr the Sound will die after a Update! That’s NO Driver or NO Linux or a WEBSDR Problem, The Problem is DISABLED AUDIO startup on Firefox Fix: Enter at the URL-BAR „about:config“ search entry „media.autoplay.block-webaudio“ to false Restart Firefox and be happy.. If you are a Security Nerd then use 2 Firefox Profiles for Web and different for SDR-Radio..

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 !

Website Speed Test with Linux

If you own a Blog and want to check the Speed with your local Linux Computer use a commandline tool called curl. Open a Terminal and enter:   curl -o /dev/null -s -w 'Connect: %{time_connect}\nStart Transfer: %{time_starttransfer}\nTotal: %{time_total}\n' https://www.yourdomain.de System Echos: Connect: 0,084774 Start Transfer: 0,173280 Total: 0,228651 Advantage? You will see the Website Load Time of Users at your Location (Country Area) You can check „high performance Clouds“ vs. „bare metal Servers“ or „virtual Hosting“ You see that mostly expensive Hosting is wasted money cause „shared“ IO V-Host is SLOWER! You get the real „felt“ IO for Users who […]

Locale Umloud Problems Cron

If you run scripts to handle text output by cronjobs your perhaps get problems with umlouds „ÖÄÜ“ cause they are displayed by „**“. This is a problem cause cron uses „C“ setting as locale, you can test it by setting it into root crontab: open crontab from root with: $su – root $crontab – insert * * * * * locale This will mail cron’s locale echo to the mailbox of root! Read root’s mail! After tests remove the locale entry at crontab! Howto fix for Scripts: open crontab from root with: $su – root $crontab -e insert (for German): […]

Rsync: Performance NFS Boost

If you use two Linux Servers with NFS Shares connect over Gigabit Interfaces for Backups, you perhaps remark performance problems on using rsync. It does often pause transmissions or reach only a rate of 32Mb/s. That’s bad and waste time and energy. Background: After some Tests of running Backups with single files and compressed big archives, the scans of my tools like iftop, systat, iptraf found out that the used Option „rsync -avz“ was the bottle neck, cause the Data Rate break down at intervals. The „z“ compress option was described on howtos as must have for slower networks did […]

FreeBSD: Monitor svn Updates

If you use the  svn subversion tool to update source tree or ports tree, you want to have a possibility to look back what was pulled, pushed and droped you can use a Log File to monitor the update scripts. This helps if you temporarily log out the Terminal Sessions for a Coffee break. Howto: Login to FreeBSD via SSH Use a tmux program like screen or tmux, if not installed, then install it. This allows ongoing operations on disconnects Run on the Terminal $tmux Run $sudo svn update /usr/src > /home/updates/svn.log #exit STRG+B then press "d" detach The svn […]

FreeBSD: Current Version port upgrade fails with „portsnap extract“ bug

If you use the current „head“ Version (Release 12) of FreeBSD with a svn updated /usr/src path you could run into errors after updating the OS via buildworld from sources. There’s a bug ahead Revision „r314099“ at the „portsnap“ lib that will stop on extracting the ports.tgz to /usr/ports! Solution: Pull again sources to /usr/src with $svn update /usr/src $make buildworld $make buildkernel $make installkernel $reboot $mergemaster -p $make installworld $mergemaster -FiU $reboot $portsnap fetch update #again.. to update ports tree $portupgrade -a $reboot This should work now, the failed portsnap extract function was a known bug. If you dont […]

Impressum Datenschutz-DSGVO-GDPR

Last Update 08.10.2023 www.linuxonlinehelp.eu - Nonprofit Linux PC & Server Support since 2004 Tags: Linux Online Help, Linuxonlinehelp, Linux Support, Linux Hilfe