Post on 27-Nov-2014
transcript
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 1
Installing lamp on a centos jeos
1111 INSTALLATION DE PERLINSTALLATION DE PERLINSTALLATION DE PERLINSTALLATION DE PERL
[root@webintra ~]# yum install perl
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl.i386 4:5.8.8-32.el5_5.2 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================== =================================================== =================================================== ====
Package Arch Version Repository S ize
=================================================== =================================================== =================================================== ====
Installing:
perl i386 4:5.8.8-32.el5_5.2 updates 1 2 M
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 2
Transaction Summary
=================================================== =================================================== =================================================== ====
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
perl-5.8.8-32.el5_5.2.i386.rpm | 12 MB 04:31
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl 1/1
Installed:
perl.i386 4:5.8.8-32.el5_5.2
Complete!
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 3
2222 Installation de webminInstallation de webminInstallation de webminInstallation de webmin
[root@webintra ~]# rpm -ivh webmin-1.520-1.noarch.r pm
warning: webmin-1.520-1.noarch.rpm: Header V3 DSA s ignature: NOKEY, key ID 11f63c51
Preparing... ####################### #################### [100%]
Operating system is Generic Linux
1:webmin ####################### #################### [100%]
Webmin install complete. You can now login to http: //webintra:10000/
as root with your root password.
3333 INSTALL DE HTTPDINSTALL DE HTTPDINSTALL DE HTTPDINSTALL DE HTTPD
[root@webintra media]# yum --enablerepo=c5-media in stall httpd httpd-devel
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.3-43.el5.centos.3 set to be updated
--> Processing Dependency: /etc/mime.types for pack age: httpd
--> Processing Dependency: libapr-1.so.0 for packag e: httpd
……………………….
--> Running transaction check
---> Package kernel-headers.i386 0:2.6.18-194.17.4. el5 set to be updated
--> Finished Dependency Resolution
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 4
Dependencies Resolved
=================================================== =================================================== =================================================== ====
Package Arch Version Repository S ize
=================================================== =================================================== =================================================== ====
Installing:
httpd i386 2.2.3-43.el5.centos.3 updates 1. 2 M
httpd-devel i386 2.2.3-43.el5.centos.3 updates 14 9 k
Installing for dependencies:
apr i386 1.2.7-11.el5_5.3 updates 12 3 k
apr-devel i386 1.2.7-11.el5_5.3 updates 23 2 k
apr-util i386 1.2.7-11.el5_5.1 updates 8 0 k
apr-util-devel i386 1.2.7-11.el5_5.1 updates 5 3 k
cpp i386 4.1.2-48.el5 base 2. 6 M
cyrus-sasl-devel i386 2.1.22-5.el5_4.3 base 1. 4 M
db4-devel i386 4.3.29-10.el5_5.2 updates 1. 9 M
expat-devel i386 1.95.8-8.3.el5_5.3 updates 13 2 k
gcc i386 4.1.2-48.el5 base 5. 2 M
glibc-devel i386 2.5-49.el5_5.7 updates 2. 0 M
glibc-headers i386 2.5-49.el5_5.7 updates 60 2 k
kernel-headers i386 2.6.18-194.17.4.el5 updates 1. 0 M
libgomp i386 4.4.0-6.el5 base 7 0 k
mailcap noarch 2.1.23-1.fc6 base 1 4 k
openldap-devel i386 2.3.43-12.el5_5.2 updates 1. 5 M
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 5
pkgconfig i386 1:0.21-2.el5 base 5 9 k
postgresql-libs i386 8.1.22-1.el5_5.1 updates 19 6 k
Transaction Summary
=================================================== =================================================== =================================================== ====
Install 19 Package(s)
Upgrade 0 Package(s)
Total size: 19 M
Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): cyrus-sasl-devel-2.1.22-5.el5_4.3.i386.rpm | 1.4 MB 00:34
(2/6): openldap-devel-2.3.43-12.el5_5.2.i386.rpm | 1.5 MB 01:20
(3/6): db4-devel-4.3.29-10.el5_5.2.i386.rpm | 1.9 MB 01:40
(4/6): glibc-devel-2.5-49.el5_5.7.i386.rpm | 2.0 MB 02:14
(5/6): cpp-4.1.2-48.el5.i386.rpm | 2.6 MB 02:25
(6/6): gcc-4.1.2-48.el5.i386.rpm | 5.2 MB 09:56
--------------------------------------------------- --------------------------------------------------- --------------------------------------------------- ----
Total 11 kB/s | 15 MB 22:52
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 6
Installing : apr 1 /19
Installing : pkgconfig 2 /19
Installing : db4-devel 3 /19
Installing : expat-devel 4 /19
Installing : mailcap 5 /19
Installing : kernel-headers 6 /19
Installing : cyrus-sasl-devel 7 /19
Installing : cpp 8 /19
Installing : postgresql-libs 9 /19
Installing : apr-util 10 /19
Installing : httpd 11 /19
Installing : libgomp 12 /19
Installing : openldap-devel 13 /19
Installing : glibc-headers 14 /19
Installing : glibc-devel 15 /19
Installing : gcc 16 /19
Installing : apr-devel 17 /19
Installing : apr-util-devel 18 /19
Installing : httpd-devel 19 /19
Installed:
httpd.i386 0:2.2.3-43.el5.centos.3 httpd-devel.i386 0:2.2.3- 43.el5.centos.3
Dependency Installed:
apr.i386 0:1.2.7-11.el5_5.3 apr-devel.i386 0:1.2.7-11.el5_5.3 apr-util.i386 0:1.2.7-11.el5_5.1
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 7
apr-util-devel.i386 0:1.2.7-11.el5_5.1 cpp.i386 0:4.1.2-48.el5 cyrus-sasl-devel.i386 0:2.1.22-5.el5_4.3
db4-devel.i386 0:4.3.29-10.el5_5.2 expat-devel.i386 0:1.95.8-8.3.el5_5.3 gcc.i386 0:4.1.2-48.el5
glibc-devel.i386 0:2.5-49.el5_5.7 glibc-headers.i386 0:2.5-49.el5_5.7 kernel-headers.i386 0:2.6.18-194.17.4.el5
libgomp.i386 0:4.4.0-6.el5 mailcap.noarch 0:2.1.23-1.fc6 openldap-devel.i386 0:2.3.43-12.el5_5.2
pkgconfig.i386 1:0.21-2.el5 postgresql-libs.i386 0:8.1.22-1.el5_5.1
Complete!
4444 INSTALL DE MYSQLINSTALL DE MYSQLINSTALL DE MYSQLINSTALL DE MYSQL
[root@webintra media]# yum --enablerepo=c5-media in stall mysql mysql-server mysql-devel
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 792 kB 01:15
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_5.4 set to b e updated
--> Processing Dependency: perl(DBI) for package: m ysql
………………………………………
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 8
--> Running transaction check
---> Package libsepol-devel.i386 0:1.15.2-3.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================== =================================================== =================================================== ====
Package Arch Version Repository S ize
=================================================== =================================================== =================================================== ====
Installing:
mysql i386 5.0.77-4.el5_5.4 updates 4. 8 M
mysql-devel i386 5.0.77-4.el5_5.4 updates 2. 4 M
mysql-server i386 5.0.77-4.el5_5.4 updates 9. 8 M
Installing for dependencies:
e2fsprogs-devel i386 1.39-23.el5 base 56 8 k
keyutils-libs-devel i386 1.2-1.el5 base 2 7 k
krb5-devel i386 1.6.1-36.el5_5.5 updates 1. 8 M
libselinux-devel i386 1.33.4-5.5.el5 base 14 3 k
libsepol-devel i386 1.15.2-3.el5 base 18 7 k
openssl-devel i386 0.9.8e-12.el5_4.6 base 1. 9 M
perl-DBD-MySQL i386 3.0007-2.el5 base 14 8 k
perl-DBI i386 1.52-2.el5 base 60 0 k
zlib-devel i386 1.2.3-3 base 10 1 k
Transaction Summary
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 9
=================================================== =================================================== =================================================== ====
Install 12 Package(s)
Upgrade 0 Package(s)
Total download size: 22 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): keyutils-libs-devel-1.2-1.el5.i386.rpm | 27 kB 00:01
(2/12): zlib-devel-1.2.3-3.i386.rpm | 101 kB 00:05
(3/12): libselinux-devel-1.33.4-5.5.el5.i386.rpm | 143 kB 00:06
(4/12): perl-DBD-MySQL-3.0007-2.el5.i386.rpm | 148 kB 00:05
(5/12): libsepol-devel-1.15.2-3.el5.i386.rpm | 187 kB 00:08
(6/12): e2fsprogs-devel-1.39-23.el5.i386.rpm | 568 kB 00:19
(7/12): perl-DBI-1.52-2.el5.i386.rpm | 600 kB 00:22
(8/12): krb5-devel-1.6.1-36.el5_5.5.i386.rpm | 1.8 MB 01:14
(9/12): openssl-devel-0.9.8e-12.el5_4.6.i386.rpm | 1.9 MB 00:38
(10/12): mysql-devel-5.0.77-4.el5_5.4.i386.rpm | 2.4 MB 00:47
(11/12): mysql-5.0.77-4.el5_5.4.i386.rpm | 4.8 MB 01:47
(12/12): mysql-server-5.0.77-4.el5_5.4.i386.rpm | 9.8 MB 04:04
--------------------------------------------------- --------------------------------------------------- --------------------------------------------------- ----
Total 29 kB/s | 22 MB 13:14
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 10
Running Transaction
Installing : keyutils-libs-devel 1 /12
Installing : zlib-devel 2 /12
Installing : e2fsprogs-devel 3 /12
Installing : libsepol-devel 4 /12
Installing : perl-DBI 5 /12
Installing : libselinux-devel 6 /12
Installing : mysql 7 /12
Installing : perl-DBD-MySQL 8 /12
Installing : krb5-devel 9 /12
Installing : mysql-server 10 /12
Installing : openssl-devel 11 /12
Installing : mysql-devel 12 /12
Installed:
mysql.i386 0:5.0.77-4.el5_5.4 my sql-devel.i386 0:5.0.77-4.el5_5.4 mysql-server.i386 0:5.0.77-4.el5_5.4
Dependency Installed:
e2fsprogs-devel.i386 0:1.39-23.el5 keyutils-lib s-devel.i386 0:1.2-1.el5 krb5-devel.i386 0:1.6. 1-36.el5_5.5 libselinux-devel.i386 0:1.33.4-5.5.e l5
libsepol-devel.i386 0:1.15.2-3.el5 openssl-deve l.i386 0:0.9.8e-12.el5_4.6 perl-DBD-MySQL.i386 0: 3.0007-2.el5 perl-DBI.i386 0:1.52-2.el5
zlib-devel.i386 0:1.2.3-3
Complete!
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 11
5555 DEMARRAGE DE MYSQLDEMARRAGE DE MYSQLDEMARRAGE DE MYSQLDEMARRAGE DE MYSQL
[root@webintra media]# chkconfig --levels 235 mysql d on
[root@webintra media]# service mysqld start
Initializing MySQL database: Installing MySQL syst em tables...
101110 2:01:31 [Warning] option 'max_join_size': u nsigned value 18446744073709551615 adjusted to 4294 967295
101110 2:01:31 [Warning] option 'max_join_size': u nsigned value 18446744073709551615 adjusted to 4294 967295
OK
Filling help tables...
101110 2:01:31 [Warning] option 'max_join_size': u nsigned value 18446744073709551615 adjusted to 4294 967295
101110 2:01:31 [Warning] option 'max_join_size': u nsigned value 18446744073709551615 adjusted to 4294 967295
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for y our system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the followin g commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h webintra password 'n ew-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 12
which will also give you the option of removing the test
databases and anonymous user created by default. T his is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.p l
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlb ug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http:// shop.mysql.com
[ OK ]
Starting MySQL: [ OK ]
[root@webintra media]#
6666 Première config de MySQLPremière config de MySQLPremière config de MySQLPremière config de MySQL
[root@webintra ~]# /usr/bin/mysql_secure_installati on
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 13
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMEND ED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just install ed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can l og into the MySQL
root user without the proper authorisation.
Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MySQL installation has an anonymous u ser, allowing anyone
to log into MySQL without having to have a user acc ount created for
them. This is intended only for testing, and to ma ke the installation
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 14
go a bit smoother. You should remove them before m oving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect fr om 'localhost'. This
ensures that someone cannot guess at the root passw ord from the network.
Disallow root login remotely? [Y/n] n
... skipping.
By default, MySQL comes with a database named 'test ' that anyone can
access. This is also intended only for testing, an d should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 15
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above ste ps, your MySQL
installation should now be secure.
Thanks for using MySQL!
7777 INSTALL DE PHP ET DE SES PLUGINSINSTALL DE PHP ET DE SES PLUGINSINSTALL DE PHP ET DE SES PLUGINSINSTALL DE PHP ET DE SES PLUGINS
[root@webintra ~]# yum install php php-mysql php-co mmon php-gd php-mbstring php-mcrypt php-devel php-x ml
addons | 951 B 00:00
base | 2.1 kB 00:00
Trying other mirror.
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 16
---> Package php.i386 0:5.1.6-27.el5 set to be upda ted
…………
--> Finished Dependency Resolution
Dependencies Resolved
=================================================== =================================================== =================================================== ====
Package Arch Version Repository S ize
=================================================== =================================================== =================================================== ====
Installing:
php i386 5.1.6-27.el5 base 2. 3 M
php-common i386 5.1.6-27.el5 base 15 2 k
php-devel i386 5.1.6-27.el5 base 50 3 k
php-gd i386 5.1.6-27.el5 base 11 7 k
php-mbstring i386 5.1.6-27.el5 base 99 5 k
php-mcrypt i386 5.1.6-15.el5.centos.1 extras 1 6 k
php-mysql i386 5.1.6-27.el5 base 8 6 k
php-xml i386 5.1.6-27.el5 base 9 6 k
Installing for dependencies:
aspell i386 12:0.60.3-7.1 base 93 6 k
aspell-en i386 50:6.0-2.1 base 1. 6 M
autoconf noarch 2.59-12 base 64 7 k
automake noarch 1.9.6-2.3.el5 base 47 6 k
gmp i386 4.1.4-10.el5 base 66 4 k
imake i386 1.0.2-3 base 31 9 k
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 17
libmcrypt i386 2.5.8-4.el5.centos extras 11 6 k
libxslt i386 1.1.17-2.el5_2.2 base 48 5 k
m4 i386 1.4.5-3.el5.1 base 13 3 k
php-cli i386 5.1.6-27.el5 base 2. 1 M
php-pdo i386 5.1.6-27.el5 base 6 5 k
Transaction Summary
=================================================== =================================================== =================================================== ====
Install 19 Package(s)
Upgrade 0 Package(s)
Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/19): php-mcrypt-5.1.6-15.el5.centos.1.i386.rpm | 16 kB 00:00
(2/19): php-pdo-5.1.6-27.el5.i386.rpm | 65 kB 00:02
(3/19): php-mysql-5.1.6-27.el5.i386.rpm | 86 kB 00:02
(4/19): php-xml-5.1.6-27.el5.i386.rpm | 96 kB 00:03
(5/19): libmcrypt-2.5.8-4.el5.centos.i386.rpm | 116 kB 00:05
(6/19): php-gd-5.1.6-27.el5.i386.rpm | 117 kB 00:04
(7/19): m4-1.4.5-3.el5.1.i386.rpm | 133 kB 00:03
(8/19): php-common-5.1.6-27.el5.i386.rpm | 152 kB 00:06
(9/19): imake-1.0.2-3.i386.rpm | 319 kB 00:07
(10/19): automake-1.9.6-2.3.el5.noarch.rpm | 476 kB 00:09
(11/19): libxslt-1.1.17-2.el5_2.2.i386.rpm | 485 kB 00:14
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 18
(12/19): php-devel-5.1.6-27.el5.i386.rpm | 503 kB 00:19
(13/19): autoconf-2.59-12.noarch.rpm | 647 kB 00:12
(14/19): gmp-4.1.4-10.el5.i386.rpm | 664 kB 00:13
(15/19): aspell-0.60.3-7.1.i386.rpm | 936 kB 00:18
(16/19): php-mbstring-5.1.6-27.el5.i386.rpm | 995 kB 00:19
(17/19): aspell-en-6.0-2.1.i386.rpm | 1.6 MB 00:32
(18/19): php-cli-5.1.6-27.el5.i386.rpm | 2.1 MB 00:45
(19/19): php-5.1.6-27.el5.i386.rpm | 2.3 MB 00:54
--------------------------------------------------- --------------------------------------------------- --------------------------------------------------- ----
Total 23 kB/s | 12 MB 08:41
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common 1 /19
Installing : gmp 2 /19
Installing : php-pdo 3 /19
Installing : m4 4 /19
Installing : imake 5 /19
Installing : libmcrypt 6 /19
Installing : libxslt 7 /19
Installing : php-xml 8 /19
Installing : php-mysql 9 /19
Installing : php-gd 10 /19
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 19
Installing : php-mbstring 11 /19
Installing : autoconf 12 /19
Installing : automake 13 /19
Installing : aspell-en 14 /19
Installing : aspell 15 /19
Installing : php-cli 16 /19
Installing : php 17 /19
Installing : php-devel 18 /19
Installing : php-mcrypt 19 /19
Installed:
php.i386 0:5.1.6-27.el5 php-common .i386 0:5.1.6-27.el5 php-devel.i386 0:5.1.6-27.el5 php-gd.i386 0:5.1.6-27.el5
php-mbstring.i386 0:5.1.6-27.el5 php-mcrypt .i386 0:5.1.6-15.el5.centos.1 php-mysql.i386 0:5.1.6-27.el5 php-xml.i386 0:5.1.6-27.el5
Dependency Installed:
aspell.i386 12:0.60.3-7.1 aspell-en.i386 50:6.0-2.1 autoconf.noarch 0:2.59-12 automake.noarch 0:1.9.6-2.3.el5
gmp.i386 0:4.1.4-10.el5 imake.i386 0:1. 0.2-3 libmcrypt.i386 0:2.5.8-4.el5.c entos libxslt.i386 0:1.1.17-2.el5_2.2
m4.i386 0:1.4.5-3.el5.1 php-cli.i386 0: 5.1.6-27.el5 php-pdo.i386 0:5.1.6-27.el5
Complete!
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 20
8888 INSTALLATION DU DEPOT DE REMIINSTALLATION DU DEPOT DE REMIINSTALLATION DU DEPOT DE REMIINSTALLATION DU DEPOT DE REMI COLLETCOLLETCOLLETCOLLET http://rpms.famillecollet.com/
[root@webintra ~]# rpm -ivh http://download.fedora. redhat.com/pub/epel/5/i386/epel-release-5-4.noarch. rpm
Retrieving http://download.fedora.redhat.com/pub/ep el/5/i386/epel-release-5-4.noarch.rpm
warning: /var/tmp/rpm-xfer.pZqirg: Header V3 DSA si gnature: NOKEY, key ID 217521f6
Preparing... ####################### #################### [100%]
1:epel-release ####################### #################### [100%]
[root@webintra ~]# rpm -ivh http://rpms.famillecoll et.com/enterprise/remi-release-5.rpm
Retrieving http://rpms.famillecollet.com/enterprise /remi-release-5.rpm
warning: /var/tmp/rpm-xfer.fSKXfu: Header V4 DSA si gnature: NOKEY, key ID 00f97f56
Preparing... ####################### #################### [100%]
1:remi-release ####################### #################### [100%]
[root@webintra ~]#
9999 INSTALLATION DE LA CLE INSTALLATION DE LA CLE INSTALLATION DE LA CLE INSTALLATION DE LA CLE GPG GPG GPG GPG DE REMIDE REMIDE REMIDE REMI COLLETCOLLETCOLLETCOLLET
[root@webintra ~]# wget http://rpms.famillecollet.c om/RPM-GPG-KEY-remi
--2010-11-10 03:14:00-- http://rpms.famillecollet. com/RPM-GPG-KEY-remi
Resolving rpms.famillecollet.com... 88.191.60.189
Connecting to rpms.famillecollet.com|88.191.60.189| :80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1340 (1.3K) [text/plain]
Saving to: `RPM-GPG-KEY-remi'
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 21
100%[============================================== =================================================== ==================>] 1,340 --.-K/s in 0.003 s
2010-11-10 03:14:01 (415 KB/s) - `RPM-GPG-KEY-remi' saved [1340/1340]
[root@webintra ~]# rpm --import RPM-GPG-KEY-remi
10101010 TESTER APACHE ET PHPTESTER APACHE ET PHPTESTER APACHE ET PHPTESTER APACHE ET PHP
[root@webintra ~]# vi /var/www/html/test.php
<?php
phpinfo();
?>
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 22
11111111 INSTALLATION DE PHPHMYADMININSTALLATION DE PHPHMYADMININSTALLATION DE PHPHMYADMININSTALLATION DE PHPHMYADMIN
[root@webintra ~]# yum install phpmyadmin
file:///media/repodata/repomd.xml: [Errno 5] OSErro r: [Errno 2] No such file or directory: '/media/rep odata/repomd.xml'
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/med ia/cdrom/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errn o 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml'
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:2.11.10.1-1.el5 se t to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================== =================================================== =================================================== ====
Package Arch Version Repository S ize
=================================================== =================================================== =================================================== ====
Installing:
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 23
phpMyAdmin noarch 2.11.10.1-1.el5 epel 4. 2 M
Transaction Summary
=================================================== =================================================== =================================================== ====
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 4.2 M
Is this ok [y/N]: y
Downloading Packages:
phpMyAdmin-2.11.10.1-1.el5.noarch.rpm | 4.2 MB 01:38
warning: rpmts_HdrFromFdno: Header V3 DSA signature : NOKEY, key ID 217521f6
epel/gpgkey | 1.7 kB 00:00
Importing GPG key 0x217521F6 "Fedora EPEL <epel@fed oraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY- EPEL
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : phpMyAdmin 1/1
Installed:
phpMyAdmin.noarch 0:2.11.10.1-1.el5
Loïc KODZOVI-DEFOR
http://blog.kdefor.net Installation de LAMP sous Centos JeOS Page 24
Complete!