Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm upgrading from 11.04 i386 to 12.4 64x. What I mean is I've installed the 12.4 64x server and I want to get all the settings from the 11.04 to set up the 12.4, the settings I'd like to get are for apache / PHP / phpmyadmin etc. Any and all settings that have to do with the web server. What files should I get or what path should I take here? Any suggestions would be great.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Depending on your configurations, your PHP settings should be in /etc/php5/*.

I do not know where phpmyadmin stores its data on the system.

I also do not know where your website files are. but your Apache settings should be in either /etc/httpd/* or /etc/apache2/*, where * is a wildcard meaning everything within that folder.

Those folders contain the files for your configurations, and should be saved. As well, any relevant user data should be saved as well (/home/user/* for example, where user is your username.)

share|improve this answer
    
Would I just copy the folders over to the new system and restart it? –  Monty Aug 1 '12 at 17:11
    
You would not just "restart", you'd need to save your data onto some type of external media, and then clean install 12.04 64bit, since you cannot go directly from 32bit to 64bit. Then you would need to manually go through and restore your data from the external storage. As well, you'd need to reinstall all the packages again, some of which have had name changes since 11.04. –  Thomas W. Aug 1 '12 at 17:13
    
"clean install" means a brand new installation from the installation media, a 12.04 DVD or USB stick with the installation software image on it. –  Thomas W. Aug 1 '12 at 17:14
    
BTW these are both VMs. I have a fresh install of the 12.4 so now I just install/update all the services/programs I need. Then get the "etc/" folders for each and copy those over? –  Monty Aug 1 '12 at 17:18
    
No, you first clean-install each service/program you need (sudo apt-get install apache2 mysql-server php5 ... depending on what you need, of course), then you copy your configs over. Then you copy your files over. Then you restart each service accordingly, and hope that it doesnt blow up. If it blows up, there's something wrong. but that'll be a different question. –  Thomas W. Aug 1 '12 at 17:26
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.