Jump to content

Recommended Posts

Posted

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 (:doh:)

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?

Posted

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

  • Thanks 2
Posted
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 :)

Posted

Sorry I misread there, thought you'd literally just installed it.

 

You can resize the partitions based upon what localzuk has said.

  • Thanks 2
Posted

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

Posted
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

Posted

though GLPI seems to be struggling (all pages are blank!)

 

Worth checking the Apache accesslog/errorlog if this still happens over on ubuntu.

Posted
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...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...