Kategorie: Howto

Android: Disable Screensaver Ads Fire Tablet

If you use a Fire Tablet and you want prevent kids from ads do: Enable the Developer Options by Settings > Device Options > Tap on Serial Number several times > You are now Developer Enable the USB Debugging on Setttings > Device Options > Developer Options > Enable ADB > Tap on toggle > Enable […]

MYSQL: Default Basic Table Structure WordPress

If you use WordPress and have tested some plugins and removed them later, it is possible that you have much waste tables still inside your database. First do Database Backup with MySQL DUMP Then check it enter the mysql console as your mysql admin user and do: $mysql -u mysqladminusername -p mysql > use databasename; […]

Apache: Count Visits on Console

If you use a Webserver like Apache, you can use a small script to Analyse your Logs. Create a analyse-web.sh Script with: $sudo nano /home/user/analyse-web.sh insert: #!/bin/bash cat /var/log/apache2/access.log | awk '{ print $1 }' | sort | uniq -c exit 0 System Output: 1573 www.domain2.de 3568 www.domain3.de .. If you change the „$1“ to […]

Apache: Analyse Logs Spam Bots

If you admin a Apache Webserver, you see often weekly thousand of visits a day on your Blogs. Background: These are no real users, this visits are made by Spam Bots in my Logs like Xovi.de or xovibot.net Bots! On info pages this Company says Admins should disallow crawl by robots.txt, but they IGNORE the settings! […]

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

Ubuntu: Deja-Dup Backup Freeze Desktop

If you use Ubuntu Desktop 16.10 you will run sometimes into freezes of the Desktop with a Default Setup. Background: Theres a known Bug of the Deja-Dup Backup Service which is started by Cron. The Service take 100% Ram and 100% CPU usage. This did my PC with 16GB Ram too! Only HARD RESET helps […]

WordPress: Prevent Copyright Violation

If you are a Hobby Blogger like me, you should ALWAYS take Snapshots for your Blog with your OWN Camera! For „non professional“ use you can take the cheapest Camera or reuse old Smartphones of the Family. Resolution at VGA Mode (640×480/800×600 less 250kb) is more enough than you need. Faster you can’t save or […]

WordPress: Change Word on all content sites with mysql

If you run a WordPress Blog or other CMS with MySQL Backend you can easy change one same word or expression on all content sites on the fly Do a mysqldump at first of the current database $ mysqldump -u username -p dbname > dbbackup.sql Login to the MySQL server Console Switch to the Database […]

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

Design copyright www.linuxonlinehelp.com - Linux PC & Server Support