Posts

Showing posts from March, 2017

How to install KVM Synergy on Raspberry Pi 2

How to install KVM Synergy on Raspberry Pi 2 At first install all missing libraries:   apt-get install gcc cmake libx11-dev libxtst-dev curl libcurl3 libcurl4-gnutls-dev qt4-qmake libssl-dev download the newest version from https://github.com/symless/synergy wget https://github.com/symless/synergy/archive/master.zip Now tricky part which is true for version Synergy 1.8.8 1. extract files and go inside synergy/ext 2.  unpack files unzip ./gmock-1.6.0.zip -d ./gmock-1.6.0 unzip ./gtest-1.6.0.zip -d ./gtest-1.6.0 tar - xzf openssl-1.0.2.tar.gz 3. make new dir inside synergy root folder mkdir /home/pi/synergy/openssl 4. Copy folder openssl from /home/pi/ synergy/ext/openssl-1.0.2/include/openssl to root folder of synergy cp - a /home/pi/ synergy/ext/openssl-1.0.2/include/openssl /. /home/pi/ synergy/openssl 5. If you want to play and fix symlinks - go ahead, the easiest way is to copy crypto folder to folder above synergy cp - a /home/pi/ synerg

How to clean DB from old logs in Magento 1.x

How to clean DB from old logs in Magento 1.x Using MySQL truncate log_customer ; truncate log_quote ; truncate log_summary ; truncate log_summary_type ; truncate log_url ; truncate log_url_info ; truncate log_visitor ; truncate log_visitor_info ; truncate log_visitor_online ;     login to shell(SSH)  go with root/shell folder. execute the below command inside the shell folder   php - f log . php clean   enter this command to view the log data's size php -f log.php status This method will help you to clean the log data's very easy way.