安装rpmforge yum源

CentOS 5 - install rpmforge yum repo


Install DAG GPG key

wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt     # download DAG GPG key
rpm --import RPM-GPG-KEY.dag.txt # import the key
rm RPM-GPG-KEY.dag.txt # clean up after ourselves


Install yum-priorities

yum install yum-priorities


Download and install package (i386 - 32bit)

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm # install the rpmforge yum repo
rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm # clean up after ourselves


Download and install package (x86_64
- 64bit)

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm # install the rpmforge yum repo
rm rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm # clean up after ourselves


Set priorities

vim /etc/yum.repos.d/CentOS-Base.repo
[base] or [updates] or [addons] or [extras]
priority=1
[centosplus]
priority=2
vim /etc/yum.repos.d/rpmforge.repo
[rpmforge]
priority=10

 

Last modified onSaturday, 05 January 2013 13:22

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0001403584{main}( ).../index.php:0
20.03191321208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.03191321208Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.14482979360Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.14533003768Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.14603059096Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.14613076152require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.15123220240K2ControllerItem->execute( ).../k2.php:64
90.15123220240K2ControllerItem->display( ).../BaseController.php:710
100.15783489320K2ControllerItem->display( ).../item.php:78
110.15783489320K2ControllerItem->display( ).../controller.php:19
120.15963507840Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.16083528256K2ViewItem->display( ).../ViewController.php:102
140.20664069232K2ViewItem->display( ).../view.html.php:742
150.20664069232K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.20874243632include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in 主机
  • Read 3605 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0001403584{main}( ).../index.php:0
20.03191321208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.03191321208Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.14482979360Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.14533003768Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.14603059096Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.14613076152require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.15123220240K2ControllerItem->execute( ).../k2.php:64
90.15123220240K2ControllerItem->display( ).../BaseController.php:710
100.15783489320K2ControllerItem->display( ).../item.php:78
110.15783489320K2ControllerItem->display( ).../controller.php:19
120.15963507840Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.16083528256K2ViewItem->display( ).../ViewController.php:102
140.20664069232K2ViewItem->display( ).../view.html.php:742
150.20664069232K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.20874243632include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top