{"id":71,"date":"2012-11-29T13:44:40","date_gmt":"2012-11-29T05:44:40","guid":{"rendered":"http:\/\/ukonline2000.com\/?p=71"},"modified":"2012-11-29T13:46:33","modified_gmt":"2012-11-29T05:46:33","slug":"elastix-arm-11%e6%a0%91%e8%8e%93%e6%b4%be%e7%bd%91%e5%85%b3byod%e6%96%b0%e6%a6%82%e5%bf%b5","status":"publish","type":"post","link":"http:\/\/ukonline2000.com\/?p=71","title":{"rendered":"Elastix ARM 11\u6811\u8393\u6d3e+\u7f51\u5173=BYOD\u65b0\u6982\u5ff5"},"content":{"rendered":"<p>Elastix \u7684Uelastix \u662f ARM 11 \u6811\u8393\u6d3e \uff08Raspberry PI\uff09 \u7684\u798f\u97f3\u3002\u5feb\u6765\u56f4\u89c2\u5982\u4f55\u5728ARM 11 \u6811\u8393\u6d3e \uff08Raspberry PI\uff09\u4ef7\u683c\uff1a300 \u5757\u94b1\u4eba\u6c11\u5e01<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/1310363B4-0.jpg\" alt=\"\" width=\"500\" height=\"150\" \/><\/p>\n<p>\u5982\u4f55\u5b89\u88c5Elastix\u3002<\/p>\n<p>\u5b98\u65b9\u7f51\u7ad9\u5b89\u88c5\u6307\u5bfc\uff1ahttp:\/\/uelastix.org\/\uff0c \u4ee5\u4e0b7\u6b65\u544a\u8bc9\u4f60\u5982\u4f55\u5b89\u88c5Uelastix\uff1a<\/p>\n<ol>\n<li>Get an SD memory card of at least 4GB.\u00a0 \/\/ \u9700\u8981\u4e00\u4e2aSD \u5361<\/li>\n<li>\u4eceuelastix\u3002org\u4e0b\u8f7d\u7cfb\u7edf\u6587\u4ef6\u00a0 &#8220;BOOT.tar.gz&#8221; \u548c &#8220;rootfs.tar.gz&#8221;<\/li>\n<li>\u628aSD\u5361\u5206\u62102\u4e2a\u5206\u533a. \u7b2c\u4e00\u4e2a\u5206\u533a\uff0c\u6587\u4ef6\u683c\u5f0f\u5fc5\u987b\u662fFAT type\uff0c\u5927\u5c0f\u662f16 MB. \u5730\u4e8c\u4e2a\u5206\u533a\u4e0aEXT3 type \u5927\u5c0f\u81f3\u5c11\u662f 3 GB. \u4f8b\u5982 (supposing &#8216;sdd&#8217; was asigned as the device for the SD card):<\/li>\n<\/ol>\n<p>[root@elx elastix-image]# fdisk -l \/dev\/sdd<\/p>\n<p>Disk \/dev\/sdd: 3965 MB, 3965190144 bytes\u00a0\u00a0\u00a0\u00a0\u00a0 122 heads, 62 sectors\/track, 1023 cylinders, total 7744512 sectors<br \/>\nUnits = sectors of 1 * 512 = 512 bytes<\/p>\n<p>Sector size (logical\/physical): 512 bytes \/ 512 bytes<\/p>\n<p>I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<\/p>\n<p>Disk identifier: 0xd048a4cbDevice Boot\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Start\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 End\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Blocks\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 System<br \/>\n\/dev\/sdd1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2048\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 67583\u00a0\u00a0\u00a0\u00a0 32768\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 e\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 W95 FAT16 (LBA)<\/p>\n<p>\/dev\/sdd2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 67584\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7744511 3838464\u00a0\u00a0\u00a0 83\u00a0\u00a0\u00a0\u00a0\u00a0 Linux<\/p>\n<p>4) \u521b\u5efa\u6587\u4ef6\u7cfb\u7edf\u7684\u5206\u533a\u8bbe\u7f6e\uff0c\u7b2c\u4e00\u4e2a\u662f \/dev\/sdd1 \uff0c\u7b2c\u4e8c\u4e2a\u662f \/dev\/sdd2.<br \/>\nThe &#8220;BOOT&#8221; and &#8220;rootfs&#8221; labels are mandatory since they appear in \/etc\/fstab of the final image:<\/p>\n<p>mkfs.vfat -n BOOT \/dev\/sdd1<\/p>\n<p>mkfs.ext3 -L rootfs \/dev\/sdd2<\/p>\n<p>5) \u6302\u8f7d\u5206\u533a\uff0c\u51cf\u538b\u6587\u4ef6:tar -C \/media\/BOOT\/ -xzf BOOT.tar.gz<\/p>\n<p>tar -C \/media\/rootfs\/ -xzf rootfs.tar.gz<\/p>\n<p>6) \u5378\u8f7d\u5206\u533a\uff0c\u628aSD \u63d2\u5165 \u6811\u8393\u6d3e Raspberry PI:<br \/>\numount \/dev\/sdd2<\/p>\n<p>umount \/dev\/sdd1<\/p>\n<p>7) \u4f7f\u7528DHCP \u8bbe\u7f6eIP \u5730\u5740, \u901a\u8fc7\u4e32\u53e3\u68c0\u67e5IP\u5730\u5740\u8bbe\u7f6e\u662f\u5426\u6b63\u5e38\u3002\u9ed8\u8ba4\u7684\u5bc6\u7801\u662f &#8220;palosanto&#8221; \uff0c\u754c\u9762\u767b\u5f55\u7528\u6237\u540d\u548c\u5bc6\u7801\u662f&#8221;admin\u201c\uff0c \u201dpalosanto&#8221;\u3002 \u5982\u679c\u53ef\u4ee5\u767b\u5f55\u7cfb\u7edf\u754c\u9762\u7684\u8bdd\uff0c\u8bf4\u660e\u4f60\u6210\u529f\u4e86\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/13103612c-1.jpg\" alt=\"\" width=\"500\" height=\"342\" \/><br \/>\n\u5b9e\u73b0\u4e86elastix+ARM+linux+\u7f51\u5173+SIP \u7684\u771f\u6b63\u7684\u79fb\u52a8\u7ec8\u7aef\u89e3\u51b3\u65b9\u6848 BYOD \u4ece\u8fd9\u91cc\u8d77\u6b65\uff01<\/p>\n<p>\u4e0b\u8f7d\u8f6f\u4ef6\u94fe\u63a5\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/13103C150-3.png\" alt=\"\" \/><\/p>\n<p>\u4ea7\u54c1\u56fe\u7247\uff1a<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/1310361P9-4.jpg\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ctiforum.com\/uploadfile\/2012\/1129\/20121129112444717.bmp\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ctiforum.com\/uploadfile\/2012\/1129\/20121129112500227.bmp\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/1310361416-5.jpg\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.linuxeden.com\/upimg\/allimg\/121129\/1310361F6-6.jpg\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Elastix \u7684Uelastix \u662f ARM 11 \u6811\u8393\u6d3e \uff08Raspberr &hellip; <a href=\"http:\/\/ukonline2000.com\/?p=71\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71"}],"version-history":[{"count":3,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":73,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions\/73"}],"wp:attachment":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}