2011년 8월 15일 월요일
Installing Zend Server Community Edition
Home > Zend Server Installation Guide > RPM (RHEL, CentOS, Fedora and OEL) Installation
RPM Installation (RHEL, CentOS, Fedora and OEL)
In this Topic Hide
This method uses "yum" to handle all installations, upgrades and additional packages. Alternatively, you may choose any other tool that supports the RPM packaging format (e.g. Kpackage, etc).
This method downloads files from the Internet and therefore requires that you have an active Internet connection, access to your distribution's repositories and root privileges for the server.
PHP Note:
The Zend Server installation package will replace your distribution's PHP - this may create conflicts between RPM packages. If you cannot install one of Zend Server's components, it is recommended that you remove your distribution's PHP packages and try to install again.
SELinux Note:
SELinux users must change their system settings to permissive mode before starting the Zend Server Community Edition installation procedure, by executing the following command:
# setenforce permissive
# setenforce permissive
Automatically Installing Zend Server Community Edition
The following procedure describes how to run a script that will automatically create your DEB or RPM repositories and install Zend Server.
| |
After installing, a completion notification will appear, with a notice that the servers have started. To access the Administration Interface (Web) open your browser at: https://localhost:10082/ZendServer (secure) or http://localhost:10081/ZendServer. Upon initial log in, you will be prompted to define your password. |
Manually Installing Zend Server Community Edition
To install Zend Server Community Edition, first setup the repository for downloading the Zend Server Community Edition package.To setup the environment: Set up your Zend Server Community Edition repository by creating:/etc/yum.repos.d/zend.repo and adding the following content: [Zend] name=Zend Server baseurl=http://repos.zend.com/zend-server/rpm/$basearch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key [Zend_noarch] name=Zend Server - noarch baseurl=http://repos.zend.com/zend-server/rpm/noarch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key | |
Now you can use 'yum' to handle installations or any other tool that supports the RPM packaging format. |
To install:
1.Once the environment is setup, run the appropriate command according to the product version and PHP support you require: To install Zend Server Community Edition with PHP 5.2 run: # yum install zend-server-ce-php-5.2 To install Zend Server Community Edition with PHP 5.3 run:# yum install zend-server-ce-php-5.3 2. To clean your packages cache and ensure retrieval of updates from the web, run:yum clean all | |
After installing, a completion notification will appear, with a notice that the servers have started. To access the Administration Interface (Web) open your browser at: https://localhost:10082/ZendServer (secure) or http://localhost:10081/ZendServer. Upon initial log in, you will be prompted to define your password. |
Additional Packages
There are additional packages that can be added after installing Zend Server Community Edition, using, 'yum install'.Important Note:
After installing a component on top of an existing Zend Server installation, you must click
for the changes to take effect.
Description | PHP 5.2 | PHP 5.3 |
Additional PHP extensions | php-5.2-extra-extensions-zend-server | php-5.3-extra-extensions-zend-server |
Java bridge package (Requires Sun JRE 1.5, 1.6 or later installed on your computer. Therefore, if you do not already have JRE installed please install it before using the Java Bridge. More information about JRE’s and the latest updates are found in the SUN Website: http://java.sun.com/javase/downloads/index.jsp (jre-6u21-linux-x64-rpm.bin) | php-5.2-java-bridge-zend-server | php-5.3-java-bridge-zend-server |
The Zend Guard Loader for running PHP, encoded with Zend Guard. | php-5.2-loader-zend-server | php-5.3-loader-zend-server |
A phpMyadmin meta package that installs phpMyAdmin and attaches it to the Administration Interface via a link from the Dashboard. | phpmyadmin-zend-server-php-5.2 | phpmyadmin-zend-server-php-5.3 |
Zend Framework's bundled Dojo. | zend-server-framework-dojo | zend-server-framework-dojo |
Zend Framework's extra components. | zend-server-framework-extras | zend-server-framework-extras |
Full PHP sources, patched by Zend | php-5.2-source-zend-server | php-5.3-source-zend-server |
Zend Server Control Panel | control-panel-zend-server | control-panel-zend-server |
The following extensions require the IBM DB2 runtime client (RTCL): | ||
PHP extension that enables access to the IBM DB2 Universal Database, IBM Cloudscape and Apache Derby databases. | php-5.2-ibmdb2-zend-server | php-5.3-ibmdb2-zend-server |
PHP pdo_ibm extension. | php-5.2-pdo-ibm-zend-server | php-5.3-pdo-ibm-zend-server |
Informix client | php-5.2-pdo-informix-zend-server | php-5.3-pdo-informix-zend-server |
CentOS and RHEL4 and 5 Note:
The phpmyadmin-zend-ce package depends on the availability of phpMyAdmin from your distribution's repositories. The default CentOS repositories for example do not offer phpMyAdmin and therefore require that you manually add the rpmforge repositories to your yum repositories list. For information on how to do this for CentOS see: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
Post Installation Configuration
If you intend to use PHP and other tools provided by Zend Server Community Edition (pear and pecl) from the command line (PHP CLI), it is recommended that you add the <install_path>/bin directory to your $PATH environment variable.
This can be done in two ways:
This can be done in two ways:
- Per user profile
- For all users
To add the <install_path>/bin directory to your $PATH environment variable per user profile:
PATH=$PATH:<install_path>/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib Replace <install_path> with your Zend Server Community Edition installation path.
source ~/.bashrc | |
You can now run the PHP binary provided by Zend Server Community Edition without typing its full path. |
To add the <install_path>/bin directory to your $PATH environment variable for all users:
PATH=$PATH:<install_path>/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib Replace <install_path> with your Zend Server Community Edition installation path.
source /etc/profile | |
You can now run the PHP binary provided by Zend Server Community Edition without typing its full path. |
Enabling RPM Package Signature Validation
Zend Server's RPM packages are signed using PGP. This can be used to validate package integrity and authenticity during installation. This is an optional step which is recommended for organizations with strict security policies.To enable RPM package signature validation:
| |
Before installing the first packages, yum will prompt you to approve importing the Zend PGP key from the URL above. After following this procedure, whenever upgrading and installing Zend Packages yum will verify the packages before installing them. |
Upgrading Zend Server Community Edition
The following procedure describes how to upgrade Zend Server Community Edition using 'yum'.For more information on upgrading your Zend Server Community Edition, including additional upgrade scenarios, see Upgrading.
RPM Upgrade Note:
After upgrading, you will need to manually start your server by running the command: <install_path>/bin/zendctl.sh start.
To upgrade, run: To upgrade all Zend related packages run the following command according to the package you have installed:# yum update \*zend\* To update any and all files in your system that are managed by 'yum' (not just Zend products) run:# yum update To update a specific component (in this example it is php-mycrypt) run the following command according to the package you have installed:To upgrade Zend Server Community Edition with PHP 5.2 run: # yum update php-mcrypt-zend-server-ce-php-5.2 To upgrade Zend Server Community Edition with PHP 5.3 run:# yum update php-mcrypt-zend-server-ce-php-5.3 | |
The upgrade process locates any components of the product version that are newer and downloads them. |
Uninstalling Zend Server Community Edition
The following procedure describes how to uninstall Zend Server Community Edition:To uninstall run: zendctl.sh stop And then run the following command according to the package you have installed:To uninstall Zend Server Community Edition with PHP 5.2 run: # yum -y remove zend-server-ce-php-5.2 && yum -y remove `rpm -qa|grep zend|xargs` To uninstall Zend Server Community Edition with PHP 5.3 run:# yum -y remove zend-server-ce-php-5.3 && yum -y remove `rpm -qa|grep zend|xargs` | |
This will stop the Zend Server Community Edition daemons and remove the program, including any additional packages that were installed. When uninstalling, the configuration files are not removed. They remain in the same location with an additional suffix: .rpmsave so that they can be reused in a newer installation. For example: a file called example.ini is renamed to example.ini.rpmsave, after you run the uninstall. |
Related Links: Choosing Which Distribution to Install Package Setup and Control ScriptsUsing PECL http://java.sun.com - External Link http://wiki.centos.org/AdditionalResources/Repositories/RPMForge - External Link | |||
Disabled selinux!! |
© 1999-2011 Zend Technologies, Ltd. All rights reserved.
2011년 8월 12일 금요일
Today's Maxim
Have to have lots of curiosity from everything always.
Have to study for 10 years for my future.
Have to work with much more enthusiasm.
Have to keep trying what you want to do and to be happy.
Do not be greedy and lazy.
Young is the greatest wealth.
Today is the first day of rest of my life.
Have to study for 10 years for my future.
Have to work with much more enthusiasm.
Have to keep trying what you want to do and to be happy.
Do not be greedy and lazy.
Young is the greatest wealth.
Today is the first day of rest of my life.
2011년 8월 8일 월요일
LeX Notification Fiter
Location: TeX Notation settings link in Administration > Filters > Manage filters
Install TeX Live : $ sudo apt-get install textlive
Install TeX Live : $ sudo apt-get install textlive
2011년 8월 4일 목요일
Moodle DB Activity에서 Search로 발생되는 오류 수정
Template에 편법을 이용하여 Old Question Bank를 만들었다.
허나, Search를 할 경우, 검색어 부분이 <span class="highlight"> 검색어 </span>으로 자동 변경되는 바람에 파일명을 참조하여 하이퍼링크로 연결해 놓은 Old Question들이 연결이 되지 않는 오류가 발생되게 된 것이다.
이를 해결한 것이,
/var/www/moodle/mod/data/lib.php 파일의 1262번째 라인 수정이다.
1262 : $replacement[] = highlight($search, $field->display_browse_field($record->id, $template));
$replacement[] = $field->display_browse_field($record->id, $template);
위와 같이 수정하였다.
highlight라는 함수에 '검색어'와 '검색어 포함 문자열'을 넘겨주면 검색어만 span으로 둘러싼 문자열을 새롭개 반환해주는 함수인데, 이를 없애버렸다. ㅎㅎㅎ
이거 찾는데, 몇 시간을 허비했는지 모룬다.. ㅠㅠ;;
허나, Search를 할 경우, 검색어 부분이 <span class="highlight"> 검색어 </span>으로 자동 변경되는 바람에 파일명을 참조하여 하이퍼링크로 연결해 놓은 Old Question들이 연결이 되지 않는 오류가 발생되게 된 것이다.
이를 해결한 것이,
/var/www/moodle/mod/data/lib.php 파일의 1262번째 라인 수정이다.
1262 : $replacement[] = highlight($search, $field->display_browse_field($record->id, $template));
$replacement[] = $field->display_browse_field($record->id, $template);
위와 같이 수정하였다.
highlight라는 함수에 '검색어'와 '검색어 포함 문자열'을 넘겨주면 검색어만 span으로 둘러싼 문자열을 새롭개 반환해주는 함수인데, 이를 없애버렸다. ㅎㅎㅎ
이거 찾는데, 몇 시간을 허비했는지 모룬다.. ㅠㅠ;;
피드 구독하기:
글 (Atom)