Arkiv för mars, 2012

Change login background in Fedora 16

mars 16th, 2012 Inga kommentarer
Categories: Linux, Red Hat / CentOS Taggar:

Backup a MySQL database

mars 15th, 2012 Inga kommentarer

– 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 Taggar:

Install Adobe Flash in x64 Linux

mars 13th, 2012 Inga kommentarer

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

In Kubuntu 12.04 with Firefox 17.0.1:

$ sudo cp /usr/lib/firefox-addons/plugins

In Ubuntu?


$ sudo cp /home/user/Downloads/ /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 -> /etc/alternatives/mozilla-flashplugin

Categories: Bash, Linux Taggar: