วิธีการอัพเกรด Elastix 1.3 เป็น Elastix 1.6

Elastix IP Pbx

Moderator: jubjang

วิธีการอัพเกรด Elastix 1.3 เป็น Elastix 1.6

โพสต์โดย nuiz » 04 เม.ย. 2011 13:27

** ทำให้ครบทุกขั้นตอนนะครับ จะได้ไม่มีปัญหา **

บทความต่อไปนี้เป็นการแนะนำวิธีอัพเกรด Elastix 1.3 หรือ 1.5 ให้เป็น 1.6 (สาเหตุที่ไม่อัพเกรดให้เป็น 2.0 เพราะมีความจำเป็นต้องใช้ Asterisk 1.4 อยู่ และต้องเป็น Asterisk เวอร์ชั่นอย่างน้อย 1.4.25 - ถ้าอัพเกรดเป็น Elastix 2.0 มันจะกลายเป็น Asterisk 1.6.2)

1. ใช้คำสั่ง yum
โค้ด: เลือกทั้งหมด
yum -y upgrade


ถ้ามี Error แบบนี้

Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirror.issp.co.th
* updates: mirror.averse.net
* addons: mirror.issp.co.th
* elastix: repo.elastix.org
* extras: mirror.issp.co.th
http://repo.elastix.org/centos/5/update ... repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: elastix. Please verify its path and try again

ให้แก้ไขไฟล์ elastix.repo ในไดเร็คตอรี่ /etc/yum.repos.d ดังนี้

ใส่ # หน้าบรรทัด baseurl แล้วพิมพ์ใหม่ตามตัวอย่าง

โค้ด: เลือกทั้งหมด
[elastix]
name=Elastix RPM Repository for CentOS
#baseurl=http://repo.elastix.org/centos/$releasever/updates/RPMS/
baseurl=http://repo.elastix.org/elastix/1.6/base/$basearch
gpgcheck=0
enabled=1
exclude=elastix-mysqldbdata

[elastix-updates]
name=Elastix-Updates RPM Repository for CentOS
#baseurl=http://repo.elastix.org/centos/$releasever/updates/beta/RPMS/
baseurl=http://repo.elastix.org/elastix/1.6/updates/$basearch
gpgcheck=0
enabled=1
exclude=elastix-mysqldbdata

[elastix-extras]
name=Elastix-Extras RPM Repository for CentOS
#baseurl=http://repo.elastix.org/centos/$releasever/updates/extras/RPMS/
baseurl=http://repo.elastix.org/elastix/1.6/extras/$basearch
gpgcheck=0
enabled=1
exclude=elastix-mysqldbdata


เซฟไฟล์แล้วพิมพ์คำสั่ง yum -y upgrade อีกครั้ง

2. ดาวน์โหลดและติดตั้งไฟล์ใหม่
ระบบจะลิสต์รายชื่อไฟล์ที่จะอัพเกรด และจะดาวน์โหลดและติดตั้งให้อัตโนมัติ รอจนเสร็จ

3. รีสตาร์ทเครื่อง

4. เช็คเวอร์ชั่น Asterisk

Asterisk 1.4.36, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.36 currently running on callcenter (pid = 2393)
Verbosity is at least 3
callcenter*CLI>

5. หน้าเว็บ Elastix
วิธีการอัพเกรด Elastix 1.3 เป็น Elastix 1.6

6. กด Apply Configuration Changes Here
คลิ๊กแท็ป PBX แล้วกด Apply Configuration Changes Here
เป็นขั้นตอนที่สำคัญมากครับ ถ้ายังไม่ทำ Elastix ก็จะยังใช้งานไม่ได้

วิธีการอัพเกรด Elastix 1.3 เป็น Elastix 1.6

ก็จะเห็นได้ว่าผมได้ Asterisk 1.4.36 ซึ่งสูงกว่า 1.4.25 อย่างที่ต้องการแล้วนะครับ
** งานเร่งด่วนติดต่อที่เบอร์ 085-161-9439 อีเมล์ iamaladin@gmail.com ไลน์ไอดี nuizvoip ครับ ผมหนุ่ยครับ**
nuiz
Diamond Member
 
โพสต์: 7327
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

ย้อนกลับไปยัง Elastix - Unified Communications Software

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน

cron