06 2016 档案

摘要:一、vsftp安装篇 # 安装vsftpd yum -y install vsftpd # 启动 service vsftpd start # 开启启动 chkconfig vsftpd on # 如果启动失败那么查看端口占用情况 netstat -natp |grep 21 #显示的是被pure-f... 阅读全文
posted @ 2016-06-13 12:07 Adtuu 阅读(155) 评论(0) 推荐(0)
摘要:/** * 分单算法 * @param $size * @param $order_money * @return array */ static function splitting_order($order_money, $size = 500) { if (0 != $order_money % $size)... 阅读全文
posted @ 2016-06-01 14:21 Adtuu 阅读(542) 评论(0) 推荐(0)
摘要:Linux下 service crond restart */10 * * * * /home/mysqlbackup.sh >/home/runssh.log backup.sh #bin/bash source ~/.bash_profile LANG=en_US.UTF-8 cd /home/backup/gch Now=$(date +"%Y%m%d%H%M%S") File=b... 阅读全文
posted @ 2016-06-01 14:20 Adtuu 阅读(277) 评论(0) 推荐(0)