LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-17-2012, 05:43 PM   #1
rewards
Member
 
Registered: Dec 2010
Posts: 128

Rep: Reputation: 0
Question Install phpMyAdmin on Linux Centos 6.2 without EPEL repo


Hello all,

Is there a way to install phpMyAdmin latest version on a 64bit Centos 6.2 without installing EPEL repository? I have install led rpmforge on the system and I am trying to avoid conflict between different repositories.

Thank you
 
Old 03-17-2012, 06:07 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,246

Rep: Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475
Quote:
Originally Posted by rewards View Post
Hello all,

Is there a way to install phpMyAdmin latest version on a 64bit Centos 6.2 without installing EPEL repository? I have install led rpmforge on the system and I am trying to avoid conflict between different repositories.

Thank you
Yes, download and install it from source.
 
Old 03-17-2012, 09:43 PM   #3
rewards
Member
 
Registered: Dec 2010
Posts: 128

Original Poster
Rep: Reputation: 0
Hi,

I have downloaded and uncompressed the file. How can I install it? The file is located in /tmp directory.
 
Old 03-18-2012, 01:01 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,710

Rep: Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688Reputation: 1688
Quote:
I have install led rpmforge on the system and I am trying to avoid conflict between different repositories.
so you are NOT fallowing the advice/instructions on the CentOS wiki
http://wiki.centos.org/AdditionalResources/Repositories
and you DID NOT install the recommended "yum-priorities" or "yum-ProtectBase"
AS THE WARNING instructs you to do

install yum-priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities

then CONFIGURE IT!!!!!!!!!!!
set rpmforge higher than EPEL
but lower than cent and cent-updates

1= highest
99= is the default lowest

cent 1
cent update 2
rpmforge 3
epel 4

Last edited by John VV; 03-18-2012 at 01:18 AM.
 
Old 03-18-2012, 03:30 AM   #5
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by rewards View Post
Hi,

I have downloaded and uncompressed the file. How can I install it? The file is located in /tmp directory.
Well, first thing would be you need to "move" the package file (i.e. phpMyAdmin-3.5.0-rc2-all-languages.tar.gz )
to the directory in which you want to access it (e.g. /var/www/html/ )

Then you unpack it with
Code:
tar xzf phpMyAdmin-3.5.0-rc2-all-languages.tar.gz
and you will get a subdirectory with the name
Code:
/var/www/html/phpMyAdmin-3.5.0-rc2-all-languages
you can rename it to something else, let's say to access it easier:
Code:
mv phpMyAdmin-3.5.0-rc2-all-languages phpmyadmin
and copy the configuration file
Code:
cp config.sample.inc.php config.inc.php
then edit it ( vim config.inc.php ):
Code:
a simple configuration may look like
        this:

        <?php
        $cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice

        $i=0;
        $i++;
        $cfg['Servers'][$i]['auth_type']     = 'cookie';
        ?>

        Or, if you prefer to not be prompted every time you log in:

        <?php

        $i=0;
        $i++;
        $cfg['Servers'][$i]['user']          = 'root';
        $cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password
        $cfg['Servers'][$i]['auth_type']     = 'config';
        ?>
Then you can access it through the web address pointing at your directory /var/www/html/phpmyadmin
like:
Code:
http://www.example.com/phpmyadmin
I don't know how your domains in Apache are configured, but change the directory paths according to it.

It's easy.


good luck

Last edited by lithos; 03-18-2012 at 03:33 AM.
 
Old 03-18-2012, 05:29 AM   #6
rewards
Member
 
Registered: Dec 2010
Posts: 128

Original Poster
Rep: Reputation: 0
Hi,

John. I have looked at the link on Centos Wiki http://wiki.centos.org/AdditionalResources/Repositories. The link has general information about all repositories but I did not see specifically how to twist multiple repositories and their priorities. You mentioned
cent 1
cent update 2
rpmforge 3
epel 4

Did you mean to put priority for the cent 1 and cent update 2, in CentOS-Base.repo file?

[root@phpfox yum.repos.d]# ls
CentOS-Base.repo CentOS-Media.repo epel-testing.repo mirrors-rpmforge-extras rpmforge.repo
CentOS-Debuginfo.repo epel.repo

Here are the repositories on my system with priority set. Are they configured correctly? Thank you.

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
priority=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
priority=2
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
priority = 3
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
priority=4
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

Last edited by rewards; 03-21-2012 at 03:49 PM.
 
Old 03-21-2012, 03:51 PM   #7
rewards
Member
 
Registered: Dec 2010
Posts: 128

Original Poster
Rep: Reputation: 0
Hello all,

I appreciate your thoughts on this. Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EPEL REPO - Problem agriz Linux - Server 2 12-01-2011 04:59 AM
How to install PHPMYADMIN in centos 6? agriz Linux - Software 4 11-28-2011 12:00 AM
epel repo centos 5.4 fernfrancis Linux - Newbie 12 10-02-2010 05:36 PM
yum not working with epel repo fw12 Red Hat 2 02-14-2010 08:55 AM
Cannot find a valid baseurl for repo: epel-testing :redhat 5 safaaa Linux - Newbie 5 07-22-2009 05:29 PM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration