jeltsch's blog

Migrating the Mad Thought Blog to a new server (mysql, php)

  1. Dump the database data mysqldump --host=localhost --user=root -p journal >journal.sql
  2. Create the databse on the new machine mysql -u root -p CREATE DATABASE journal;
  3. Import the data into the database mysql -p -h localhost journal < journal.sql
  4. Create the user 'journal' GRANT ALL PRIVILEGES ON *.* TO 'journal'@'localhost' IDENTIFIED BY 'journal' WITH GRANT OPTION;

aMule on our server (what ports to open?)

I installed the aMule RPMs from from Packman. Then I needed to start up aMule once in GUI mode to set up the remote control web interface (enable all remote access and disable unix sockets and give passwords). Thereafter you can just start the aMule daemon via the command line amuled. Sometimes amuleweb fails to load when you start amuld, in such a case you should execute amuleweb separately. After this you can connect to aMule's own web server. I opened TCP port 4662 and UDP ports 4672 and 4665 and on our router I forwarded port 4662 to the machine running aMule.

Windows XP and deleting files with invalid filenames (The system cannot find the path specified)

I was fighting for several days to delete a file in Windows XP that started with dot underscore (._). The message was always: "The system cannot find the path specified". Nothing worked. No safe mode, no command line, no special syntax. The Microsoft Knowledge Base addresses the problem, but instead of pointing to an easy solution it gives lots of useless and even wrong information, e.g the Windows XP Resource Kit didn't contain the RM.EXE program, that was supposed to be able to delete those files with "weird" file names.

Pages