Phpmyadmin - CORE MANAGED: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
</pre>
</pre>
~Add the development repositories~
Add the development repositories~


First thing we need to do is add the development repositories to yum. When we add the development repository we're going to configure it so it only pulls PHP packages. To start we'll need create a new yum repository configuration file (use your favorite editor):
First thing we need to do is add the development repositories to yum. When we add the development repository we're going to configure it so it only pulls PHP packages. To start we'll need create a new yum repository configuration file (use your favorite editor):
Line 23: Line 23:
Copy/paste the following into this file:
Copy/paste the following into this file:
<pre>
<pre>
  # CentOS-Testing:
# CentOS-Testing:
  # !!!! CAUTION !!!!
# !!!! CAUTION !!!!
  # This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
  # They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
  # These packages build and install, but are waiting for feedback from testers as to
# These packages build and install, but are waiting for feedback from testers as to
  # functionality and stability. Packages in this repository will come and go during the
# functionality and stability. Packages in this repository will come and go during the
  # development period, so it should not be left enabled or used on production systems without due
# development period, so it should not be left enabled or used on production systems without due
  # consideration.
# consideration.
  [c5-testing]
[c5-testing]
  name=CentOS-5 Testing
name=CentOS-5 Testing
  baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
  enabled=1
enabled=1
  gpgcheck=1
gpgcheck=1
  gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
  includepkgs=php*
includepkgs=php*
</pre>
</pre>
Make sure to remove any spaces at the start of each line, then save and close the file and you're done.  
***Make sure to remove any spaces at the start of each line, then save and close the file and you're done.***


yum install php
yum install php

Revision as of 03:15, 19 April 2010

How to install PHPMYADMIN on COREMANAGED box

First download the phpmyadmin

cd /var/www/html/
wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.2/phpMyAdmin-3.3.2-english.tar.gz?use_mirror=iweb
tar zxvf phpMyAdmin-3.3.2-english.tar.gz
rm -rf phpMyAdmin-3.3.2-english.tar.gz
mv phpMyAdmin-3.3.2-english/ phpMyAdmin

Visit servers main ip/phpMyAdmin to see if the install needs further components.

Install rpmforge repo for yum installation.

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

Add the development repositories~

First thing we need to do is add the development repositories to yum. When we add the development repository we're going to configure it so it only pulls PHP packages. To start we'll need create a new yum repository configuration file (use your favorite editor):

 # /etc/yum.repos.d/CentOS-Testing.repo

Copy/paste the following into this file:

# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*
      • Make sure to remove any spaces at the start of each line, then save and close the file and you're done.***

yum install php