Category: Howto

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 […]

WordPress: Monitor the Size of the MYSQL Database

If you use WordPress or a other Blog Software with a MySQL Database over years it is useful to do some things regularly: Check the Database Size weekly, that no Skript Kid has found a Backdoor and fills up the Database silent Purge Database Caches with default maintenance tools of the Software Dont forget to create a MySQL Dump Backup weekly with cron To Check the Size login on mysql command prompt do: $mysql -u dbuser -p #Enter Password mysql > use dbwordpress mysql > SELECT table_schema "Data Base Name", sum( data_length + index_length) / 1024 / 1024 "Data Base […]

Centos: Release 5 now “end of life”

On 2017, March 31th the official Release End of Version 5 is reached. This also touches SME Server Version 8.1. If you use this you must now upgrade the Webserver to the next Version. Checkout which last version offers latest Options like PHP7, MYSQL 6 ..more Checkout that you current Content PHP Kits Support the new OS Options (PHP7) As Remark you should do at first a FULL BACKUP of your DATA!! see here Save manual the /etc folder to Backup, dump crontabs and firewall settings! (ufw) Setup a fresh OS if you are not a Professional Admin cause to […]

WordPress: Why less plugins is more?

WordPress is a well known Blogging Platform to publish your Content to the world. But after some years of analysing of my Webserver Logs i remarked that a lot of used plugins produces more errors on inside linking than i would like to have. I could not explain why the Search Engines run into Errors or dead ends if they scan via the bots the Content. I didn’t realize that the plugins were the bad factor. If you see same problems you can start up analyse your Blog for free with these steps: Go Plugins disable all uneeded Plugins like […]

WordPress: Change User Password manual on mysql prompt

If you don’t want to use Passwords generated by wordpress itself, you can do it manual on a MYSQL Console howto: Login to your Webserver with the Database via encrypted SSH!! Login to the MYSQL Server Conssole with $ mysql -u username -p Enter Password, and change database with mysql>use database-name-of-blog Now Set Password for the User mysql>UPDATE wp_users SET user_pass = MD5('NEWPASSWORD-16-DIGITS') WHERE user_login = "THEUSERNAME"; System shows Echo: mysql> ok.. Changed 1 Row.. Quit mysql> exit Logout of SSH

WordPress: SEO Ranking bad after setting “read more” tags

After some weeks of cleaning up my blog, i remarked a very bad ranking from under the first 10 on google to nirvana What did i change? saved wp-login with htaccess to non-public set post content with “read more” buttons Background: Search engine like google wasn’t able to pull content of posts which are cut by “more” Search engine wasn’t able to pull relinks over the wp-admin url by the internal wordpress feeds I was forced to turn back my settings and wait for better ranking.. not safe but must be..

Raspberry Pi: Resize Shrink SDCard Image Clone Backup Noobs

If you own a raspberry pi, in some cases it is useful to shrink the sdcard, cause you need often not more than 8/16GB. What do you need and how to solve shinking or extending the OS: Hardware you need: 2 empty SDCards (Source + Dest.) 2 SDCard Adaptors Micro-SD to SD Fullsize 2 SD-USB Card Readers, i use them for stable work, cause USB SDCard Readers on Laptops often fails (Shared Sources) 1 Laptop with Ubuntu CD inside the CD-Rom or installed ubuntu with gparted Howto: Plug the Cards into the Adaptors and into the Readers, connect to the […]

Rasperry Pi: SD Card Partitions Layout Noobs Backup Restore

If you use a raspberry pi for projects which is shipped with a 8GB SDCard it is very useful to know basics about the root, file and recovery system on the preinstalled card. Major Basics about the Partitioning you find here To save time the raspberry pi offers possibility to run a Full Backup if the pi is ONLINE! Cause the OS is running from RAM like Live Mode! For Backup you need a USB to SDCard Reader with Adaptor Micro SD to SD, and a second SDCard i use 16GB Class 10 Plugin the new SDCard into the Adaptor and into […]

Amazon: Cloud Drive Sharing with NFS on Local Network as Photo Uploader Backup

Current the acd_cli tool for amazon drive mount offers no “fsid” (device /dev) point, that you cant export and share the amazon drive at your home local network. On the latest raspberry pi OS (jessie) you can use a small workaround to get a NFS Shared Amazon Cloud Backup Uploader (needs python3.4 !) install acd_cli tools, create the auth file (read) and  run $ sudo acd_cli mount /amazoncloud now create a second Folder /sendtoamazon install nfs-kernel-Server and share this Folder with NFS exports to your LAN on the raspberrypi you can use a cron “move” Job running every 10 Minutes: #crontab -e */10 * […]

Openmips: Upgrade Gigablue Firmware Failure Boot Freeze Enigma

If you own a Gigablue TV Box ( Gigablue UE 800 2 Tuner DVB-S + DVB-C for example) a reboot on Firmware 4.2 can lookup the box to factory reset. This did my box too. I decided to upgrade the Firmware from openmips 4.2 to current 5.4. But you ran into some bugs, like freezes on Firmware flashes! Hang on Reboot, or boot after Flash into old Firmware. I found some Workarounds to fix (I have a gigabue with 2 Tuners inside and a HDD) To upgrade you need 3 USB Sticks 4GB FAT32 formated Go to the official Downloadpage and download […]

Raspberry Pi: Raspian disadvantages of embedded OS

The last 12 month have been a “golden” time of the upcomming embedded linux devices, but the custom OS’s offers some problems, you should know for projects: embedded PC’s like the ARM based pi2 / pi3 uses a own compiled OS not every known debian package is available not all compile scripts to rebuild are available on git slow performance can let you run into unuseable problems (heat, load, I/O), correct written scripts run into freezes without any error made by you! you should take time for a closer look at buying them calc the costs of non-x86 systems, later […]

Security: Harden DSL Routers and Networks against attacks

Last days there was a high count of news about the Bot Attacks against T-Com Telekom Router devices. To understand the behavior about this up comming security problems you should know following points : Every network supported device can be a goal for a attack ( Routers, Modems, PC, Fridges,IP-TV, IP Switches, IP-Cams…) You have to update the OS for each device monthly, if not supported by the manufacter, then dont buy! Try to get Opensource Hardware with Opensource Software for full access (ssh / console) to have full control Reduce the count of devices who are connected direct to […]

Android: Remove builtin Bloatware without hacking rooting or root-firmware

Last Weeks i got a new Smartphone, it offered 8GB Rom for OS and Apps. Iam not a real fan of rooting, cause i didnt write/change the firmware, i found a other way to tune the System: Dont insert a SIM CARD! After first Boot DONT CREATE a Google Account! Then go i to Apps Manager at Settings and try to disable all unwanted Apps! By default the Manufacterer install a very small and Basic App-Links which is updated later by the Playstore to a newer and much bigger one! Most Apps are min 50%-80% bigger than the factory Apps. The disabling […]

Facebook: Use Socialmedia without App Install Safe Battery Lifetime

If you use facebook and the facebook-messenger try to remove these apps cause they alway scan YOUR DEVICE permanent for NEW Files and watch for YOUR updated DATA. These Apps CREATE Indexes and upload this to the dark Facebook Cloud Servers.  This kills your battery capacitiy!! mostly 50% of online time!! and destroy’s your PRIVACY! and blow up your ROM at your Mobile Device Workaround: Use a small browser like builtin webview of Android or firefox Enter http://m.facebook.de to connect yourself to the fb-network This saves much energy and you are NOT permanent scanned!! Try and test it one week, i did […]

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