Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Install] Re-install d'un serveur (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Oct 23, 2005 8:31 pm    Post subject: [Install] Re-install d'un serveur (résolu) Reply with quote

Bonjour, je dispose actuellement d'un pentium III @ 450Mhz,
sur lequel il y a une gentoo d'install.
Seulemetn voila mes besoin ont changé et je voudrais refaire ce pc.

Pour minimisé le temps pendant le quel le serveur sera out, je pensai compilé le nouveau system dans un chroot sur un autre pc.
La question qui se pose : est-ce qu'une simple archive poura ensuite conservé tout le systeme, puis etre decompressé par dessus l'ancien.

Le serveur ne dipose ni d'interface graphique, ni lecteur cd ou floppy


Last edited by BuBuaBu on Tue Oct 25, 2005 12:09 am; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Oct 23, 2005 8:37 pm    Post subject: Reply with quote

oui, une archive c'est bon.

Mais n'oublie pas d'utiliser la preservation des droits/propriétaires (option -p il me semble)
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Oct 23, 2005 8:40 pm    Post subject: Reply with quote

je vais pour faire un rm -R * sur la partition racine ?
sans perdre le controle du système via ssh, puis decompresser et reboot.

Je n'est aucune autre partition pouvant accuellir un systeme.
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Oct 23, 2005 8:42 pm    Post subject: Reply with quote

je ne comprends pas le rm -R ?

La question initiale c'etait seulement concernant une archive ...
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Oct 23, 2005 8:49 pm    Post subject: Reply with quote

je veu dire, qu'il va me falloir effacer l'ancien systeme avant de decompresser l'archive du nouveau systeme
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Oct 23, 2005 8:54 pm    Post subject: Reply with quote

oui, bien sur
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Mon Oct 24, 2005 6:21 pm    Post subject: Reply with quote

Pour la sauvegarde des users & groups, j'ai copié les fichier :
/etc/group
/etc/group-
/etc/gshadow
/etc/passwd
/etc/passwd-
/etc/shadow
/etc/shadow-

C'est suffisant ou j'ai tou faux ?
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Tue Oct 25, 2005 12:09 am    Post subject: Reply with quote

ca semble avoir suffit :D le serveur marche, et seulement 3min d'interuption
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum