Sunday, January 19, 2014

google doesn't provide official google drive client so how to proceed?

For me and it a problem that Google has no client for Google drive on Linux.

Firstly I have tried insync. Company offers licence for 15 dollars for one Google account. But before buy you can try 15 days trial. The software is cool, at least so good as official windows Google drive client. But my trial ended so I had looked for some free solution.

I have found Grive. It is command line tool. You can sync with
"grive -a"
command. In console there will be outputted url, you have to open it, allow permissions to grive app in your Google account. On next step you will receive long token. That token you have to use back in command line and syncing process will start.I dislike that sync is not done automatically, use have to get token a put it back to grive to continue.


Sunday, April 07, 2013

Opensuse 12.3 and Virtualbox 4.2.10 to run

I have installed recent Virtualbox 4.2.10 r84104. But I was not able to run Virtualbox, it has ended with alert box to run
sudo /etc/init.d/vboxdrv setup

But this command showed something like

Stopping VirtualBox kernel modules done
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)

Problem was that tools for kernel modules compiling were missing.

In Yast Control Center ->  Softwate Management -> View -> pattern a have selected in Development branch:
  • Base Development
  • C/C++ Development
  • Linux Kernel Development
Than  sudo /etc/init.d/vboxdrv setup ended with:

Stopping VirtualBox kernel modules done
Recompiling VirtualBox kernel modules done
Starting VirtualBox kernel modules done


Saturday, July 23, 2011

Chrome doesn't play wmv on websites

If you got troubles to play wmv movies direct in Chrome just put following line to console and restart chrome browser:

sudo apt-get install gecko-mediaplayer

Wednesday, February 02, 2011

Mysql GUI tools with LAMPP

When you run LAMPP in /opt this everything is coupled in one place. MySQL daemon puts the mysql socket file to following file:

/opt/lampp/var/mysql/mysql.sock

If you wanna run standard MySQL GUI tools like MySQL Administrator or MySQL Query Browser you should set up mentioned socket file in advanced details in connection manager. It will be work.

Monday, November 22, 2010

Xdebug for LAMPP 1.7.3a

I found good solution for include xdebug to LAMPP with compiling steps.
http://dev.digi-corp.com/2009/02/xdebug-install-with-xampp-on-ubuntu/
But better is just download as mentioned on
http://www.apachefriends.org/f/viewtopic.php?p=162080&sid=7311d338c7837dc2964f0d46bd44f978 
From Komodo site
http://code.activestate.com/komodo/remotedebugging/ 

Localhost as a server on LAN with LAMPP solution

This works on Ubuntu 10.10 64bit with Lampp 1.7.3a installed in /opt/. If you want to be your localhost computer httpd server for LAN change ServerName in /opt/lampp/etc/httpd.conf. First check your IP on LAN with ifconfig. If DHCP gives you IP, then it possible to fix IP by MAC address.
ifconfig wlan0
gedit /opt/lampp/etc/httpd.conf
ServerName 192.168.0.168:80

Saturday, November 06, 2010

Xampp on Ubuntu maverick 10.10 64 bit

* downloaded development package and stable package
* extracted to /opt

sudo /opt/lampp/lampp start 
causes mysql was not started with following error in /opt/lampp/var/mysql/copmuter.err
101106 20:18:59 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
101106 20:18:59 [Note] Plugin 'FEDERATED' is disabled.
/opt/lampp/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
101106 20:18:59 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
101106 20:18:59  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /opt/lampp/var/mysql/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
101106 20:18:59 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/ms-HP-620.pid ended 

following helped:
 sudo chown -R nobody /opt/lampp/var/mysql