If you use a Android Phone you should cleanup by Reset every 6 Month: Remove of Background Apps Remove blown up Updates Remove unused Apps Disable unused Apps preinstalled Raise Security Raise Privacy Reduce burned Bandwith from App Homecalls Use Siteload to reinstall LESS Apps Use Browser against Apps ! Reduce Backlinks of Apps to Cloud Remove Google Account Reset Advertisment-ID at Google Settings Reset Phone Settings, often useful! Disable Mobile Net+Wifi Access to unused preinstalled Apps! Control Homecalls by connect to a OpenWRT Router with iftop! Increase Battery runtime. Remove E-Mail, Social-Media Apps against Viruses over Chat and Mails […]
Problem: If you up/downgrade a Debian most of unneeded files are always on your disk Solution: To check: $sudo dpkg -l | more To cleanup: dpkg –list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg –purge If you like run the command twice cause sometimes deps are new taken or install deporphan to: $sudo deborphan | xargs sudo apt-get -y remove –purge If you like run the command twice cause sometimes deps are new taken
Problem: If you use wordpress and edit often your posts a high count of old revisions are backuped inside the mysql database: Solution: Login mysql $mysql -u root -p [Enter root password] at mysql command line select wordpress your database mysql>use wordpressdb; [Enter] System echo=Database changed.. delete old backups of posts mysql>DELETE FROM wp_posts WHERE post_type = "revision"; [Enter] System echo=..Entry affected time.. logout database and revisit pages, if you have made a database backup with mysqldump before and after cleanup you see how much size the database lost (du -h wordpress.sql) often 80% of the size.
Problem: The default installation setup some unneeded services like pcmcia or sound or cpuspeed Solution: log into your server as root run/sbin/chkconfig –list to see active services run/sbin/chkconfig –level 2345 pcmcia off to disable pcmcia cause a server does not have pcmcia edit the /etc/modprobe.conf and switch off sound-modules with alias "name-module" off run after reboot #/sbin/lsmod to control the disabled sound modules if they are not seen they are not active NOW you have reduced memory load and processes at cpu can speed up your CPU and save energy (at my Epia 533Mhz may be 3Watts at hour)