Advertisement
Guest User

Untitled

a guest
Jul 1st, 2013
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. HOW TO INSTALL ON RASPBERRY PI
  2. Get an SD memory card of at least 4GB.
  3. Uncompress the Elastix Raspberry Pi tarball file. The files "BOOT.tar.gz" and "rootfs.tar.gz" will be obtained.
  4. Use any partitioning tool to create two partitions in the SD card. The first partition must be FAT type and its size of at least 16 MB. The second partition must be EXT3 type and its size of at least 3 GB. Example (supposing 'sdd' was asigned as the device for the SD card):
  5. [root@elx elastix-image]# fdisk -l /dev/sdd
  6.  
  7. Disk /dev/sdd: 3965 MB, 3965190144 bytes
  8.  
  9. 122 heads, 62 sectors/track, 1023 cylinders, total 7744512 sectors
  10.  
  11. Units = sectors of 1 * 512 = 512 bytes
  12.  
  13. Sector size (logical/physical): 512 bytes / 512 bytes
  14.  
  15. I/O size (minimum/optimal): 512 bytes / 512 bytes
  16.  
  17. Disk identifier: 0xd048a4cb
  18.  
  19. Device Boot Start End Blocks Id System
  20.  
  21. /dev/sdd1 2048 67583 32768 e W95 FAT16 (LBA)
  22.  
  23. /dev/sdd2 67584 7744511 3838464 83 Linux
  24.  
  25. Create the respective file systems on the partitions. For example the first partition is /dev/sdd1 and the second partition /dev/sdd2. The "BOOT" and "rootfs" labels are mandatory since they appear in /etc/fstab of the final image:
  26. mkfs.vfat -n BOOT /dev/sdd1
  27.  
  28. mkfs.ext3 -L rootfs /dev/sdd2
  29.  
  30. Mount both partitions and uncompress the files with the following commands:
  31. tar -C /media/BOOT/ -xzf BOOT.tar.gz
  32.  
  33. tar -C /media/rootfs/ -xzf rootfs.tar.gz
  34.  
  35. Unmount the partitions and place the SD card in your Raspberry Pi:
  36. umount /dev/sdd2
  37.  
  38. umount /dev/sdd1
  39.  
  40. The installation uses DHCP to configure its IP address, there is a console on the serial interface of the device you can use to find out the assigned IP address if needed. The root password is "palosanto" and the initial web interface credentials are: user "admin" and password "palosanto"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement