How to install Zend Optimizer?

robj

Verified User
Joined
Aug 4, 2007
Messages
53
I searched the forum and there is no definitive answer to this.

Can someone create step by step instructions on how to install?

rob
 
Code:
cd /usr/local/directadmin/customapache
./build update
./build zend
 
Are you saying that zend optimizer is already on the server? And that I just need to intall it?

I'm not exactly comfortable with ssh, so any futher information would be helpful.

thanks

rob
 
the customapache forlder ? in cd /usr/local/directadmin/customapache
for what ?!


and another question shall i upload the zend script on my server by the ssh


to the /usr/local/directadmin/whatever

and to do those steps
./build update
./build zend

inside the folder ?????
 
i try it

take a look at the attachment
 

Attachments

  • ssh.png
    ssh.png
    36.9 KB · Views: 1,850
Try:
Code:
cd /usr/local/directadmin/custombuild

Instead of:
Code:
cd /usr/local/directadmin/customapache
 
how can i

"

You can not install Zend Optimizer, because you do not have it set in options.conf file."
 

Attachments

  • shh2.png
    shh2.png
    48.9 KB · Views: 1,007
Last edited:
Edit /usr/local/directadmin/custombuild/options.conf file and change zend=no to zend=yes.
 
Edit /usr/local/directadmin/custombuild/options.conf file and change zend=no to zend=yes.

i use vi options.conf and change it but how can i save it ? so as to exit to the root again and make restart ?
 
ok i use the nano options.conf

and save it ^o

and reboot the server and have the zend now ....

thanks a lot for ur support
 

Attachments

  • ssh6.png
    ssh6.png
    44.3 KB · Views: 1,110
  • ssh5.png
    ssh5.png
    57 KB · Views: 967
  • ssh3.png
    ssh3.png
    38.7 KB · Views: 969
  • ssh7.png
    ssh7.png
    32.2 KB · Views: 1,029
  • ssh9.png
    ssh9.png
    28.4 KB · Views: 847
Last edited:
Be careful following the above advise. Make sure you have a way to gain root access!

Why do you have to be careful? During the install of Direct Admin, the user "Admin" is added to the sshd_config:

AllowUsers admin

Optional you could add your own "normal" user account to sshd_config which is created during the install of Linux.

I still don't understand why PermitRootLogin default is Yes, especially for hosting providers. Direct Admin could change this during their DA install, this might be a good idea to consider.

Regards,
 
We generally change it in our custom installs for clients, unless asked to do otherwise. That said, it's not necessarily a good decision for DirectAdmin, especially since installing DirectAdmin will always change the admin password, even if admin was previously set up on the server, and the only place the new password is shown is on the output in the shell.

Jeff
 
ZendOptimizer is available for download from

http://www.zend.com/free_download/optimizer

You need to find our if your OS is 64 Bit or 32 Bit before installing Zend Optimizer.

This can be find with command uname -a

For 64 Bit
Code:
cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.2.8/ZendOptimizer-3.2.8-linux-glibc23-x86_64.tar.gz
tar -zxvf ZendOptimizer-*.tar.gz
cd ZendOptimizer-*
./install.sh

For 32 Bit
Code:
cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.2.8/ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz
tar -zxvf ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.2.8-linux-glibc21-i386
./install

Verify Zend Installed

Run command 'php -v' on command prompt, you will see some thing like

Code:
# php -v
PHP 5.1.6 (cli) (built: May  9 2007 11:28:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
#

Zend Optimizer is installed, you will see "Zend Optimizer".

On installing Zend Optimizer, it will move php.ini to new location like - /usr/local/Zend/etc/php.ini
 
Back
Top