Archive for May, 2011

PC em forma de mesa

Saturday, May 21st, 2011

Geralmente não me interesso por casemods, mas este aqui é especial DEMAIS (dica do Erik)

Desktop em formato de mesa

Desktop em formato de mesa



Casemod campeão do Cooler Master’s 2011 Case Mod Competition:
Contém:
Intel Core i7-980x de 4,5 GHz,
duas placas gráficas ASUS GeForce GTX 580,
mais de 12 terabytes de armazenamento,
disco SSD para inicialização do sistema
um tela de 27″ mais duas de 17″.

Mais detalhes

How to migrate a website from a Plesk backup

Sunday, May 15th, 2011

I had to move a few websites from a Plesk backup, which gave me only a file named www.domain.com_YYYY.MM.DD-HH-mm, with no other hint about its filetype.
Here comes the solution, from Parallel’s knowledge base: http://kb.parallels.com/en/1757.
In short, yo uhave to install an app called munpack in your server and run the command:
zcat your_plesk_backup | munpack
After that, you’ll have several files in the same directory. At first, we are interested in a few files to import to our server:

  • anything.httpdocs: tar/gzipped copy of the httpdocs directory, containing all web files;
  • anythinghttpsdocs: tar/gzipped copy of the httpsdocs directory, containing all web files. Usually empty;
  • anything.mysql: textfile containing a dump for the database named anything;
  • email@yourdomain.com.mdir: tar/gzipped containing the emails from this account. You can create this email user in your server, copy the files to the appropriate directory and change the ownership to each email user.

So these are the steps I needed to migrate a few sites. As these sites didn’t have any CGI scripts, I haven’t tried to copy them too.