CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  RPMForge downloaded on CentOS, but still no phpmyadmin

 

 Bottom   Previous Topic   Next Topic
<123>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#21
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
Quote:

joao2 wrote:
...
so I

yum remove rpmforge-release-0.5.2-2.el6.rf.x86_64

The recommendation was:
rpm -e rpmforge-release
Please carefully read before executing.

That gives me:

[root@server1 ~]# rpm -e rpmforge-release
error: "rpmforge-release" specifies multiple packages:
rpmforge-release-0.5.2-2.el6.rf.x86_64
rpmforge-release-0.5.2-1.el6.rf.x86_64


rpm -e rpmforge-release-0.5.2-1.el6.rf.x86_64 gives me:

error: package rpmforge-release-0.5.2-1.el6.rf.x86_64 is not installed

rpm -e rpmforge-release-0.5.2-2.el6.rf.x86_64 gives me:

warning: /etc/sysconfig/rhn/sources.rpmforge.txt saved as /etc/sysconfig/rhn/sources.rpmforge.txt.rpmsave
warning: /etc/smart/channels/rpmforge.channel saved as /etc/smart/channels/rpmforge.channel.rpmsave
warning: /etc/apt/sources.list.d/rpmforge-testing.list saved as /etc/apt/sources.list.d/rpmforge-testing.list.rpmsave


Quote:

...
I answered y, what I think would be yes, but it didn't seem to do anything.

It deleted the file. By default and by design a successful rm command will do its work silently and return.


But then why does the force install that comes after it fail?


Quote:

Unfortunately, if i understand the sequence of commands you have executed properly, you now have both EPEL and RPMforge installed and enabled, and those two do not get along well together. Please show
rpm -qa | grep release


gives me

epel-release-6-5.noarch
rpmforge-release-0.5.2-2.el6.rf.x86_64
rpmforge-release-0.5.2-1.el6.rf.x86_64
centos-release-6-2.el6.centos.7.x86_64

Sorry for clobbering up my linux but its the cats fault
Posted on: 2012/5/1 19:02
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#22
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

TrevorH wrote:
You need to find a book on basic linux commands and how they work. In the example you give there, `cat - > getinfo.sh` uses cat to take input from stdin (your terminal, as designated by the "-") and redirects the stdout from that command to the file getinfo.sh. Because it uses the > to do the redirection it overwrites the current contents of the file it's pointed to. If it used >> instead then it would append to the end of the file. Next, the instructions tell you to use the `chmod` command which changes the permissions of files and directories, the +x means to add the executable permission to the current set of permissions. Lastly `./getinfo.sh` means execute this file from the current directory.


So if I had used >> instead of > in the priority file I would have avoided all these issues?
Posted on: 2012/5/1 19:06
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#23
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6335
Quote:

So if I had used >> instead of > in the priority file I would have avoided all these issues?


It would have appended that line to the end of the file instead of overwriting it. That still may not have been the right place for it but it would not have been as bad as it was I'd suggest use of vim to edit files though that's the subject of a number of online tutorials that you can find via google just to find out how to use it!
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 19:33
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#24
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
...

# rpm -qa | grep release
epel-release-6-5.noarch
rpmforge-release-0.5.2-2.el6.rf.x86_64
rpmforge-release-0.5.2-1.el6.rf.x86_64
centos-release-6-2.el6.centos.7.x86_64

The multiple versions are very likely an artifact of the "rpm --force ..." big hammer used earlier.

Try:
rpm -e --allmatches rpmforge-release


