Роутер на базе ubuntu

EasyRouter:

  • Computer
    • cpu
    • ram
    • hard disk(s)
      • If you want the network attached storage part, I recommend having at least 2 dedicated hard disks of equal size for attached storage for at least RAID 1, though the more the merrier
    • 2 NICs ( This is key )
    • monitor
    • keyboard
    • mouse
  • Ubuntu Server install media (CD or USB)

Before you begin

Considerations

Plan out how are going to set up your machine. This is largely dependent on the number of hard drives you have. There are really lots of options here. Keep in mind that you may have to be careful if you plan on mirroring your / partition, if you don’t to thing properly, your system may not boot.

Keeping with the quick, simple, and dirty nature of this how-to, these instruction will be for a 4 or 5 HD system with 2 NICs. There will be no performance tuning or advanced options addressed.

Installation

  • If you have your system ready, boot the server install media.
    • The process should be relatively self explanatory. Go through filling out the logical options until you get to the Disks/Partitioning dialog. Choose manual partitioning.
    • In the manual partitioning dialog, choose one disk to be your main booting disk.
      • Format with:
        • 0.5 — 5 Gigabytes of swap depending on your amount of RAM and hard drive space.
        • 5 — 10 Gigabytes of space for /
        • 7+ Gigabytes for /home
        • Remainder as Extra Storage (/media/storage may be a good mount point.)
        • There will now be an option at the main partitioning dialog to create RAID device.
        • Choose this option and select the appropriate RAID for your disks. If it’s RAID 5 with 3 disks, then 3 devices, etc. Backup/Offline devices are not used and initialize automatically in case of drive failure.
        • The installer will ask you to reboot the installer. Do so.
        • Go through installer again until you get to partitioning.
        • This time a raid device will be listed as a disk for partitioning. Make your storage partition on it and give it a mount point such as /media/all_my_useless_files.
Оцените статью
Adblock
detector