Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon May 02, 2005 4:11 pm 
Offline
Junior Member
User avatar

Joined: Sun Apr 17, 2005 10:34 am
Posts: 45
I've come to the realization that while my linode fulfills it's intended purpose (and does so very well), it is not suitable for doing package management Gentoo-style. What I'd like to do is use my very fast home PC to build an image and then extract a tarball of that image on my linode.

What I had in mind was having a disk image and configuration profile that would boot my linode into something like a LiveCD that would have minimal software and allow me to mount my regular partitions and then upload and extract the tarball of my image that was built on my own PC.

Has anyone ever done something like this before and have advice or reading material on the subject?

Erik


Last edited by erik.elmore on Mon May 23, 2005 10:45 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon May 02, 2005 4:28 pm 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
Rather than transferring the entire image, you may want to look into using 'emerge --buildpkg' and quickpkg. That's not a bad idea though.


Top
   
 Post subject:
PostPosted: Mon May 02, 2005 4:42 pm 
Offline
Junior Member
User avatar

Joined: Sun Apr 17, 2005 10:34 am
Posts: 45
Yes, of course... but I guess also had in mind having some sort of rescue/restore functionality from the liveCD image where I would be also able to deploy an entirely new fully-functional system--not necessarily just software updates..


Top
   
 Post subject:
PostPosted: Mon May 23, 2005 10:44 am 
Offline
Junior Member
User avatar

Joined: Sun Apr 17, 2005 10:34 am
Posts: 45
I've done some work on this and what I've done is installed debian on a modest 1024 MB image on which I will store backup tarballs. I can also use this config profile to boot into somewhat of a rescue OS where I can mount my main partitions and restore them from the tarballs.

That being said, I can also download these tarballs and restore them to my very fast home PC, chroot into it (ala "Faketoo"), and then do all my package updates from there. Of course, using this method means you have to actually bring your server down to perform the restore operation, but it usually doesn't take very long and it improves update times exponentially.

Another thing I've done with promising results is to do the Faketoo style restore on my home system and then build binary packages. This way I can just have emerge use the binary package tarballs to perform updates. Doing it this way means you don't have to reboot your server!

Hopefully this will serve to reduce the load on some hosts ;)

Maybe I can work up a HOWTO on the subject :wink:


Top
   
 Post subject:
PostPosted: Tue May 24, 2005 2:25 am 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
erik.elmore wrote:
Maybe I can work up a HOWTO on the subject :wink:


That would be awesome, post it on the wiki if you get the chance, I'm interested to see how you have it setup.


Top
   
 Post subject:
PostPosted: Tue May 24, 2005 2:58 am 
Offline
Junior Member
User avatar

Joined: Sun Apr 17, 2005 10:34 am
Posts: 45
I posted something simple on the tips/tricks forum for now.

http://www.linode.com/forums/viewtopic.php?t=1688


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group