Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which represents the number 123.Find the total sum of al...
分类:
其他好文 时间:
2015-06-12 14:55:41
阅读次数:
100
在本地开发环境没问题,但是发布到服务器出现:未能写入输出文件“c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\106f9ae8\cc0e1169\App_global.asax.haz99mum...
分类:
移动开发 时间:
2015-06-12 14:45:14
阅读次数:
121
Docker的安装1.1 环境说明操作系统: Red Hat Enterprise Linux Server release 7.1软件环境: 系统已经配置了yum安装源软件版本: docker-1.5.0-28.el7.centos.x86_64.rpm1.2 安装过程#使用root用户su ro...
分类:
其他好文 时间:
2015-06-12 14:40:15
阅读次数:
98
安装crontab: [root@CentOS ~]# yum install vixie-cron [root@CentOS ~]# yum install crontabs说明: vixie-cron软件包是cron的主程序; crontabs软件包是用来安装、卸装、或列举用来驱动 cron 守...
分类:
其他好文 时间:
2015-06-12 13:20:56
阅读次数:
115
part /boot -fstype ext3 -size=150 part swap -size=2048 part pv.01 -size=1 -growvolgroup vg_root pv.01logvol / -vgname=vg_root -size=10240 -name=lv...
分类:
其他好文 时间:
2015-06-12 13:12:37
阅读次数:
489
先检查/var/log/messages和/var/log/secure中是否有错误提示,有则修复。 我碰到的情况是账号密码过期了,需要从新设置,在/var/log/secure中查到 Jun?12?11:06:40?ServiceVM0787?crontab:?pam_unix(crond:...
分类:
数据库 时间:
2015-06-12 11:55:43
阅读次数:
173
1、查询当前内存使用情况和释放缓存的参数redismaster 10:29:24 [~] [root] free -m total used free shared buffers cachedMem: 7872...
分类:
其他好文 时间:
2015-06-12 11:38:39
阅读次数:
127
1. cd: 转到目录2. ls: 列出文件和目录,dir也可以,区别未知3. tar xvf xxx /root/xxxx: 解压缩文件4. tar czvfxxx /root/xxxx: 压缩文件5. ifconfig: 显示IP6. ifconfig xxx(网卡名) 192.168.0.1 ...
分类:
系统相关 时间:
2015-06-12 09:57:41
阅读次数:
143
为root用户设置密码
sudo passwd root
有时安装linux后没有设置root密码,这样无法切换root用户,也不能在开机登录界面用root用户登录;解 决方法就是为root用户设置密码。
切换root用户
su root...
分类:
系统相关 时间:
2015-06-12 01:02:19
阅读次数:
158