sudo vi /etc/mysql/my.cnf
修改bind-address = 127.0.0.1 为 bind-address = 服务器IP
sudo /etc/init.d/mysql restart
sudo vi /etc/mysql/my.cnf
修改bind-address = 127.0.0.1 为 bind-address = 服务器IP
sudo /etc/init.d/mysql restart
mysqldump -uroot wordpress > wordpress-`date +"%Y-%m-%d"`.sql
private function outPutWattingPage(){
$html = <<<EOF
<link href="{$this->base_url}css/style.css" rel="stylesheet" type="text/css" />
$<div class='redirect'><img src="{$this->base_url}images/colorbox/loading.gif"><span>正在跳转,请稍候...</span></div>
EOF;
$echo $html;
}
在子窗口执行如下JS:
window.close();
opener.location.reload();
sudo aptitude install iftop
设置监控的网卡:
sudo iftop -i eth0
Copyright © 2016 yjiang's cake