Changes between Version 29 and Version 30 of install_debian


Ignore:
Timestamp:
Mar 20, 2008, 5:18:48 PM (13 years ago)
Author:
Daniel Kahn Gillmor
Comment:

formatting cleanup

Legend:

Unmodified
Added
Removed
Modified
  • install_debian

    v29 v30  
    1 == Installing Debian ==
     1[[PageOutline]]
     2= Installing Debian =
    23
    34Ideally - you should boot using a Debian installer that uses the serial console. If you can't - just install the normal way.
    45
    5 === Prepare your laptop - Screen ===
     6== Prepare your laptop - Screen ==
    67
    78 * Install screen on your debian laptop:
    8 
    99{{{
    1010sudo aptitude install screen
    1111}}}
    12 
    13  * Connect your serial cable (or USB - serial cable) from your laptop to the server. You may want to check dmesg after plugging in the cable to see which device is being used. You should have a line along the lines of: usb 3-1: PL-2303 converter now attached to ttyUSB0
    14 
     12 * Connect your serial cable (or USB - serial cable) from your laptop to the server. You may want to check dmesg after plugging in the cable to see which device is being used. You should have a line along the lines of:
     13{{{
     14usb 3-1: PL-2303 converter now attached to ttyUSB0
     15}}}
    1516 * Start screen with:
    16 
    1717{{{
    1818mkdir screen-log
     
    2020screen -L /dev/ttyUSB0 115200
    2121}}}
     22== Install Linux ==
    2223
    23 === Install Linux ===
    24 
    25 ==== Initial steps ====
     24=== Initial steps ===
    2625
    2726 * Put in Daniel's Serial Console debian installer and boot (note - if you don't have a serial installer, use a normal installer and a keyboard and monitor attached to the server)
    28 
    2927 * [Skipping easy steps]
    30 
    31  * For DNS servers, enter tachanka, followed by a HE server, followed by a verizon dns server: 209.51.169.83 65.19.176.2 151.202.0.85
    32 
     28 * For DNS servers, enter tachanka, followed by a HE server, followed by a verizon dns server:
     29{{{
     30209.51.169.83 65.19.176.2 151.202.0.85
     31}}}
    3332 * Manually partition the drive
    34 
    3533 * Remove any existing partitions.
    36 
    3734 * Add one partition (on each disk if there are two disks) that is:
    38 
    3935{{{
    4036250 MB
    4137Physical volume for RAID array (or ext3 if one disk system)
    4238}}}
    43 
    4439 * Add a second parition (on each disk if there are two disks) that is:
    45 
    4640{{{
    4741Takes up remaining space
    4842Physical volume for RAID array (or Physical volume for LVM if one disk system)
    4943}}}
    50 
    5144 * Choose "Congifure software RAID" (skip step if one disk system)
    52 
    5345  * Choose "Create MD Device"
    54 
    5546  * Choose RAID1
    56 
    5747  * Number of active devices: 2
    58 
    5948  * Number of spare devices: 0
    60 
    6149  * Now select the first partition on each device.
    62 
    6350  * Click Continue. Repeat for second partition on each device.
    64 
    6551  * When you are done, click Finish. Now you are back at the partition menu.
    66 
    6752 * Scroll down to the raid devices (or apply straight to your partitions if it's a one disk system). Modify as follows:
    68 
    6953{{{
    7054250 MB RAID device: Filesystem: ext3, mount on /boot
    7155Remaining: Physical Volume for LVM
    7256}}}
    73 
    7457 * Choose "Congifure LVM"
    75 
    7658 * Create a volume group called `vg_`''nameofserver''`0`
    77 
    7859 * Create logical volumes in this volume group based on your needs. A `dom0` will only need a 1GB root partition. A "normal" server might need a 1 GB root, 3GB `/usr`, 5 GB `/var` and 512 MB swap.
    79 
    8060 * After returning to the main disk config menu, click on each logical volume that you create and specify how it should be formatted and mounted.
    81 
    8261 * Enter root password in resource db or give to Jamie!
    83 
    8462 * Create a second user for yourself.
    85 
    8663 * Do not install the server package or the base package - deselect all of them.
    87