Windows下安装AHCI驱动(适用于AMD SB系列南桥)

1、在主板驱动中拷贝AHCI驱动 2、将ahcix86.sys复制到C:\windows\system32\drivers 3、ahcix86.inf和ahcix86.cat复制到C:\windows\inf 4、编辑 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_1002&dev_4391] “Service”=”ahcix86” “ClassGUID”=”{4D36E Read More

Warning: Invalid argument supplied for foreach()

问题Warning: Invalid argument supplied for foreach() in 完善解决方案 将报错的语句做如下修改(例): 把 QUOTE: foreach($extcredits as $id => $credit) { if($credit[‘ratio’]) { $exchcredits[$id] = $credit; } } 改为 QUOTE: if(is_array($extcredits)) //add { foreach($extcredits as $id => $credit) { if($credit[‘ratio’]) { $exchcredits[$id] = $credit; } } } //add 或 QUOTE: foreach((array)$extcredits as $id => $credit) { if($credit[‘ratio’]) { Read More

Ubuntu SSH: How To Enable Secure Shell in Ubuntu

SSH (Secure SHell) is possibly the best way to remotely access a Unix system – it’s very secure thanks to automatic encryption of all the traffic, and it’s also quite universal because you can do all sorts of things: access remote command line shell, forward graphics session output, establish network tunnels and set up port redirections. Today I’m going to show you how to get started with SSH in Ubuntu. Installing SSH server in Ubuntu By default, your system will have no SSH service enabled, which means you won’t be able to connect to it remotely using SSH protocol (TCP port 22). This means that installing SSH server will be one of the first post-install steps on Read More