#1  
Old 2nd April 2013, 17:56
davide.seo davide.seo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Update software repository

Hi all, I've installed ispconfig3 on centos as tutorial: http://www.howtoforge.com/perfect-se...ispconfig-3-p3

but know I'm interested to update software .
As tutorial, I configured [epel] field with priority=10 ( very low ) but now update software tells me that:
Package phpmyadmin-2.11.11.3-2.el6.rf.noarch
is the latest version while on the official site 3.5.7 is the latest.

How can I update software avoiding problem with ispconfig ?
thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd April 2013, 22:07
SunnyD SunnyD is offline
Junior Member
 
Join Date: Mar 2013
Posts: 21
Thanks: 2
Thanked 9 Times in 9 Posts
Default

use the following:

Code:
yum install phpMyAdmin
Please note the case. If you install phpMyAdmin, it will install 3.5.7. If you install phpmyadmin (all lowercase), it will install 2.11.xx.

Also note: phpMyAdmin requires PHP 5.2 and MySQL 5, so if you plan on running with older version or allowing multiple versions of PHP, the newer version of phpMyAdmin may not work for you.

Last edited by SunnyD; 3rd April 2013 at 22:23.
Reply With Quote
  #3  
Old 4th April 2013, 08:54
Hairy Hairy is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Location: USA
Posts: 57
Thanks: 6
Thanked 27 Times in 16 Posts
 
Default

Quote:
Originally Posted by SunnyD View Post
use the following:

Code:
yum install phpMyAdmin
Please note the case. If you install phpMyAdmin, it will install 3.5.7. If you install phpmyadmin (all lowercase), it will install 2.11.xx.

Also note: phpMyAdmin requires PHP 5.2 and MySQL 5, so if you plan on running with older version or allowing multiple versions of PHP, the newer version of phpMyAdmin may not work for you.
Also, note that the configuring phpMyAdmin is different than phpmyadmin. To setup phpMyAdmin follow these steps:

Code:
yum -y install phpMyAdmin
cp /usr/share/phpMyAdmin/config.sample.inc.php /usr/share/phpMyAdmin/config.inc.php
vim /usr/share/phpMyAdmin/config.inc.php
Then, make sure to change 'cookie' to 'http' like the following:

Code:
$cfg['Servers'][$i]['auth_type'] = 'http';
Then, edit the phpMyAdmin.conf file. Type the following line in your SSH Terminal Window:

Code:
vim /etc/httpd/conf.d/phpMyAdmin.conf
Then, comment out the /usr/share/phpmyadmin block as folows:

Code:
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL

Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

#<Directory /usr/share/phpMyAdmin/>
#   <:IfModule mod_authz_core.c>
#     # Apache 2.4
#     <RequireAny>
#       Require ip 127.0.0.1
#       Require ip ::1
#     </RequireAny>
#   </IfModule>
#   <IfModule !mod_authz_core.c>
#     # Apache 2.2
#     Order Deny,Allow
#     Deny from All
#     Allow from 127.0.0.1
#     Allow from ::1
#   </IfModule>
#</Directory>

<Directory /usr/share/phpMyAdmin/setup/>
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       Require ip 127.0.0.1
       Require ip ::1
     </RequireAny>
   </IfModule>
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   </IfModule>
</Directory>

# These directories do not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
<Directory /usr/share/phpMyAdmin/libraries/>
    Order Deny,Allow
    Deny from All
    Allow from None
</Directory>

<Directory /usr/share/phpMyAdmin/setup/lib/>
    Order Deny,Allow
    Deny from All
    Allow from None
</Directory>

<Directory /usr/share/phpMyAdmin/setup/frames/>
    Order Deny,Allow
    Deny from All
    Allow from None
</Directory>

# This configuration prevents mod_security at phpMyAdmin directories from
# filtering SQL etc.  This may break your mod_security implementation.
#
#<IfModule mod_security.c>
#    <Directory /usr/share/phpMyAdmin/>
#        SecRuleInheritance Off
#    </Directory>
#</IfModule>
Then, restart httpd with the following:

Code:
/etc/init.d/httpd restart
I Hope that helps someone!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Centos is terribly slow Galled Server Operation 9 7th December 2010 15:31
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 10:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.