安装rpmforge yum源
- font size decrease font size increase font size
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.0016 | 413680 | {main}( ) | .../index.php:0 |
2 | 0.0841 | 4272392 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0841 | 4272392 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3079 | 11394592 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3086 | 11418664 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3094 | 11473992 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3097 | 11500960 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3191 | 11897448 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3192 | 11897448 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3291 | 12541856 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3291 | 12541856 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3341 | 12908912 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3361 | 12929280 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4028 | 15719912 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4028 | 15719912 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4046 | 15892216 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in 主机
- Read 3606 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.0016 | 413680 | {main}( ) | .../index.php:0 |
2 | 0.0841 | 4272392 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0841 | 4272392 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3079 | 11394592 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3086 | 11418664 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3094 | 11473992 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3097 | 11500960 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3191 | 11897448 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3192 | 11897448 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3291 | 12541856 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3291 | 12541856 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3341 | 12908912 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3361 | 12929280 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4028 | 15719912 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4028 | 15719912 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4046 | 15892216 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |