Install Zend Server CE + Zend Framework in Ubuntu Server
Zend Server is a Web application server that handles PHP applications running on the server, increasing the potential, performance, safety.
Zend Framework is an open source framework created to facilitate the development of web applications. Zend Framework increases productivity by providing a set of libraries and components available to the PHP community.
Install Zend Server CE
You can install Zend Server Community Edition, adding the official repository of Ubuntu ones.
Skip to administrator privileges by typing:
sudo su
as a result of open source software, the file by typing:
nano/etc/apt/sources.list
and at the end of the file add these two lines:
#Repository Zend
deb http://repos.zend.com/zend-server/deb server-freeThe file is saved by clicking Ctrl and X and confirming the save.
To use this repository will need to install public keys with this command:
http://repos.zend.com/zend.key wget -O-|apt-key add -
To end you just have to update the index of available software and install Zend Server CE on the giving end:
aptitude update && aptitude install zend-php-server-5.3-c
In the event of any conflict the installer will offer you a solution and will ask for confirmation to proceed. The rest is fully automatic.
Zend Server Configuration
From any browser login to the server by typing http://10.211.55.11:10081/ZendServer, accepts the terms of use and set a password. This address is that of the control panel of the server and Zend will allow you to monitor and configure it to suit your needs in the future. Unless you have other needs, however, you can safely leave the default settings.
If you plan to use PHP, pear and pecl command line, you must edit the file /etc/profile by following these steps:
type
sudo su && nano /etc/profile
add at end of file these two lines:
PATH=$PATH:'/usr/local/zend/share/ZendFramework/bin' LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'/usr/local/zend/share/ZendFramework/lib'
save the file on the terminal and type:
source/etc/profile
to finish.
It ‘can also install and configure a large number of additional components.
The Framework
The Zend framework, as mentioned before, is a useful tool for web application developers or at least for anyone writing in php.
Zend Framework is included with the Zend Server and therefore you will not need to perform additional installations.
Using this framework could be difficult at the beginning, and you should find a good online manual or refer to the official documentation.
To create a new project you just have to go into public_html
cd /home/USERNAME/public_html
and type:
zf.sh nomedelprogetto created project
