- Jan 09 Wed 2013 00:43
-
子視窗關閉後重整母視窗
- Jul 23 Mon 2012 17:00
-
Setup the Asterisk HTTP server
Setup the Asterisk HTTP server
1) Uncomment the line "enabled=yes" in /etc/asterisk/http.conf to enable Asterisk's builtin micro HTTP server.
2) If you want Asterisk to actually deliver simple HTML pages, CSS, JavaScript, etc. you should uncomment "enablestatic=yes"
3) Adjust your "bindaddr" and "bindport" settings as appropriate for your desired accessibility
- Jul 23 Mon 2012 16:52
-
Elastix用http訪問
記一下XD~
在裝完elastix後,elastix地址,如192.168.1.111 默認的是 https://192.168.1.111 還出现“什麼什麼不安全,是否繼續” ..
怎麼解决呢:
vi /etc/httpd/conf.d/elastix.conf
- Jul 23 Mon 2012 16:30
-
安裝 codec g.729 & g.723
有用到轉一下~
Note: 在 Linux 要檢查 CPU 資訊,可以執行 cat /proc/cpuinfo。
安裝 codec 只需要將模組檔複製到 Asterisk 主機上,目錄為 /usr/lib/asterisk/modules。
#cp codec_g723-ast14-gcc4-glibc-pentium3.so /usr/lib/asterisk/modules
#cp codec_g729-ast14-gcc4-glibc-pentium3.so /usr/lib/asterisk/modules
- Jul 19 Thu 2012 16:27
-
在 Elastix 增加 phpMyAdmin 模組
記錄一下~
從官網下載 phpMyAdmin 套件
http://www.phpmyadmin.net/home_page/index.php
# tar -xzf phpMyAdmin-2.11.8.1-all-languages-utf-8-only.tar.gz -C /var/www/html
# cd /var/www/html
- Jul 17 Tue 2012 11:05
-
CentOS升級php5.1到php5.2
爬了一堆文章~只有這用法有用~@@"~
先添加可用的來源~
# rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# vi /etc/yum.repos.d/utterramblings.repo
[utterramblings]
- Apr 12 Thu 2012 11:36
-
php連接mysql
上網爬一下文找到的~
以下範例示範連接 MySQL 資料庫及從 mytable 資料表取得資料:
<?php
$db_conn = @mysql_connect("localhost", "dbuser", "dbpass") or die ("Could not connect: " . mysql_error());
mysql_select_db("dbname", $db_conn);
- Apr 10 Tue 2012 13:59
-
CentOS update php5.2
最近試了很多方法去升級php但都失敗~
終於讓我找到一個升級成功的Q_Q
# rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# vi /etc/yum.repos.d/utterramblings.repo
[utterramblings]
- Mar 06 Tue 2012 12:46
-
Adding Components to the Visual Studio Toolbox
最近幫同學找一下怎麼加components 到visual studio toolbox
以下為加入方法
To add components to the Visual Studio toolbox
- Open the tab of the toolbox to which you want to add the components.
- Right-click the toolbox and select Choose Items.
- Mar 05 Mon 2012 16:00
-
CentOS update error
CentOS update error
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
- Oct 31 Mon 2011 12:58
-
CentOS安裝Red5
CentOS安裝Red5
一、 RED5
1) Download and Install Java
yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
- Oct 30 Sun 2011 23:57
-
elastix網頁出現PHP 5.2+ is required

今天在elastix安裝好phpmyadmin後出現了PHP 5.2+ is required的訊息...
原來他內建的只有5.1X版~
後來就上網爬了一些文試了一些方法~最對的後來成功的方法是這個~
首先我們要修改一個檔案~
#vi /etc/yum.repos.d/CentOS-Base.repo