kanotix.com

General Support - Configure Kanotix on a second machine

feffer777 - 16.05.2006, 19:23 Uhr
Titel: Configure Kanotix on a second machine
I have Kanotix 2005-04 on my primary machine now and have added many apps to it. I'm thinking about adding another machine at home and installing the latest Easter release on it. What's the best way to setup a new machine with the same apps and configuration that I have on my current box? How do I get a list of packages that I've added to 2005-04, so that I could install them on the new machine? Also, I know I can cp my /home dir to the new machine and get many configuration files that way, but what about configuration files in /etc? I don't like the idea of cp the whole old /etc to the new machine. Can I just change selective files, like /etc/fstab?

As far as getting a list of packages I've added this is what I've tried so far. I used "dpkg -l" to give me the list of currently installed packages and their status. Then I got a copy of the packages that come with Easter from the web-site. I cut the app name from both files and combined them into one file and then did "uniq -c" to give me a list of unique packages, and eliminated all packages with a count of 2. On this list would be all the apps I've added to 2005-04 plus apps unique to Easter. I thought I could locate and eliminate these latter ones by doing "dpkg -l < combined_file.txt". However this didn't work. Instead I got a list of all files installed on my current system just as if I'd done "dpkg -l". I don't understand why my file combined_file.txt wasn't redirected as stdin to "dpkg -l". Checking man dpkg and googling "redirection+cli" didn't answer my question. Maybe, I just missed it. Can anyone tell me how to get this to work? Or is there and easier way for me to get a list of apps I've added to my 2005-04 system?

Regards,
Ron
lyx - 18.05.2006, 15:51 Uhr
Titel:
If you haven't executed an apt-get clean you'll find all the packages you have installed in /var/cache/apt/archives. You could install 2005-04 on your second machine and try to install all these packages there via dpkg -i *.deb and copy your home directory to get an identical system. At least that's the way it works for me.
feffer777 - 18.05.2006, 20:07 Uhr
Titel:
Thanks lyx. So you've actually done that? Great, I was looking for some first hand experience. Unfortunately, I did an apt-get clean recently, so my cache is pretty much empty. Is there any other way to get a list of these added packages? Also what about configurations in /etc? Did you have to do a lot of tweeking to get your second system to where you like it?

Regards,
Ron
lyx - 19.05.2006, 17:47 Uhr
Titel:
If you installed everything via apt-get on the console, maybe you're lucky and your /root/.bash_history still contains all the commands you've entered (mine does because I didn't do much on the root console, only as user...)
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007