電訊茶室's Archiver

角色 發表於 2013-4-20 20:09

Micro Elastix 与 Rapsberry Pi的结合

现在的Asterisk和Elastix-GUI, 就变成Elastix了。

[url]http://uelastix.com/[/url]

角色 發表於 2013-4-20 20:44

[b]HOW TO INSTALL ON RASPBERRY PI[/b]

Get an SD memory card of at least 4GB.

Uncompress the Elastix Raspberry Pi tarball file. The files "BOOT.tar.gz" and "rootfs.tar.gz" will be obtained.
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):

[root@elx elastix-image]# fdisk -l /dev/sdd

Disk /dev/sdd: 3965 MB, 3965190144 bytes

122 heads, 62 sectors/track, 1023 cylinders, total 7744512 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0xd048a4cb

Device Boot        Start        End        Blocks        Id        System

/dev/sdd1           2048        67583     32768        e        W95 FAT16 (LBA)

/dev/sdd2          67584       7744511 3838464    83      Linux

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:
mkfs.vfat -n BOOT /dev/sdd1

mkfs.ext3 -L rootfs /dev/sdd2

Mount both partitions and uncompress the files with the following commands:
tar -C /media/BOOT/ -xzf BOOT.tar.gz

tar -C /media/rootfs/ -xzf rootfs.tar.gz

Unmount the partitions and place the SD card in your Raspberry Pi:
umount /dev/sdd2

umount /dev/sdd1

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"

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.