描述:使用ubuntu14.04,16.04系統,經常遇到關機卡死問題,一般是因爲同步到磁盤緩慢。
解決方法如下:
# 寫磁盤同步
sudo sync
# 關機
sudo shutdwon -h now
# reboot, '-n' to save files into disk.
sudo reboot -n
描述:使用ubuntu14.04,16.04系統,經常遇到關機卡死問題,一般是因爲同步到磁盤緩慢。
解決方法如下:
# 寫磁盤同步
sudo sync
# 關機
sudo shutdwon -h now
# reboot, '-n' to save files into disk.
sudo reboot -n
1、開機啓動 2、按回車鍵進入如下畫面: 選擇Done 按回車鍵 3、選擇Install Ubuntu 按回車鍵 改成最大值
// 安裝完成後,Redis服務器會自動啓動 $ sudo apt-get install redis-server $ ps -aux|grep redis