www.centos.org Forum Index CentOS 6 - Software Support RPMForge downloaded on CentOS, but still no phpmyadmin
|
Bottom Previous Topic Next Topic |
|
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #21 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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:
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:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #23 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2009/9/24
From Brighton, UK
Posts: 6335
|
Quote:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #24 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Quote:
The multiple versions are very likely an artifact of the "rpm --force ..." big hammer used earlier. Try: Now back to phpmyadmin: 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. 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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #25 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #26 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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
|
|||
|
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
|
|||
|
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:
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
|
|||
|
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #30 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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
|
|||
|
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #32 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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
|
|||
|
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
|
|||
|
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #35 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2007/9/7
From Finland
Posts: 644
|
Quote:
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: |
||
Posted on: 2012/5/2 12:42
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #36 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
markkuk wrote:
Quote:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #37 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Quote:
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: Quote:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #38 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
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:
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:
and turn it into Quote:
I get better results than when I do Quote:
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:
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:
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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #39 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Quote:
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:
EPEL does not have a php package, but have you disabled the core repos. They should have returned something. Try the following: Assuming you do have the core repos, and perhaps others enabled, then to query for EPEL php-related packages: 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
|
|||
|
Re: RPMForge downloaded on CentOS, but still no phpmyadmin | #40 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2012/1/5
From
Posts: 38
|
Quote:
Does this mean I've changed it to a single mirror by accident, or that I should enable other mirrors? Quote:
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 |
||
Posted on: 2012/5/2 20:05
|
|||
Top Previous Topic Next Topic |
|
|



Topic options
Print Topic
Threaded
Newest First
joao2



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!

You cannot start a new topic.
You can view topic.