Archive

Archive for March, 2012

Change login background in Fedora 16

March 16th, 2012 No comments
Categories: Linux, Red Hat / CentOS Tags:

Backup a MySQL database

March 15th, 2012 No comments

– if you have root access you can do mysql dump.

– if you have filesystem access you may stop mysql / flush tables with read lock and then copy data files.

– dump each of the db one by one!! may be a shellscript will do the job! You may directly redirect it to target db if it’s accesible:

mysqldump -uUSER -pPASS –databases DB1 | mysql -uUSER -pPASS -hREMOTEHOST/IP

To dump all the databases you issue:

mysqldump -uUSER -pPASS –all-databases > dumpfile.sql

and then issue:

mysql -uUSER -pPASS < dumpfile.sql

Categories: Bash, Linux, Programmering Tags:

Install Adobe Flash in x64 Linux

March 13th, 2012 No comments

Download and unpack .tar from Adobe with Flash 64 bit.

In Kubuntu 12.04 with Firefox 17.0.1:

$ sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins

In Ubuntu?

NOT TESTED YET!

$ sudo cp /home/user/Downloads/plug.so /etc/alternatives/mozilla-flashplugin

$ sudo ln -s /usr/lib/mozilla/plugins/ /etc/alternatives/mozilla-flashplugin

$ ls /usr/lib/mozilla/plugins/ -l

lrwxrwxrwx 1 root root 37 2012-03-12 11:49 flashplugin-alternative.so -> /etc/alternatives/mozilla-flashplugin

Categories: Bash, Linux Tags: