04 2017 档案

摘要:1、 查看当前的目录名以及挂载点# df –h 2、 将原有的目录umount# umount /main# df –h 3、修改fatab文件# vi /etc/fstab 修改要挂载的目录名 4、reboot重启系统 系统重启完毕后再次查看 # df –h 阅读全文
posted @ 2017-04-18 10:21 day959 阅读(1154) 评论(0) 推荐(0) 编辑
摘要:1、更改/usr/local/nginx/conf/nginx.conf在http定义区域加入: fastcgi_intercept_errors on;2、更改网站站点nginx.conf 在网站配置中在server 区域加入: error_page 404 /404.html; 重启nginx 阅读全文
posted @ 2017-04-11 18:32 day959 阅读(200) 评论(0) 推荐(0) 编辑
摘要:#crontab -l 查看定时任务 #crontab -e 编辑定时任务 0 0 * * * /usr/bin/curl http://www.baidu.com/your/task.html # /sbin/service crond restart 重启定时任务 若提示command not 阅读全文
posted @ 2017-04-01 17:48 day959 阅读(667) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示