Linux

Creating and mounting iso images (CD image files) under linux (dd)

Creating and mounting iso images under linux is very easy.
Creating:
dd if=/dev/cdrom of=filename.isoMounting:
sudo mount -o loop -t iso9660 filename.iso /mnt/isoThe file endings iso, raw and cdr denote all iso files. Image files with the bin/cue ending, however, are not iso files. You can convert them into iso files with bchunk. bchunk needs the cue file to do this! Allthough some non-Linux burning applications (e.g. Toast Titanium for MacOS) can handle (burn and convert) the bin file without the cue file.

How to backup mysql databases (mysqlhotcopy, mysqldump)

There are different possibilities. If you have access to the machine where mysql is running, you should use:
mysqlhotcopy On our RedHat 8 server you just type:
/usr/bin/mysqlhotcopy --user=root --password=sdjksjd journal /path/to/backup/directory Alternatively:
/usr/local/mysql/bin/mysqldump --user=username -p phpgedview >phpgedview The path of the command is specific for the mysql install on a MacOS X machine.

Pages