须知:linux任务计划每次执行的结果包括错误都会以邮件格式发送给管理员,所以必须安装邮件服务,来查看任务执行结果1、电子邮件服务:smtp:simplemailtransmissionprotocol/var/spool/mail/USERNAMEpop3:postofficeprotocolimap4:internetmailaccessprotocolmail命令:mail:进..
分类:
系统服务 时间:
2015-09-11 06:48:36
收藏:
0 评论:
0 赞:
0 阅读:
229
mysql存储引擎:存储引擎也通常被称作“表类型”修改原始hellodb.sql存储引擎为InnoDBsed-i‘s@ENGINE=MyISAM@ENGINE=InnoDB@‘/home/hellodb.sql导入修改后的sql文件mysql-uroot-pmydb</home/hellodb.sql查看表引擎,状态mysql>showengines;
mysql>showtablestatus;
sh..
分类:
数据库技术 时间:
2015-09-11 06:48:26
收藏:
0 评论:
0 赞:
0 阅读:
308
SQLServer
分类:
数据库技术 时间:
2015-09-11 06:48:06
收藏:
0 评论:
0 赞:
0 阅读:
307
一、作业(练习)内容: 1、总结rpm和yum实现程序包的管理功能. 要求:作业要图文并茂二、完成时间: 2015年9月15日之前。三、提交方式: 请将作业的博文链接地址以评论本博客的形式提交。格式如: 学员编号+姓名http://mageedu.blog.51cto.com/4265610/1687589
分类:
系统服务 时间:
2015-09-11 06:47:56
收藏:
0 评论:
0 赞:
0 阅读:
286
在使用nginx打开论坛时,网站根目录正确,但是打开网页502这这时候可以查看nginx的错误日志,在配置文件中有定义:/usr/local/nginx/logs/nginx_error.log可以看到unix:/tmp/wyp.sockfailed(13:Permissiondenied)这一行,说明nginx没有权限读取sock文件,所以造成502。如果是监..
分类:
其他 时间:
2015-09-11 06:47:26
收藏:
0 评论:
0 赞:
0 阅读:
244
和apache类似的语法和思路,比如说做网站后台管理的用户认证,匹配.*admin.php来解决在/usr/local/nginx/conf/vhosts/wyp.conf的虚拟主机配文件中插入以下几行代码location~.*admin\.php${定义匹配条件auth_basic"wypauth";提示信息auth_basic_user_file/usr/local/nginx/.htpa..
分类:
其他 时间:
2015-09-11 06:47:16
收藏:
0 评论:
0 赞:
0 阅读:
158
用了几个邮件报警软件,感觉还是sendmail及时、稳定。一、zabbixserver服务器上配置:1.1发送邮件脚本的存放路径:123[root@zabbix_serveretc]#catzabbix_server.conf|grepalertscripts#AlertScriptsPath=${datadir}/zabbix/alertscriptsAlertScriptsPath=/usr/local/zabbix/s..
分类:
其他 时间:
2015-09-11 06:47:06
收藏:
0 评论:
0 赞:
0 阅读:
336
UITableView的使用今天凌晨,苹果召开2015年新品发布会。iPhone6s和iPhone6sPlus,以及iPadPro、新AppleTV会与我们见面,据悉,iPhone6s与iPhone6sPlus将会在9月18日正式发售。表格视图控制器,它是一个是视图控制器的对象管理一个表视图。一个iphone表格由三种东西构成:一个..
分类:
其他 时间:
2015-09-11 06:46:46
收藏:
0 评论:
0 赞:
0 阅读:
264
一. 题目描述Given an integer, write a function to determine if it is a power of two.二.题目分析该题要求简单,给定一个整数,判断其是不是2的整数次幂,这道题的解题关键是找到一个规律:如果一个数字是2的整数次幂,若将该数写为二进制数,这个二进制数中有且仅有一位为1,其余均为0。根据这一性质,不难给出以下给出两种解决方法。三.示例...
分类:
其他 时间:
2015-09-11 06:45:25
收藏:
0 评论:
0 赞:
0 阅读:
209
宝丽来的埃德温· 兰德曾谈过人文与科学的交集。我喜欢那个交集。那里有种魔力。有很多人在创新,但创新并不是我事业最主要的与众不同之处。苹果之所以能与人们产生共鸣,是因为在我们的创新中深藏着一种人文精神。我认为伟大的艺术家和伟大的工程师是相似的,他们都有自我表达的欲望。事实上最早做Mac的最优秀的人里,...
分类:
其他 时间:
2015-09-11 06:44:55
收藏:
0 评论:
0 赞:
0 阅读:
172
QuestionGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra spa...
分类:
其他 时间:
2015-09-11 06:44:45
收藏:
0 评论:
0 赞:
0 阅读:
202
QuestionGiven a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant dig...
分类:
其他 时间:
2015-09-11 06:44:35
收藏:
0 评论:
0 赞:
0 阅读:
178
nohup.out 文件的产生linux的nohup命令的用法不输出nohup.outnohup node app.js > /dev/null 2>&1 &
分类:
其他 时间:
2015-09-11 06:44:25
收藏:
0 评论:
0 赞:
0 阅读:
232
Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].Solv...
分类:
其他 时间:
2015-09-11 06:44:05
收藏:
0 评论:
0 赞:
0 阅读:
163
QuestionRotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Solution...
分类:
其他 时间:
2015-09-11 06:43:55
收藏:
0 评论:
0 赞:
0 阅读:
246
手动创建日志目录nodejs之日志管理玩转Nodejs日志管理log4js
分类:
Web开发 时间:
2015-09-11 06:43:45
收藏:
0 评论:
0 赞:
0 阅读:
277
Given a column title as appear in an Excel sheet, return its corresponding column number.For example:A -> 1B -> 2C -> 3…Z -> 26AA -> 27AB -> 28[分析]26进...
分类:
其他 时间:
2015-09-11 06:43:35
收藏:
0 评论:
0 赞:
0 阅读:
213
Solution 1Naive wayFirst, sort the array using Arrays.sort in Java. Than, scan once to find the majority element. Time complexity O(nlog(n)) 1 public ...
分类:
其他 时间:
2015-09-11 06:43:15
收藏:
0 评论:
0 赞:
0 阅读:
167
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer...
分类:
移动平台 时间:
2015-09-11 06:43:05
收藏:
0 评论:
0 赞:
0 阅读:
254
QuestionGiven an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in...
分类:
其他 时间:
2015-09-11 06:42:55
收藏:
0 评论:
0 赞:
0 阅读:
281