从被黑的服务器迁移到干净的 cpanel
我即将开始将站点迁移到全新安装的 cpanel。我没有来自旧的被黑客攻击的服务器的任何备份文件,但我可以访问旧的硬盘驱动器。它作为驱动器安装在新服务器上。
我找到了诸如此类的文章 http://linuxstuffs.wordpress.com/2008/08 /31/directory-struct-of-cpanel/
和
http://forums.cpanel.net/f49/help-moving-cpanel-accounts-damaging-disk-163734.html
您还有其他推荐的文章或建议吗?我知道我无法对所有内容进行复制,因为它是一个被黑的服务器。我希望能够复制站点文件、dns 文件、邮件等以及足够的 cpanel 配置文件,这样就没有人需要输入 1000 多个电子邮件帐户和所有域等。
谢谢,
I am about to start migrating sites to a clean install of cpanel. I do not have any backup files from the old hacked server but I do have access to the old harddrive. It is mounted on the new server as a drive.
I have found articles such as
http://linuxstuffs.wordpress.com/2008/08/31/directory-structure-of-cpanel/
and
http://forums.cpanel.net/f49/help-moving-cpanel-accounts-damaged-disk-163734.html
Is there any other articles or advice you would recommend? I know I cannot do a copy on everything because it was a hacked server. I hope to be able to copy over site files, dns files, mail etc and enough of the cpanel config files so nobody has to enter in the 1000+ email accounts and all the domains etc.
Thank you,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除非你知道什么被破解了,否则你的希望是没有任何意义的。如果破解者安装了数千个垃圾邮件帐户,您的问题将无法解决。所以你必须检查每个配置文件的每一行。这比再次输入要快一些,但对于邮件地址,您应该确保它们确实存在等。
为了解决此类问题,我将配置文件放入版本控制系统(如 Subversion 或 Mercurial)中。
Your hope is no good unless you know what has been cracked. If the cracker installed thousands of spam mail accounts, your problem won't be solved. So you have to check every line of every config file. That's a bit faster than entering them again but as for mail addresses, you should make sure they really exist, etc.
To fix such problems, I put my config files into a version control system like Subversion or Mercurial.