Professional Web Applications Themes

overwriting an old system - Linux Setup, Configuration & Administration

I have a P4 box with Mandrake 9.0 Prosuite installed and I want to upgrade it to a more up to date distro, I use the box for web prototypes (running APACHE, PHP, python etc), Samba, and for web surfing. How do I get the new distro on and preserve the old configuration files and accounts/passwords from the MDK distro, assuming it is possible? Also, Which distro can best provide equivalent function? Why?...

  1. #1

    Default overwriting an old system

    I have a P4 box with Mandrake 9.0 Prosuite installed and I want to upgrade
    it to a more up to date distro, I use the box for web prototypes (running
    APACHE, PHP, python etc), Samba, and for web surfing. How do I get the new
    distro on and preserve the old configuration files and accounts/passwords
    from the MDK distro, assuming it is possible? Also, Which distro can best
    provide equivalent function? Why?


    Guest

  2. #2

    Default Re: overwriting an old system

    net wrote: 

    Play those files back from a recent BACKUP?
     

    You could try an update installation, this might work or not with
    a little luck.

    Any distro can be tweaked to your needs, for desktop purposes
    SuSE is usually a pretty good choice.

    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Guest

  3. #3

    Default Re: overwriting an old system


    <net> wrote in message
    news:com... 
    new 


    Well mandrake 9.2 will upgrade the system correctly.

    If you use some other distribution, you cant 'retain' the configurations.


    You can copy /etc , /var/, /home , somewhere and then look through it if
    you get stuck for a config item, hopefully preserving all web pages + server
    side stuff, users files, mail and stuff.

    But putting all back is quite a procedure.

    eg incoming mail files have to be owned by the correct user, and put back
    into /var/spool/mail
    eg web sites have to be added to the new httpd.conf, etc etc




    On the new system, you need to make the /etc/passwd and /etc/group file
    consistent with the old /etc/password and group file,

    so that in the new file the username maps to the correct userid,
    the new file has group names maps to the correct group id.

    (two basic ways to do this,
    1. make the new users and groups have the same user id in the new files ,
    and find and fix any files installed by the new distribution which might
    have to have their ownership change. This is probably the easiest way.


    or 2. create the new users/groups with any id number, and then change the
    ownership of any files from the old system as needed.

    )


    Leon. Guest

Similar Threads

  1. DW overwriting Contribute edits
    By thgrug in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: March 11th, 07:42 AM
  2. Overwriting existing pages
    By Sheetal.Raj@gmail.com in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: April 17th, 04:00 PM
  3. Text overwriting itself
    By r-t in forum Macromedia Flash Player
    Replies: 0
    Last Post: March 16th, 05:42 PM
  4. any danger in overwriting $_GET ?
    By Justin French in forum PHP Development
    Replies: 5
    Last Post: July 15th, 12:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139