I initially followed the v1 install instructions and my server was working great. I upgraded to v2 of the documentation and everything worked fine, but over time I think that I have really messed up a lot of settings and everything.
Basically, I would like to start a fresh install; format my hard drive and follow the V2 instructions to the T. Does anyone know how I can preserve my sites? I currently have a wiki and a wordpress site, along with a static site (which is easy to backup). Regarding the wordpress site, I know that I have to do a mysql dump, but I'm not sure what settings to use. I have phpmyadmin installed so I can do it from there.
If anyone could help out it would be greatly appreciated, thanks in advance.
Just make a good backup of your htdocs directory and restore it in the new location
Make a copy of your httpd.conf settings
if you have mysql5 running you can also make a copy of the data directory in the /usr/local/mysql/ dir
This would be the easiest because otherwise you would need to copy the users from the database directly, otherwise you have to recreate the users with all their permission on databases and tables manually. I did the copy myself without a problem. Just make sure if you copy it to the new install to set the permission correctly. Just read my efforts on the upgrade: http://switch.richard5.net/2006/09/11/upgraded-my-own-server-to-mysql-5024a/
15 Feb 2007
I initially followed the v1 install instructions and my server was working great. I upgraded to v2 of the documentation and everything worked fine, but over time I think that I have really messed up a lot of settings and everything.
Basically, I would like to start a fresh install; format my hard drive and follow the V2 instructions to the T. Does anyone know how I can preserve my sites? I currently have a wiki and a wordpress site, along with a static site (which is easy to backup). Regarding the wordpress site, I know that I have to do a mysql dump, but I'm not sure what settings to use. I have phpmyadmin installed so I can do it from there.
If anyone could help out it would be greatly appreciated, thanks in advance.
15 Feb 2007
Snozle,
Is it just the websites or also the mailserver ?
For the websites:
Just make a good backup of your htdocs directory and restore it in the new location
Make a copy of your httpd.conf settings
if you have mysql5 running you can also make a copy of the data directory in the /usr/local/mysql/ dir
This would be the easiest because otherwise you would need to copy the users from the database directly, otherwise you have to recreate the users with all their permission on databases and tables manually. I did the copy myself without a problem. Just make sure if you copy it to the new install to set the permission correctly. Just read my efforts on the upgrade: http://switch.richard5.net/2006/09/11/upgraded-my-own-server-to-mysql-5024a/