Re: lug-bg: Remote linux upgrade
- Subject: Re: lug-bg: Remote linux upgrade
- From: danchev@email.domain.hidden (George Danchev)
- Date: Tue, 8 Apr 2003 19:35:13 +0300
On 08 04 2003 17:42, Konstantin Angelov wrote:
<em class="quotelev1">> Mori me edin vupros na koito bih iskal da znam otgovora.
<em class="quotelev1">> Situaciata e slednata: PC sus instaliran slack.Niama console
<em class="quotelev1">> connection.Niama i fizicheski dostup do PCto. E li vuzmojno da se
<em class="quotelev1">> instalira debian vurhu slack-a prez internet i ako - kak?
Maj nesto nerazbrah tuka... ;-)
1. Sled kato nqmash fizi4eski dostyp do machinata kakto i remote console
connection kak mislish da se log-nesh.
2. Mnogo unsafe dejstvie e da se install-ve edna distro vyrhu druga, stoto vse
pak v krajna smetka ste se polu4i 4e zapishvash files otgore vurhu
systestvuvasti ve4e files, da ne govorim 4e novata sistema mozhe da e
installed na razli4en po tip i broj partitions... o4eizvadno ste ostane bunch
of cruft (old useless/bad stuff) - neopredelena po koli4estvo, t.k. trudno
determiruema veli4ina;-) v zavisimost kakvo e instal-nato ot starata distro i
kakvo se install-va otnovata... T.e. "do not do overwrite, do replace", stoto
trudno ste ustanovish iste se ubedish 4e pri overwrite ste ima pylno
pripokritie na starite files s novite, da ne govorim kolko vreme ste ti
trqbva za ustanovqvaneto na tov, ako go "track-vash do dupka".
3. Ako iskash opitaj da si upgrade-nesh Slack s nqkoq unofficial
util-ka (search linux-bg.org), no se backup-ni predi tova. Ako slack-a e
dosta star ne go my4i s upgrades i ako ne se nalaga naistina "leave it as is".
4. Ako ste migrirash kym druga distro i neiskash da pravish full preinstallna
4isto to mozhe da razhvyrlish/backup-nesh segashnata systema na nqkolko
partitions, t.e. da otdelish 4isto system files ot tvojte personal local
files, zapazvash tvojte personal data samo, drugo del. Naprimer backup
/etc.... /usr/local/ , /home/ , /root , /var/www i tam oste kakvoto si e
tvoe, mqtash na otdelni partitions (ili partition) i samo
del-vash tova deto e na (bivshata) root filesystem i drugite fs na koito ima
systemni files, e.g. Slack-a (razbira se boot-nat si otdruga media Knoppix
LiveCD da re4em...) i tam posle mqtash Debian Base (ot Knoppix LiveCD da
re4em s scripta /usr/local/bin/knx-hdinstall). Sled tova, reshavash koe na
kyde ste mestish otbaknatite filesystems i vmykvash obratno. Imaj predvid 4e
ako na dadena filesystem imash directories i v nqkoq ot tqh ima
files&directories i ti montirash tam (v tazi directory) filesystem ( koqto ne
e bila montirana do momenta) to tova staroto deto e v tazi directory ne se
gubi, prosto si ostava na starata fajlova sistema, a ti vizhdash
sydyrzhanieto ot novata filesystema koqto si montiral, pri umount-vaneto na
koqto pak dostypvash tova sydyrzhanie ot starata filesystem koeto si vizhdal
predi montiraneto... da ne obyrkash /etc-tata samo, opredeleno staroto /etc/,
trudno ste go polzvash v novata systema ej taka napravo ili overwrite-vajki
staroto, t.e. trqbva da merge manually, monitorvajki zdravo s diff storoto i
novoto /etc ;-)... da ne si zatriesh userite ... think predi da mestish
nesto. Az si pisah na list hartiq edin pyt za tova koe kyde otiva ot starata
sistema i posle kak ste go vrystam v novata i ne mozhah da sgazq luka. No
tova e kakto sedoseshtash dosta time consuming & brainstorm meropriqtie ;-)
5. Ako sistemata beshe Debian, i imashe remote ili local accessdo machinata,
to upgrade-a ot given selection ot packages kym new one e syvsem routine, but
flexible procedure.
--
pub 4096R/0E4BD0AB 2003-03-18 (no comments) <danchev_at_spnet.net>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB <keyserver.bu.edu>
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|