摘要: 为当前用户创建cron服务 1. 键入 crontab -e 编辑crontab服务文件 例如 文件内容如下: */2 * * * * /bin/sh /home/admin/jiaoben/buy/deleteFile.sh 保存文件并并退出 */2 * * * * /bin/sh /home/a 阅读全文
posted @ 2016-07-18 15:44 半醉半醒201 阅读(136) 评论(0) 推荐(0)
摘要: /etc/init.d/iptables status 会得到一系列信息,说明防火墙开着。 /etc/init.d/iptables stop 永久关闭: chkconfig --level 35 iptables off 阅读全文
posted @ 2016-07-18 14:09 半醉半醒201 阅读(129) 评论(0) 推荐(0)
摘要: http://blog.jobbole.com/18339/ 简明Vim练级攻略 原文出处: yannesposito 译文出处:陈晧 Vim的学习曲线相当的大,所以,如果你一开始看到的是一大堆VIM的命令分类,你一定会对这个编辑器失去兴趣的。下面的文章翻译自《Learn Vim Progressi 阅读全文
posted @ 2016-07-18 13:22 半醉半醒201 阅读(236) 评论(0) 推荐(0)
摘要: nginx 的安装 下载地址: http://nginx.org/download/nginx-1.4.2.tar.gz 安装准备: nginx依赖于pcre库,要先安装pcre yum install pcre pcre-devel cd /usr/local/src/ wget http://n 阅读全文
posted @ 2016-07-18 10:40 半醉半醒201 阅读(263) 评论(0) 推荐(0)
摘要: 一:分区设置 高扩展的分区解决方案 /boot 200M / 50G /var 20G swap 2048 /usr 100G /home 100G 二:网卡设置 虚拟机,要更改网卡设置为:桥接:一个网段。 编辑网卡地址:vi /etc/sysconfig/network-scripts/ifcfg 阅读全文
posted @ 2016-07-07 17:10 半醉半醒201 阅读(131) 评论(0) 推荐(0)
摘要: 新电脑php工作,准备的东西 一:php环境 phpstudy 下载地址:http://www.phpstudy.net/a.php/198.html 二:上传工具 filezilla 要求传输的方式二进制 三:编辑器 editplus 设置: 文件里面,1. 类型:unix 编码:utf-8 2. 阅读全文
posted @ 2016-03-12 11:27 半醉半醒201 阅读(1897) 评论(0) 推荐(0)
摘要: insert into jinhong.ims_xiaofeiren_fenxiao_member (id, weid,openid,nickname,follow,username,weixinhao,mobile,parent_id,isagent,commission_pay,agenttim 阅读全文
posted @ 2016-02-06 14:34 半醉半醒201 阅读(412) 评论(0) 推荐(0)
摘要: 一:分区,格式化硬盘,挂载硬盘 http://blog.chinaunix.net/uid-25829053-id-3067619.html 1.查看硬盘 fdisk -l fdisk /dev/xvdb n p 2 全部 保存退出(wq) 查看(p) 格式化mkfs.ext3 /dev/xvdb2 阅读全文
posted @ 2016-01-21 20:41 半醉半醒201 阅读(163) 评论(0) 推荐(0)
摘要: hello css3 hello css3! h1{ text-align: center; font-size: 60px; text-shadow: 5px 5px blule; transform-style: preserve-3d; -webkit-animation: my 9s; } @-web... 阅读全文
posted @ 2015-03-24 12:29 半醉半醒201 阅读(238) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-02-21 15:22 半醉半醒201 阅读(3563) 评论(0) 推荐(0)