安装rpmforge yum源
- font size decrease font size increase font size
- Print Email
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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0012 | 412184 | {main}( ) | .../index.php:0 |
2 | 0.0789 | 4262168 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0789 | 4262168 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4106 | 11453048 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4112 | 11477376 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4119 | 11532704 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4121 | 11560104 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4195 | 11959736 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4196 | 11959736 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4284 | 12610440 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4284 | 12610440 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4323 | 12981480 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4341 | 13001848 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5113 | 15824432 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5113 | 15824432 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5129 | 15997368 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in 主机
- Read 3612 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0012 | 412184 | {main}( ) | .../index.php:0 |
2 | 0.0789 | 4262168 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0789 | 4262168 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4106 | 11453048 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4112 | 11477376 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4119 | 11532704 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4121 | 11560104 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4195 | 11959736 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4196 | 11959736 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4284 | 12610440 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4284 | 12610440 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4323 | 12981480 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4341 | 13001848 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5113 | 15824432 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5113 | 15824432 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5129 | 15997368 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |