mathz.nu Asterisk Blacklist Hobby webbhotell

2011/10/13

Mythubuntu not open port 6543

Filed under: Media - TV,Server — Mathz @ 20:14

After upgrade of MythBuntu the system do not open port 6543. After running:

sudo dpkg-reconfigure mythtv-common
sudo dpkg-reconfigure mythtv-database

the port is open and MythBuntu are working!

2011/10/10

Find string and remove file

Filed under: Server — Mathz @ 10:37

You can use this to find a string in a file and remove the file.
find . | xargs grep -l youemail@email.com | awk '{print "rm "$1}' > doit.sh
Look in file doit.sh for errors.
Execute the file:
bash doit.sh

2011/10/04

Copy partition table using dd

Filed under: Server — Mathz @ 05:29
dd if=/dev/source of=/dev/dest bs=512 count=1

Powered by WordPress