Now back to phpmyadmin:
# yum --noplugins --showduplicates --enablerepo epel,rpmforge list phpmyadmin
Available Packages
phpMyAdmin.noarch                  3.4.10.2-1.el6.rf                    rpmforge
phpMyAdmin.noarch                  3.5.0-1.el6                          epel    
phpmyadmin.noarch                  2.11.11-1.el6.rf                     rpmforge
phpmyadmin.noarch                  2.11.11.1-1.el6.rf                   rpmforge
phpmyadmin.noarch                  2.11.11.2-1.el6.rf                   rpmforge
phpmyadmin.noarch                  2.11.11.3-1.el6.rf                   rpmforge
phpmyadmin.noarch                  2.11.11.3-2.el6.rf                   rpmforge
# yum --noplugins --enablerepo epel info phpMyAdmin
Available Packages
Name        : phpMyAdmin
Arch        : noarch
Version     : 3.5.0
Release     : 1.el6
Size        : 4.2 M
Repo        : epel
Summary     : Handle the administration of MySQL over the World Wide Web
URL         : http://www.phpmyadmin.net/
License     : GPLv2+
Description : phpMyAdmin is a tool written in PHP intended to handle the
            : administration of MySQL over the World Wide Web. Most frequently
            : used operations are supported by the user interface (managing
            : databases, tables, fields, relations, indexes, users,
            : permissions), while you still have the ability to directly execute
            : any SQL statement.
            : 
            : Features include an intuitive web interface, support for most
            : MySQL features (browse and drop databases, tables, views, fields
            : and indexes, create, copy, drop, rename and alter databases,
            : tables, fields and indexes, maintenance server, databases and
            : tables, with proposals on server configuration, execute, edit and
            : bookmark any SQL-statement, even batch-queries, manage MySQL users
            : and privileges, manage stored procedures and triggers), import
            : data from CSV and SQL, export data to various formats: CSV, SQL,
            : XML, PDF, OpenDocument Text and Spreadsheet, Word, Excel, LATEX
            : and others, administering multiple servers, creating PDF graphics
            : of your database layout, creating complex queries using
            : Query-by-example (QBE), searching globally in a database or a
            : subset of it, transforming stored data into any format using a set
            : of predefined functions, like displaying BLOB-data as image or
            : download-link and much more...

# yum --noplugins --enablerepo rpmforge info phpMyAdmin
Available Packages
Name        : phpMyAdmin
Arch        : noarch
Version     : 3.4.10.2
Release     : 1.el6.rf
Size        : 4.1 M
Repo        : rpmforge
Summary     : Handle the administration of MySQL over the World Wide Web
URL         : http://www.phpmyadmin.net/
License     : GPLv2+
Description : phpMyAdmin is a tool written in PHP intended to handle the
            : administration of MySQL over the World Wide Web. Most frequently
            : used operations are supported by the user interface (managing
            : databases, tables, fields, relations, indexes, users,
            : permissions), while you still have the ability to directly execute
            : any SQL statement.
            : 
            : Features include an intuitive web interface, support for most
            : MySQL features (browse and drop databases, tables, views, fields
            : and indexes, create, copy, drop, rename and alter databases,
            : tables, fields and indexes, maintenance server, databases and
            : tables, with proposals on server configuration, execute, edit and
            : bookmark any SQL-statement, even batch-queries, manage MySQL users
            : and privileges, manage stored procedures and triggers), import
            : data from CSV and SQL, export data to various formats: CSV, SQL,
            : XML, PDF, OpenDocument Text and Spreadsheet, Word, Excel, LATEX
            : and others, administering multiple servers, creating PDF graphics
            : of your database layout, creating complex queries using
            : Query-by-example (QBE), searching globally in a database or a
            : subset of it, transforming stored data into any format using a set
            : of predefined functions, like displaying BLOB-data as image or
            : download-link and much more...

Name        : phpmyadmin
Arch        : noarch
Version     : 2.11.11.3
Release     : 2.el6.rf
Size        : 2.7 M
Repo        : rpmforge
Summary     : Web application to manage MySQL
URL         : http://www.phpmyadmin.net/
License     : GPL
Description : phpMyAdmin can manage a whole MySQL server (needs a super-user) as
            : well as a single database. To accomplish the latter you'll need a
            : properly set up MySQL user who can read/write only the desired
            : database. It's up to you to look up the appropriate part in the
            : MySQL manual.

Now you must determine which version of phpmyadmin or phpMyAdmin you want, and which repo EPEL or RPMforge you wish to use for it. I would then uninstall the unwanted repo, if necessary [re]install the desired one, and install either phpmyadmin or phpMyAdmin and dependencies.

I have no informed advice to offer on those choices. If you weren't confused enough before...

A few cases to consider.
# yum --noplugins --enablerepo epel,rpmforge install phpMyAdmin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.5.0-1.el6 will be installed
--> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.noarch
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.noarch
--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.noarch
--> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-3.5.0-1.el6.noarch
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package php-mbstring.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package php-mcrypt.x86_64 0:5.3.3-1.el6 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.3-1.el6.x86_64
---> Package php-mysql.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_2.6.x86_64
---> Package php-php-gettext.noarch 0:1.0.11-3.el6 will be installed
--> Running transaction check
---> Package libmcrypt.x86_64 0:2.5.8-9.el6 will be installed
---> Package php-pdo.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch         Version                 Repository     Size
================================================================================
Installing:
 phpMyAdmin            noarch       3.5.0-1.el6             epel          4.2 M
