Gatt Posted October 22, 2009 Posted October 22, 2009 Hey folks looking for some help here I am looking at converting our web server from Fedora to Ubuntu However.. When it was first installed, everything was put under the / partition () How can I move the folowing to their own partitions? /usr /home /var/www And then is it just a case of wipe / and install Ubuntu and a quick reconfiguration?
localzuk Posted October 22, 2009 Posted October 22, 2009 Make the new partitions using fdisk, mount them as something normal (/mnt/blah) then copy all the data over, remember which is which, and then choose them when you're reinstalling. That is assuming you have spare space on the disk with which to do the job? If not, and you need to resize the / partition, this site may help: How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials 2
Gatt Posted October 22, 2009 Author Posted October 22, 2009 Probably easier to be honest. What - the wipe/reinstall? Yeah it may be easier - but with the entire school website, and moodle, and various other stuff - then its not an option im afraid I need to keep the data - and reconfigure the necessary config's @localzuk - cheers for the info -I'll take a alook at the disks over half term and see what I can do
kmount Posted October 22, 2009 Posted October 22, 2009 Sorry I misread there, thought you'd literally just installed it. You can resize the partitions based upon what localzuk has said. 2
AdamK Posted October 26, 2009 Posted October 26, 2009 Seems like abit of a headache trying to do it that way. Its not too difficult to rsync all the website stuff to a backup server and export the mysql database, then put it all back into the new install. Just out of curiosity, why do you want to move from Fedora to Ubuntu when you've got it all setup already? Adam
Gatt Posted October 27, 2009 Author Posted October 27, 2009 Seems like abit of a headache trying to do it that way. Its not too difficult to rsync all the website stuff to a backup server and export the mysql database, then put it all back into the new install. Just out of curiosity, why do you want to move from Fedora to Ubuntu when you've got it all setup already? Adam This is what I did in the end successfully restored joomla, WHD and Moodle this way, though GLPI seems to be struggling (all pages are blank!) Moving to ubuntu cos my fedora install is struggling now and tbh, i prefer ubuntu now lol
kmount Posted October 27, 2009 Posted October 27, 2009 Good move, give me a shout if you have any probs.
kmount Posted October 27, 2009 Posted October 27, 2009 though GLPI seems to be struggling (all pages are blank!) Worth checking the Apache accesslog/errorlog if this still happens over on ubuntu.
Gatt Posted October 27, 2009 Author Posted October 27, 2009 Worth checking the Apache accesslog/errorlog if this still happens over on ubuntu. Sorted this - deleting the config/config_db.php forces the installer to re-run and you can update the installation again.. All now seems to be working - but time will tell really...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now