( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0021415272{main}( ).../index.php:0
20.11864720320Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.389814256016Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.390114255960Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.390114256336Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.390114256336Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.390414256432Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.390914296352require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.395414594040GKTemplate->__construct( ).../component.php:31
100.400714763416GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.401314808272require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0021415272{main}( ).../index.php:0
20.11864720320Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.389814256016Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.390114255960Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.390114256336Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.390114256336Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.390414256432Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.390914296352require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.395414594040GKTemplate->__construct( ).../component.php:31
100.403314936216GKTemplateMenu->getMenuType( ).../gk.framework.php:85
wget
Logo
Print this page

wget

Wget

Wget是一个十分常用命令行下载工具,Wget使用格式如下:

#wget [选项] [下载地址]

Wget常用参数

-b:后台下载,Wget默认的是把文件下载到当前目录。

-O:将文件下载到指定的目录中。

-P:指定保存文件的目录。

-N:don't re-retrieve files unless newer than

-t:尝试连接次数,当Wget无法与服务器建立连接时,尝试连接多少次。

-c:断点续传,如果下载中断,那么连接恢复时会从上次断点开始下载。

此外,Wget还可下载整个 网站,如下载http://man.chinaunix.net整个Man手册中心。

只需输入如下命令即可: #wget -r -p -np -k http://man.chinaunix.net 其中-r参数是指使用递归下载,

-p是指下载所有显示完整网页所以需要的文件,如图片等,-np是指不搜索上层目录,-k则 是指将绝对链接转换为相对链接。

 

AXEL

axel的全局配置文件是/etc/axel/axelrc,你可以根据需要对axel进行 定制,比如我取消了对alternate_output = 1一行的注释,以便让axel的输出比较简洁一些,你也可以在这个文件中设置axel使用的线程数,默认是4个线程。

 

使用很简单 axel url即可

 

限速使用:加上 -s 参数,如 -s 10240,即每秒下载的字节数,这里是 10 Kb

 

限制连接数:加上 -n 参数,如 -n 5,即打开 5 个连接。

Last modified onSaturday, 05 January 2013 13:21

( ! ) 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.0018415688{main}( ).../index.php:0
20.09344720736Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09344720736Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.481312448968Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.482012473312Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.482712528640Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.483012557464require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.493912992872K2ControllerItem->execute( ).../k2.php:64
90.493912992872K2ControllerItem->display( ).../BaseController.php:710
100.509013718072K2ControllerItem->display( ).../item.php:78
110.509013718072K2ControllerItem->display( ).../controller.php:19
120.515514114440Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.518614134808K2ViewItem->display( ).../ViewController.php:102
140.622817080136K2ViewItem->display( ).../view.html.php:742
150.622817080136K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.630517260336include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in 主机
  • Read 2587 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.0018415688{main}( ).../index.php:0
20.09344720736Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09344720736Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.481312448968Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.482012473312Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.482712528640Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.483012557464require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.493912992872K2ControllerItem->execute( ).../k2.php:64
90.493912992872K2ControllerItem->display( ).../BaseController.php:710
100.509013718072K2ControllerItem->display( ).../item.php:78
110.509013718072K2ControllerItem->display( ).../controller.php:19
120.515514114440Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.518614134808K2ViewItem->display( ).../ViewController.php:102
140.622817080136K2ViewItem->display( ).../view.html.php:742
150.622817080136K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.630517260336include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.