Installing for dependencies:
 libmcrypt             x86_64       2.5.8-9.el6             epel           96 k
 php-gd                x86_64       5.3.3-3.el6_2.6         updates       104 k
 php-mbstring          x86_64       5.3.3-3.el6_2.6         updates       453 k
 php-mcrypt            x86_64       5.3.3-1.el6             epel           18 k
 php-mysql             x86_64       5.3.3-3.el6_2.6         updates        79 k
 php-pdo               x86_64       5.3.3-3.el6_2.6         updates        73 k
 php-php-gettext       noarch       1.0.11-3.el6            epel           21 k

Transaction Summary
================================================================================
Install       8 Package(s)

Total download size: 5.0 M
Installed size: 20 M
Is this ok [y/N]: n
Exiting on user Command

# yum --noplugins --enablerepo rpmforge install phpMyAdmin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.4.10.2-1.el6.rf will be installed
--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package php-mbstring.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_2.6.x86_64
---> Package phpMyAdmin.noarch 0:3.4.10.2-1.el6.rf will be installed
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Running transaction check
---> Package php-pdo.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package phpMyAdmin.noarch 0:3.4.10.2-1.el6.rf will be installed
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch
--> Finished Dependency Resolution
Error: Package: phpMyAdmin-3.4.10.2-1.el6.rf.noarch (rpmforge)
           Requires: php-mcrypt >= 5.2.0
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

# yum --noplugins --enablerepo epel,rpmforge install phpmyadmin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-2.el6.rf will be installed
--> Processing Dependency: php-mysql >= 4.1.0 for package: phpmyadmin-2.11.11.3-2.el6.rf.noarch
--> Processing Dependency: php-mbstring >= 4.1.0 for package: phpmyadmin-2.11.11.3-2.el6.rf.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-3.el6_2.6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_2.6.x86_64
--> Running transaction check
---> Package php-pdo.x86_64 0:5.3.3-3.el6_2.6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch         Version                   Repository      Size
================================================================================
Installing:
 phpmyadmin         noarch       2.11.11.3-2.el6.rf        rpmforge       2.7 M
Installing for dependencies:
 php-mbstring       x86_64       5.3.3-3.el6_2.6           updates        453 k
 php-mysql          x86_64       5.3.3-3.el6_2.6           updates         79 k
 php-pdo            x86_64       5.3.3-3.el6_2.6           updates         73 k

Transaction Summary
================================================================================
Install       4 Package(s)

Total download size: 3.2 M
Installed size: 15 M
Is this ok [y/N]: n
Exiting on user Command

Just based on version numbers and dependency issues, I'd probably remove rpmforge-release and go for phpMyAdmin from EPEL, but I'm not doing any of the above.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 19:33
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#25
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

TrevorH wrote:
Quote:

So if I had used >> instead of > in the priority file I would have avoided all these issues?


It would have appended that line to the end of the file instead of overwriting it. That still may not have been the right place for it but it would not have been as bad as it was I'd suggest use of vim to edit files though that's the subject of a number of online tutorials that you can find via google just to find out how to use it!


I'm trying to use vi or vim, which I'm not sure if it was already installed or not. It was still something yum install does work this time though

So I'm adding a line with priority=3 when I manage to open the file with vi. But I can't seem to return to command line. The guides mention something along the lines of '':q'' but that just asks me to add an exclamation mark if I want to overwrite. I'm not sure what that means though, but I still do so, but it doesn't allow me back to command line. In fact it just hangs there annoyingly also not letting me edit the file anymore, just allows me to stare at it.

How can I return to command line so as to see if update and install work with phpmyadmin this time?
Posted on: 2012/5/1 22:50
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#26
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
Just based on version numbers and dependency issues, I'd probably remove rpmforge-release and go for phpMyAdmin from EPEL, but I'm not doing any of the above.


Well somewhere along the line we managed to erase the rpmforge rubbish which is great news. Surprisingly enough, I'm not aware of the precise recommendation of yours that did it, but lets leave that poltergeist for another occasion, maybe for Paris, the Tour Eiffel with Kristen Bell, Geoff, Secretariat and Craig Ferguson.



Also I'm not sure what dependencies means, but I get the impression that they're the thingies in between the repositories, or inside them.

Anyway, I had already decided to go with EPEL because one of you mentioned phpmyadmin wasn't available in rpmforge.

So I tried to install EPEL. But it was already installed.

So following this guide:

http://bin63.com/how-to-install-phpmyadmin-on-centos

I ran

yum update

But when it asked me 'Is this OK [y/N]? and I answered y, it said

Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
keyutils-libs-devel is needed by krb5-devel-1.9-22.el6_2.1.x86_64
libselinux-devel is needed by krb5-devel-1.9-22.el6_2.1.x86_64
zlib-devel is needed by openssl-devel-1.0.0-20.el6_2.4.x86_64
** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1()(64bit)
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1(LIBAIO_0.1)(64bit)
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1(LIBAIO_0.4)(64bit)
e2fsprogs-devel-1.41.12-3.el6.x86_64 has missing requires of e2fsprogs-libs = ('0', '1.41.12', '3.el6')
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of libselinux-devel
openssl-devel-1.0.0-4.el6.x86_64 has missing requires of zlib-devel
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2012-05-01-00-25VEtLu2.yumtx

epel


-------------------------

So phpmyadmin is still nowhere to be seen.

If best case scenario, the failure of this update is due to a priority issue, what exactly would be the cat or vim statement?

vi /etc/yum.repos.d/epel.repo

I took a wild guess that it would be epel.repo

I'm now editing that file with vi, hopefully if I add priority=3, run yum update, then yum install phpmyadmin it'll work.

Do you think I should be installing a GPG Key relevant to epel?
Posted on: 2012/5/1 23:03
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#27
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
I am now in awe as to how I'm screwing up the vi/vim editing process. I can enter the file and add priority=3 to it, but I can't exit it. When I close Putty and login again into root, do vi the file again, it tells me two instances of the file are open. So I try to recover the previous file and I return to it without the priority=N line having been added.

I'm following a guide in youtube that says :q is the way to go to save and exit a file in vi. But all my putty tells me is to add a ! if I want to save it, but all that does is neither return me to command line nor allow me to further edit the file, it just kind of hangs there. The main page for vi (yo linux) is considerably large and it'd take me ages to find this feature.
Posted on: 2012/5/1 23:09
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#28
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
It would be a minimal install indeed if the venerable vi was not included. Try:
man vi
info vi

the latter navigated using emacs style commands - the only editor for real programmers [TM]. (Any religious debates should go to Social.)

See also the results of a google on vi ~tutorial.

Many people prefer nano which is likely also installed.

And stepping up a level to the shell, try bash ~tutorial.

And another step up - back to the recommended reading for some basic books for the bedside table - guaranteed soporifics.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 23:13
Create PDF from Post Print
Top
  •  vonskippy
      vonskippy
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#29
Professional Board Member
Joined: 2006/12/30
From Colorado, USA
Posts: 454
Slightly off topic, but after this amount of time futzing around trying to install PHPMyAdmin, you could have learned the basics of MySQL command line administration by now.

Personally, with the mess you've created with the repos, I'd scrub your install and start fresh, using what you've learned from this thread to prevent you from fubar'ing your next install.

Phpmyadmin is a resource hogging security hole waiting to be compromised.

MySQL Workbench, HeidiSQL, SQLYog are all better (and way more secure) Mysql frontends for those that suffer from command line phobia.
Posted on: 2012/5/2 0:56
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#30
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
It would be a minimal install indeed if the venerable vi was not included. Try:
man vi
info vi

the latter navigated using emacs style commands - the only editor for real programmers [TM]. (Any religious debates should go to Social.)

See also the results of a google on vi ~tutorial.

Many people prefer nano which is likely also installed.

And stepping up a level to the shell, try bash ~tutorial.

And another step up - back to the recommended reading for some basic books for the bedside table - guaranteed soporifics.


Thanks, but when I do man vi installed from yum, it doesn't say much. And when I do info vi, I get stuck in yet another file that explains little and gets me stuck inside it without knowing the command to leave it, so I have to close window and login into putty again. I'm sure in those tutorials, after hours of reading I'll find something that'll tell me how to leave files... for example, on youtube, this guy said it was :q!, and it clearly wasn't! Now I'm just condemned to eternally creating swap files apparently or failed editing session and logging into putty again and again, very frustrating.

I'd be hard pressed to find a tutorial that'll explain why I'm stuck in the following loop this time:

[root@server1 ~]# vi /etc/yum.repos.d/epel.repo

E325: ATTENTION
Found a swap file by the name "/etc/yum.repos.d/.epel.repo.swp"
owned by: root dated: Tue May 1 02:42:16 2012
file name: /etc/yum.repos.d/epel.repo
modified: YES
user name: root host name: server1.mydomain.com
process ID: 29396
While opening file "/etc/yum.repos.d/epel.repo"
dated: Tue Oct 12 07:30:17 2010

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/yum.repos.d/epel.repo"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/yum.repos.d/.epel.repo.s
wp"
to avoid this message.
"/etc/yum.repos.d/epel.repo" 26L, 957C
Press ENTER or type command to continue

------------------------------------------

When I do press ENTER, I just get:

[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
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


---------------------------------

I can edit the file but yet again I can't escape it!
Posted on: 2012/5/2 3:22
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#31
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Ok, folks, my apologies for the previous post, but :w is indeed the way to save the file, after a bit of reading of a vi manual, the youtube experience had angered me. Then :q! does apparently escape the file


But in my defense, in line with mine and linux's love affair, once I did finally omg eureka get priority=3 added, I ran yum update, and then ran yum install phpmyadmin, but it's still saying no package available!

What could it be? The wrong priority given to the epel repo? Should it not be 3?
Posted on: 2012/5/2 3:42
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#32
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

vonskippy wrote:
Slightly off topic, but after this amount of time futzing around trying to install PHPMyAdmin, you could have learned the basics of MySQL command line administration by now.

Personally, with the mess you've created with the repos, I'd scrub your install and start fresh, using what you've learned from this thread to prevent you from fubar'ing your next install.

Phpmyadmin is a resource hogging security hole waiting to be compromised.

MySQL Workbench, HeidiSQL, SQLYog are all better (and way more secure) Mysql frontends for those that suffer from command line phobia.


Ok, I can try to install MySQL Workbench, is it as easy on the eyes as phpmyadmin way back from the glory days of clicking on Plesk Webmin and Phpmyadmin or is there a catch?

Not that yum install mysql gives anything different than yum install phpmyadmin does for me.

Following the previous discussion, where pschaff corrects someone using the wrong mysql version

yum install MySQL 5.1.52-1.el6_0.1

also gives me no package mysql available

These are the mirrors it's looking up:


Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* epel: ftp.osuosl.org
* extras: mirrors.cat.pdx.edu
* updates: centos.mirrors.hoobly.com
Setting up Install Process
No package MySQL available.
Posted on: 2012/5/2 3:55
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#33
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
The thing with all the guides and manuals is though they are good hearted and well intended, they think everyone must read extensive manuals before we read theirs. Take this guide for example:

http://dev.antoinesolutions.com/rpmforge-repository

I'm using it not to check the rpmforge repo, but the epel one. The part where it says

yum check-update

Doesn't explain what to look for.

In case anyone understands it, here's the output I get when I check update:


[root@server1 ~]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* epel: ftp.osuosl.org
* extras: mirrors.cat.pdx.edu
* updates: centos.mirrors.hoobly.com

bind.x86_64 32:9.7.3-8.P3.el6_2.2 updates
bind-libs.x86_64 32:9.7.3-8.P3.el6_2.2 updates
bind-utils.x86_64 32:9.7.3-8.P3.el6_2.2 updates
e2fsprogs-devel.x86_64 1.41.12-11.el6 base
krb5-devel.x86_64 1.9-22.el6_2.1 updates
krb5-libs.x86_64 1.9-22.el6_2.1 updates
openssl.x86_64 1.0.0-20.el6_2.4 updates
openssl-devel.x86_64 1.0.0-20.el6_2.4 updates
[root@server1 ~]#
Posted on: 2012/5/2 5:33
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#34
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
I've been thinking about this issue while I slept, and it's gotta be one of two things, either the server is broken and can't find anything, or the EPEL repository I downloaded doesn't have anything. Maybe if you can teach me the instruction I have to insert into command line if I want to see the list of things that the EPEL repository has, I can get a bit further. Because as of right now, I am absolutely stuck, thanks.

Nothing else occurs to me as to what may be wrong. I followed all the online tuturials to the t.
Posted on: 2012/5/2 10:42
Create PDF from Post Print
Top
  •  markkuk
      markkuk
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#35
Professional Board Member
Joined: 2007/9/7
From Finland
Posts: 644
Quote:

joao2 wrote:
yum install MySQL 5.1.52-1.el6_0.1

also gives me no package mysql available


Package names are case-sensitive. Use "yum install mysql mysql-server" to install both the client and server sides of MySQL.
"yum check-update" gives you a list of available updates. Use "yum update" to actually update your system.
To see the available packages from EPEL, use:
yum --disablerepo=\* --enablerepo=epel list available
Posted on: 2012/5/2 12:42
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#36
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
markkuk wrote:
Quote:


To see the available packages from EPEL, use:
yum --disablerepo=\* --enablerepo=epel list available



thanks a ton!

case sensitive, hopefully that's the issue.

But right now I'm stuck again.

The list that command generates is ginormous.

All I can see is a few features from the letter x onwards.

How can I export this list into something readable?

I'm used to ftp, and I have filezilla sitting here. But evidently ftp isn't installed, otherwise I'd be able to access the SSH root via something filezilla calls sftp and port 22, at least that's always worked in my experience.

Iirc when that happened I would export a file into a directory and just copy it into windows, but I don't think I can do that if ftp doesn't work. Can Filezilla do SSH access? I dunno, it doesn't make sense that it should fail in Filezilla, even though SSH access is called sftp in it.
Posted on: 2012/5/2 13:19
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#37
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
...
All I can see is a few features from the letter x onwards.

If your terminal emulation is so primitive as to lack scrolling capability, then pipe the output to less so you can page through it, or use grep to find what you want:
yum --disablerepo=\* --enablerepo=epel list available | less
yum --disablerepo=\* --enablerepo=epel list available | grep -Ei "mysql|php" | less

Quote:

...
Iirc when that happened I would export a file into a directory and just copy it into windows, but I don't think I can do that if ftp doesn't work. Can Filezilla do SSH access? I dunno, it doesn't make sense that it should fail in Filezilla, even though SSH access is called sftp in it.

This is really a topic for another thread, or perhaps for another forum, as Filezilla is a Windows program; however, as this thread has wandered so far already, I will say that despite the similarities in name sftp is part of SSH and uses a completely different protocol, and default ports, from FTP. If SSH works then so should scp and sftp.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/2 13:40
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#38
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
yum --disablerepo=\* --enablerepo=epel list available | less
yum --disablerepo=\* --enablerepo=epel list available | grep -Ei "mysql|php" | less



Amazing as it may seem, the epel repository seems to be offline... for me, because at least yesterday pschaff could find phpmyadmin.

Anyway, I used the above, copied it literally, tried other ones like ftp, tried it without either-or to it, and all I got overall was the results below.

Mysql can't be found, though there seem to be plenty of mysql sub-sections, or what perhaps are known as mysql dependencies.

Only two results for php, and none for ftp.

This leads me to think I enabled the wrong EPEL, that EPEL may be partially down today (and yesterday), or that my mirror may be defective, or something wrong with my centos? I'm using ftp.osuosl.org, apparently. Which one are you using, which one is pschaff using? If so how would I change the mirror?

Quote:

asterisk-mysql.x86_64 1.8.7.1-1.el6 epel
bytefx-data-mysql.x86_64 2.4.3.1-3.el6 epel
collectd-mysql.x86_64 4.10.7-1.el6 epel
dpm-copy-server-mysql.x86_64 1.8.2-3.el6 epel
dpm-name-server-mysql.x86_64 1.8.2-3.el6 epel
dpm-server-mysql.x86_64 1.8.2-3.el6 epel
dpm-srm-server-mysql.x86_64 1.8.2-3.el6 epel
dspam-mysql.x86_64 3.10.1-6.el6 epel
eclipse-phpeclipse.noarch 1.2.1-6.el6 epel
gnokii-smsd-mysql.x86_64 0.6.30-1.el6 epel
holland-mysqldump.noarch 1.0.6-3.el6 epel
holland-mysqllvm.noarch 1.0.6-3.el6 epel
lfc-server-mysql.x86_64 1.8.2-3.el6 epel
libnss-mysql.i686 1.5-12.el6 epel
libnss-mysql.x86_64 1.5-12.el6 epel
lighttpd-mod_mysql_vhost.x86_64 1.4.28-3.el6 epel
lua-sql-mysql.x86_64 2.1.1-7.el6 epel
mydns-mysql.x86_64 1.2.8.31-1.el6 epel
nagios-plugins-mysql.x86_64 1.4.15-2.el6 epel
ndoutils-mysql.x86_64 1.4-0.7.b9.el6 epel
nntpgrab-php.x86_64 0.7.1-1.el6 epel
openscada-DB-MySQL.x86_64 0.7.2-1.el6 epel
openser-mysql.x86_64 1.3.4-12.el6 epel
opensips-mysql.x86_64 1.6.4-8.el6 epel
pam_mysql.i686 1:0.7-0.12.rc1.el6 epel
pam_mysql.x86_64 1:0.7-0.12.rc1.el6 epel
pdns-backend-mysql.x86_64 2.9.22.6-1.el6 epel
perl-Class-DBI-mysql.noarch 1.00-7.el6 epel
perl-Config-Extend-MySQL.noarch 0.04-1.el6 epel
perl-DateTime-Format-MySQL.noarch 0.04-8.el6 epel


Another search engine that isn't case sensitive, it would seem, is the yum search command, which gives me slightly better results. Initially I thought it could be because it was spanning through the Base or CentOS repository too, but even yum --noplugins --enablerepo epel search php gives me the better results so it makes little sense to me right now.

To make matters worse and proof of how remotely unfunny this is becoming, I can't even pinpoint this search failure to be the already unlikely fault of an offline repository. When I mimic pschaff's queries above I get better results than with his more recent query. In other words when I take his

Quote:

# yum --noplugins --showduplicates --enablerepo epel,rpmforge list phpmyadmin

and turn it into
Quote:

# yum --noplugins --enablerepo epel search ftp

I get better results than when I do
Quote:

# yum --disablerepo=\* --enablerepo=epel list available | grep -Ei "ftp" | less


These improvements are seemingly considerable when searching for ftp, as there were no results for it in the first query, but the famous filezilla or pureftp come up in the second one. But with php nothing too noticeable or famous comes up. nntgrab and eclipse remain, and a few others join the party. But no php 5.3 or phpmyadmin appear.

Quote:

cups-php.x86_64 : Common Unix Printing System - php module
eclipse-phpeclipse.noarch : PHP Eclipse plugin
graphviz-php.x86_64 : PHP extension for graphviz
nntpgrab-php.x86_64 : PHP module which allows PHP scripts to communicate with
: NNTPGrab
rrdtool-php.x86_64 : PHP RRDtool bindings
uuid-php.x86_64 : PHP support for Universally Unique Identifier library
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and
: PHP configuration
limph.noarch : A PHP5-compatible network host/service poller with web interface
squirrelmail.noarch : webmail client written in php
tiquit.noarch : A PHP5-compatible help desk incident tracking/knowledgebase
: system


And then as an orchestral climax, when I return to pschaff's original query, I get no results whatsoever, when I posit it as a list instead of as a search:

Quote:

[root@server1 ~]# yum --noplugins --showduplicates --enablerepo epel list php
Error: No matching Packages to list


On another note, how do I enable ftp on this server? I found the filezilla x86_64 package so jumped at the opportunity thinking a yum install of it would do the trick, but it hasn't. What kind of network impediment might be happening that stops me from accessing via ftp at the moment? Thanks all of you for your time and dedication
Posted on: 2012/5/2 15:39
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#39
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
...
This leads me to think I enabled the wrong EPEL, that EPEL may be partially down today (and yesterday), or that my mirror may be defective, or something wrong with my centos? I'm using ftp.osuosl.org, apparently. Which one are you using, which one is pschaff using? If so how would I change the mirror?

The EPEL repos have been available any time I checked, and are now. I am using the defaults, except for the definition of priority, and thus the mirrorlist chooses the mirror[s] to be used. Changing the repo config to select a single mirror is not recommended.

Quote:

...
[root@server1 ~]# yum --noplugins --showduplicates --enablerepo epel list php
Error: No matching Packages to list

EPEL does not have a php package, but have you disabled the core repos. They should have returned something. Try the following:
yum --noplugins --showduplicates --enablerepo epel repolist

Assuming you do have the core repos, and perhaps others enabled, then to query for EPEL php-related packages:
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list php\*
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list \*php
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel\* list \*php\*

The first returns all EPEL packages starting with php, the second returns all EPEL packages ending with php, and the third returns all EPEL (including the testing and debug repos) packages with php anywhere in the name.

Please start a new thread for FTP questions.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/2 19:28
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#40
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
Quote:

joao2 wrote:
...
This leads me to think I enabled the wrong EPEL, that EPEL may be partially down today (and yesterday), or that my mirror may be defective, or something wrong with my centos? I'm using ftp.osuosl.org, apparently. Which one are you using, which one is pschaff using? If so how would I change the mirror?

The EPEL repos have been available any time I checked, and are now. I am using the defaults, except for the definition of priority, and thus the mirrorlist chooses the mirror[s] to be used. Changing the repo config to select a single mirror is not recommended.


Does this mean I've changed it to a single mirror by accident, or that I should enable other mirrors?
Quote:

...
[root@server1 ~]# yum --noplugins --showduplicates --enablerepo epel list php
Error: No matching Packages to list

EPEL does not have a php package, but have you disabled the core repos. They should have returned something. Try the following:
yum --noplugins --showduplicates --enablerepo epel repolist

Assuming you do have the core repos, and perhaps others enabled, then to query for EPEL php-related packages:
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list php\*
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list \*php
yum --noplugins --showduplicates --disablerepo \* --enablerepo epel\* list \*php\*

The first returns all EPEL packages starting with php, the second returns all EPEL packages ending with php, and the third returns all EPEL (including the testing and debug repos) packages with php anywhere in the name.



Below I show the results. By disabling the core repos, do you mean the Base and Extras in the CentOS-6 repositories?

I didn't know how to search for them as i didn't know their names, but now looking up Base and Extras has shown me additional details as to where some results were coming from. Base for example has 4 php packages, but still no luck, phpmyadmin, php, mysql and other basics are absolutely nowhere to be seen.

I still don't understand what's going on! Why do I download and install something that turns out not to have the required thing in its repository. All the manuals on the internet barely give a moments thought to the possibility that phpmyadmin might not be in the repositories, but when I do it oh no, of course not its just not there. Its not in case sensitive, its not in the base or extras repositories, and every single manual just happily mentions the step as if nothing is the problem, they all say 'yum install phpmyadmin', but no of course with me it's like phpmyadmin is in the frigging moon

[root@server1 ~]# yum --noplugins --showduplicates --enablerepo epel repolist
epel/metalink                                                       | 9.9 kB     00:00
repo id              repo name                                                    status
base                 CentOS-6 - Base                                               6,211+83
epel                 Extra Packages for Enterprise Linux 6 - x86_64               6,920+318
extras               CentOS-6 - Extras                                                    4
updates              CentOS-6 - Updates                                              756+74
repolist: 13,891
[root@server1 ~]# yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list php\*
Error: No matching Packages to list
[root@server1 ~]# yum --noplugins --showduplicates --disablerepo \* --enablerepo epel list \*php
Available Packages
nntpgrab-php.x86_64                            0.7.1-1.el6                             epel
[root@server1 ~]# yum --noplugins --showduplicates --disablerepo \* --enablerepo epel\* list \*php\*
epel-debuginfo/metalink                                             | 8.8 kB     00:00
epel-debuginfo                                                      | 3.1 kB     00:00
epel-debuginfo/primary_db                                           | 443 kB     00:00
epel-source/metalink                                                | 9.2 kB     00:00
epel-source                                                         | 3.3 kB     00:00
epel-source/primary_db                                              | 1.1 MB     00:00
epel-testing/metalink                                               |  10 kB     00:00
epel-testing                                                        | 4.0 kB     00:00
epel-testing/primary_db                                             | 295 kB     00:00
epel-testing-debuginfo/metalink                                     | 9.3 kB     00:00
epel-testing-debuginfo                                              | 3.1 kB     00:00
epel-testing-debuginfo/primary_db                                   |  24 kB     00:00
epel-testing-source/metalink                                        | 9.3 kB     00:00
epel-testing-source                                                 | 3.3 kB     00:00
epel-testing-source/primary_db                                      |  66 kB     00:00
Available Packages
eclipse-phpeclipse.noarch                         1.2.1-6.el6                          epel
nntpgrab-php.x86_64                               0.7.1-1.el6                          epel
[Moderator edit: Changed quote to code tags to preserve formatting. Fixed copy/paste errors.]
Posted on: 2012/5/2 20:05
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
<123>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com