ali aboos

Archive for April, 2015

mySQL: repair and optimize all tables in all databases

by on Apr.28, 2015, under Linux

mysqlcheck -u root -p --auto-repair --optimize --all-databases

You will be asked for root password and command will run. If you want to do it through cron, put your password immediately after -p… like -ppassword.

Comments Off on mySQL: repair and optimize all tables in all databases more...

Linux: edit crontab with nano instead of vi

by on Apr.15, 2015, under Linux

Everyone hates vi… I sure do. If you can’t or don’t want to permanently change your crontab editor use this:
env EDITOR=nano crontab -e

Comments Off on Linux: edit crontab with nano instead of vi :, , , more...

Linux: VMware Tools on Red Hat or CentOS Prerequisites

by on Apr.06, 2015, under Linux

This should do it:
yum install perl gcc make kernel-headers kernel-devel audit binutils glibc-headers

If vmware tools install cannot find your linux headers, throw these in too and try again:
yum install kernel-headers-`uname -r` kernel-devel-`uname -r`

Comments Off on Linux: VMware Tools on Red Hat or CentOS Prerequisites :, , , more...

Search InsaneLabs.com

Can't find what you're looking for? Drop a comment on a post or email (ali aht insanelabs doht com)

Links

Links open in a new window