Changes between Version 29 and Version 30 of install_debian
- Timestamp:
- Mar 20, 2008, 5:18:48 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
install_debian
v29 v30 1 == Installing Debian == 1 [[PageOutline]] 2 = Installing Debian = 2 3 3 4 Ideally - you should boot using a Debian installer that uses the serial console. If you can't - just install the normal way. 4 5 5 == = Prepare your laptop - Screen ===6 == Prepare your laptop - Screen == 6 7 7 8 * Install screen on your debian laptop: 8 9 9 {{{ 10 10 sudo aptitude install screen 11 11 }}} 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 {{{ 14 usb 3-1: PL-2303 converter now attached to ttyUSB0 15 }}} 15 16 * Start screen with: 16 17 17 {{{ 18 18 mkdir screen-log … … 20 20 screen -L /dev/ttyUSB0 115200 21 21 }}} 22 == Install Linux == 22 23 23 === Install Linux === 24 25 ==== Initial steps ==== 24 === Initial steps === 26 25 27 26 * 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 29 27 * [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 {{{ 30 209.51.169.83 65.19.176.2 151.202.0.85 31 }}} 33 32 * Manually partition the drive 34 35 33 * Remove any existing partitions. 36 37 34 * Add one partition (on each disk if there are two disks) that is: 38 39 35 {{{ 40 36 250 MB 41 37 Physical volume for RAID array (or ext3 if one disk system) 42 38 }}} 43 44 39 * Add a second parition (on each disk if there are two disks) that is: 45 46 40 {{{ 47 41 Takes up remaining space 48 42 Physical volume for RAID array (or Physical volume for LVM if one disk system) 49 43 }}} 50 51 44 * Choose "Congifure software RAID" (skip step if one disk system) 52 53 45 * Choose "Create MD Device" 54 55 46 * Choose RAID1 56 57 47 * Number of active devices: 2 58 59 48 * Number of spare devices: 0 60 61 49 * Now select the first partition on each device. 62 63 50 * Click Continue. Repeat for second partition on each device. 64 65 51 * When you are done, click Finish. Now you are back at the partition menu. 66 67 52 * Scroll down to the raid devices (or apply straight to your partitions if it's a one disk system). Modify as follows: 68 69 53 {{{ 70 54 250 MB RAID device: Filesystem: ext3, mount on /boot 71 55 Remaining: Physical Volume for LVM 72 56 }}} 73 74 57 * Choose "Congifure LVM" 75 76 58 * Create a volume group called `vg_`''nameofserver''`0` 77 78 59 * 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 80 60 * 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 82 61 * Enter root password in resource db or give to Jamie! 83 84 62 * Create a second user for yourself. 85 86 63 * Do not install the server package or the base package - deselect all of them. 87