1,把所有10.10.0.0網段的數據包通過em1網卡轉發,以及查看nat表的指令
解:這道題主要是考察網路路由器的知識
2,nginx中當訪問文件或者目錄不存在時重定向到index.php文件
3,nginx中設定js,css,文件的過期時間爲5分鐘
參考文章:
http://www.webkaka.com/blog/archives/Nginx-set-the-expiration-time-for-js-and-css.html
location ~.*\.(js|css)?$
{
expires 5m;
}
4,查看mysql database-binlog.000992日誌中操作的命令
參考文章:http://www.cnblogs.com/xionghui/archive/2012/03/11/2389792.html
mysqlbinlog database-binlog.000992 | tail
5,依據mysql binlog日誌恢復截止到2016.1.1 10:01:15之前的數據(binlog文件database-binlog.000992)
6,nginx+php fpm日誌報錯信息recv() failed (104: connection reset by peer)while reading response header from upstream導致的原因以及優化方法
7,服務器日誌報錯 TCP time wait bucket table overflow導致的原因以及優化方法
8,access.log日誌如下,第9列是訪問狀態,最後一列是request_time 請寫出訪問狀態非20以及request_time時間大於500毫秒日誌信息信息寫到test.log文本下
9,系統啓動報錯如下,解決步奏
/dev/sda5: clean 12000/102203392files, 194097169/408807936 blocks [ FAILED]