剛剛有需要用到這項用法,所以上網查了一下

只要在子視窗加入(只試用於GET)

<script type="text/javascript">
function unLoad()
{

mokiss 發表在 痞客邦 留言(0) 人氣()

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

mokiss 發表在 痞客邦 留言(0) 人氣()

記一下XD~

在裝完elastix後,elastix地址,如192.168.1.111  默認的是 https://192.168.1.111  還出现“什麼什麼不安全,是否繼續” ..
怎麼解决呢:
vi /etc/httpd/conf.d/elastix.conf

mokiss 發表在 痞客邦 留言(0) 人氣()

有用到轉一下~

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

mokiss 發表在 痞客邦 留言(0) 人氣()

記錄一下~

從官網下載 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

mokiss 發表在 痞客邦 留言(0) 人氣()

爬了一堆文章~只有這用法有用~@@"~

先添加可用的來源~

# rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

# vi /etc/yum.repos.d/utterramblings.repo

 [utterramblings]

mokiss 發表在 痞客邦 留言(0) 人氣()

上網爬一下文找到的~

以下範例示範連接 MySQL 資料庫及從 mytable 資料表取得資料:

<?php
$db_conn = @mysql_connect("localhost", "dbuser", "dbpass") or die ("Could not connect: " . mysql_error());
mysql_select_db("dbname", $db_conn);

mokiss 發表在 痞客邦 留言(0) 人氣()

最近試了很多方法去升級php但都失敗~

終於讓我找到一個升級成功的Q_Q

# rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

# vi /etc/yum.repos.d/utterramblings.repo

[utterramblings]

mokiss 發表在 痞客邦 留言(0) 人氣()

最近幫同學找一下怎麼加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.

mokiss 發表在 痞客邦 留言(0) 人氣()

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')>

mokiss 發表在 痞客邦 留言(0) 人氣()

CentOS安裝Red5

一、 RED5

 1) Download and Install Java

yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel

mokiss 發表在 痞客邦 留言(0) 人氣()


今天在elastix安裝好phpmyadmin後出現了PHP 5.2+ is required的訊息...

原來他內建的只有5.1X版~

後來就上網爬了一些文試了一些方法~最對的後來成功的方法是這個~

首先我們要修改一個檔案~

#vi /etc/yum.repos.d/CentOS-Base.repo

mokiss 發表在 痞客邦 留言(0) 人氣()

1 2 3 4
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。