• Zur Hauptnavigation springen
  • Skip to main content
  • Zur Fußzeile springen

Sebastian Mogilowski's Blog

Just another blog about administration, linux and other stuff

  • Home
  • Contact
  • Imprint
  • Projects & HOWTOs
  • Publications

Zend Server Community Edition on Ubuntu Server

17. Dezember 2009 by sebastian 4 Kommentare

The best way to install Zend Server is to follow the instructions on http://files.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm.

Here the short version:

1. Installation:

1.1 Define a repository by opening the following file: „/etc/apt/sources.list“ and adding the line:

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

1.2 Add Zend’s repository public key by running:

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

If you are using sudo to run each command the next command requires using sudo following the ‚|‘ (pipe) symbol as follows:

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

1.3 To synchronize with Zend’s repository run:

aptitude update

1.4 Install Zend Server Community Edition with PHP 5.3:

aptitude install zend-server-ce-php-5.3

[nggallery id=21]

2. Use it:

https://SERVER:10082/ZendServer

First choose a password and continue.

Now you can upload your php files to your document root „/var/www“ and access them via „http://SERVER“ like an normal Apache2 + PHP setup.

3. Misc:

3.1 Editions
If you want to know something about the differences of the „Community Edition“, take a look at this page: http://www.zend.com/en/products/server/editions

3.2 Adding phpmyadmin to the Zend Server environment

aptitude install phpmyadmin-zend-server

If you get the following message:
„For security reasons, the link to the phpMyAdmin interface from Zend Server is locked for remote access and is only accessible from localhost.“

Do this modification:

sudo vim /usr/local/zend/gui/lighttpd/etc/lighttpd.conf
...
$HTTP["remoteip"] !~ "127.0.0.1" {
$HTTP["url"] =~ "^/phpmyadmin/" {
url.access-deny = ( "*" )
server.errorfile-prefix = "//usr/local/zend/gui/lighttpd/share/lighttpd-custom-errors/errorcode-"
}
}
...
sudo /usr/local/zend/bin/zendctl.sh restart

3.3 Other Tutorials

http://www.zend.com/products/server/getting-started

3.4 Additional PHP extensions

sudo aptitude install php-5.3-extra-extensions-zend-server

This is Meta-Paket installs:

freetds-common{a} libltdl7{a} libsybdb5{a} odbcinst1debian1{a} php-5.3-extra-extensions-zend-server php-5.3-gmp-zend-server{a} php-5.3-imagick-zend-server{a} php-5.3-memcache-zend-server{a}
php-5.3-mssql-zend-server{a} php-5.3-odbc-zend-server{a} php-5.3-pcntl-zend-server{a} php-5.3-pdo-dblib-zend-server{a} php-5.3-pdo-odbc-zend-server{a} php-5.3-shmop-zend-server{a}
php-5.3-sysvmsg-zend-server{a} php-5.3-sysvsem-zend-server{a} php-5.3-sysvshm-zend-server{a} php-5.3-unix-extensions-zend-server{a} php-5.3-wddx-zend-server{a} php-5.3-xmlrpc-zend-server{a}
unixodbc{a}

3.5 Install Java-Bridge

sudo aptitude install java-bridge-zend-server

More informations: http://files.zend.com/help/Zend-Server/java_bridge_use_cases.htm

3.6 Online Documentation

http://files.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm

Kategorie: Development, Linux, PHP Stichworte: Linux, PHP, Zend

Leser-Interaktionen

Kommentare

  1. John Ortiz meint

    9. Oktober 2010 um 19:26

    Hi! I have fallowed above steps, but the problem persists, it’s this: http://paste.ubuntu.com/508136/ in Zend Server?

    What’s wrong?

    Antworten
  2. Offirmo meint

    22. Dezember 2010 um 16:15

    You solved my problem, thank you a lot !

    Antworten
  3. Alex meint

    23. Februar 2011 um 00:45

    I was struggling with the security error covered in 3.2 and your fix worked, you’re a rock star.

    Antworten
  4. Ajith meint

    9. Dezember 2011 um 05:16

    Wow..thank you a lot!!!!!!!

    Antworten

Schreibe einen Kommentar Antworten abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

Footer

Kategorien

  • Allgemein
  • Coldfusion
  • Development
  • Fun
  • General
  • Home automation
  • Homematic
  • Linux
  • Mobile
  • PHP
  • Privat
  • Systemadministration
  • Virtualization
  • Windows
  • Zaurus

© 2021 · Sebastian Mogilowski's Blog · Powered by Imagely