linux zend server setup

來源:互聯網
上載者:User
第一步,搭建環境

1.將zend的 repository 加入到/etc/apt/sources.list中

vi /etc/apt/sources.list

在檔案的末尾加入

deb http://repos.zend.com/deb/pe pe non-free

儲存檔案。

2.運行指令,添加zend 的repository  的public key :

# wget http://repos.zend.com/deb/zend.key -O- |apt-key add -

3.然後同步zend的repository :

# aptitude update

現在就可以通過 aptitude 指令來安裝、升級Zend Server以及一些擴充包等。

第二步,安裝Zend Server

安裝環境搭建成功以後,安裝Zend Server就非常簡單了。

aptitude install zend-pe

會提示你大概要下載多大的檔案(大概60M左右),安裝以後要佔用多少空間(約200M左右)。只要確認,就開始下載安裝了。

安裝結束後,系統提醒你,Zend Server已經啟動了。

 

第三步,啟動Zend Server

在瀏覽器中輸入

http://127.0.0.1:10081/ZendServer

就可以登入管理Zend Server了。

第四步,安裝其他的擴充軟體包。

安裝軟體包很容易,只需要輸入

aptitude install  xxxxx

就可以輕鬆搞定。推薦的軟體包:

  • php5-extra-extensions-zend-pe – 其它的php擴充包
  • php-source-zend-pe – Zend打過補丁的PHP原始碼
  • php-dev-zend-pe – Zend的開發包,包括PHP標頭檔,庫檔案,以及PECL
  • java-bridge-zend-pe – 可以在PHP檔案中直接使用JAVA程式的擴充
  • php-loader-zend-pe – Zend對代碼進行保護程式
  • phpmyadmin-zend-pe – 大名鼎鼎的phpMyadmin,方便管理MySQL的.
  • zend-framework-dojo-pe – Zend Framework 綁定的 Dojo.
  • zend-framework-extras-pe – Zend Framework 中的其他一些組件
第五步,線上升級

線上升級也非常容易

aptitude update
aptitude upgrade

最後,怎麼卸載Zend Server

根據官方資料,卸載Zend Server的方法

1.完全刪除Zend Server,不留下任何檔案

aptitude purge ‘~nzend.*-pe’

2.如果需要繼續保留一些設定檔,則卸載的指令是

aptitude remove ‘~nzend.*-pe’

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.