Jump to content

[Tutorial] Instalação ISPmanager + Mysql-5.1.38 + PHP 5.2.9 no Centos5.3


Anderson Brito

Recommended Posts

Baixe o instalador do ISPmanger


# wget http://download.ispsystem.com/install.sh
[/HTML]

[/indent]

Instale o através do comando:

[indent]
[HTML]
# sh instal.sh
[/HTML]

[/indent]

Remova o mysql atual:

[indent]
[HTML]
#yum remove mysql-server mysql mysql-devel
[/HTML]

[/indent]

Instale as Dependências:

[indent]
[HTML]
# yum install ncurses libgcc zlib
[/HTML]

[/indent]

Baixe os arquivos de intalação do Mysql-5.1.38:
[HTML]
# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-servercommunity-

5.1.38-0.rhel5.i386.rpm/from/http://mirror.csclub.uwaterloo.ca/mysql/

# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-clientcommunity-

5.1.38-0.rhel5.i386.rpm/from/http://mirror.csclub.uwaterloo.ca/mysql/

# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-develcommunity-

5.1.38-0.rhel5.i386.rpm/from/http://mirror.csclub.uwaterloo.ca/mysql/

# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-sharedcommunity-

5.1.38-0.rhel5.i386.rpm/from/http://mirror.csclub.uwaterloo.ca/mysql/

# rpm -i MySQL-shared-community-5.1.38-0.rhel5.i386.rpm

Instalando o mysql-5.1.38:

# rpm -i MySQL-devel-community-5.1.38-0.rhel5.i386.rpm

# rpm -i MySQL-server-community-5.1.38-0.rhel5.i386.rpm

# rpm -i MySQL-client-community-5.1.38-0.rhel5.i386.rpm
[/HTML]

Restarte o Mysql:

[indent]
[HTML]
# /etc/init.d/mysql restart
[/HTML]

[/indent]

Verifique a versão:
[HTML]
# mysql -V

mysql Ver 14.14 Distrib 5.1.38, for pc-linux-gnu (i686) using readline 5.1
[/HTML]

Ok, Novo mysql instalado com sucesso, agora vamos intalar o php. Acesse o arquivo de repositórios:

[indent]
[HTML]
# vi /etc/yum.repos.d/CentOS-Base.repo
[/HTML]

[/indent]

Insira as linhas abaixo no final do arquivo:

[c5-testing]

name=CentOS-5 Testing

baseurl=

enabled=1

gpgcheck=1

gpgkey=

Instale o php:

# yum install php

Verifique a versão instalada:

# php -v

PHP Warning: PHP Startup: mcrypt: Unable to initialize module

Module compiled with module API=20050922, debug=0, thread-safety=0

PHP compiled with module API=20060613, debug=0, thread-safety=0

These options need to match

in Unknown on line 0

PHP 5.2.9 (cli) (built: Jul 8 2009 05:59:13)

Copyright © 1997-2009 The PHP Group

Zend Engine v2.2.0, Copyright © 1998-2009 Zend Technologies

Pronto php instalado com sucesso, agora e só acessar o ipsmanager pelo browser
icon_smile.gif

Fonte: Siert
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?