Qnap 设置 APM 254
- font size decrease font size increase font size
- Print Email
fdisk -l
- Go to the 'Application servers' area in the admin control panel... then to the 'QPKG' area. From here I installed and activated 'Optaware.' This will install the ipkg system for Linux. -打开 网页服务器 -打开 连接 http://192.168.1.xx:80/Optware/ -搜索 hdparm 点击 install -SSH 服务打开 登陆 ssh 运行 hdparm- hdparm -B 254 /dev/sda 返回的结果 [~] # hdparm -B 254 /dev/sda /dev/sda: setting Advanced Power Management level to 0xFE (254) HDIO_DRIVE_CMD failed: Invalid argument
等待完全启动 再运行
hdparm-hdparm -B 254 /dev/sda
hdparm-hdparm -B 254 /dev/sdb
- Go to the 'Application servers' area in the admin control panel... then to the 'QPKG' area. From here I installed and activated 'Optaware.' This will install the ipkg system for Linux.
- Now log out of any telnet/SSH connection and re login with admin / root authority and type ... ipkg install hdparm
- You should now see the latest verison being dowbloaded and installed
- You will now essentially have two hdparm apps installed so the original hdparm commands wont work... instead you'll probably need to use hdparm-hdparm to start your string. E.G. 'hdparm-hdparm -B 254 /dev/sda'
( ! ) 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.0009 | 412408 | {main}( ) | .../index.php:0 |
2 | 0.1143 | 4262344 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1143 | 4262344 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4084 | 11453216 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4095 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4106 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4109 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4226 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4227 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4368 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4368 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4433 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4461 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5436 | 15814048 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5437 | 15814048 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5459 | 15986984 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Qnap
- Read 3487 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.0009 | 412408 | {main}( ) | .../index.php:0 |
2 | 0.1143 | 4262344 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1143 | 4262344 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4084 | 11453216 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4095 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4106 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4109 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4226 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4227 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4368 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4368 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4433 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4461 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5436 | 15814048 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5437 | 15814048 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5459 | 15986984 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |