安装mysql出现Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH),提示解决方法[root@localhost software]# cd mysql-5.5.11[root@localhost mysql-5.5...
分类:
其他好文 时间:
2014-07-09 15:23:41
阅读次数:
228
原因:没有配置resolv.conf
解决方法:
到/etc目录下配置resolv.conf加入nameserver IP,如:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
保存再次运行上面命令就可以。
关键一点 serach那一行要在nameserver的后面...
分类:
其他好文 时间:
2014-07-09 13:13:24
阅读次数:
137
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:
其他好文 时间:
2014-07-08 23:12:45
阅读次数:
298
题目
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 ...
分类:
其他好文 时间:
2014-07-08 21:43:08
阅读次数:
219
情景:在一台真机中运行项目。
提示:Could not change executable permissions on the application.
解决:真机中已经有一个同名的应用。bundle identifier 一样。删掉那个应用就可以了。
参考:http://stackoverflow.com/questions/12547706/could-not-change-execu...
分类:
移动开发 时间:
2014-07-08 14:22:34
阅读次数:
289
[root@centos64x64mysql-5.1.65]#/etc/init.d/mysqldrestartMySQLmanagerorserverPIDfilecouldnotbefound![FAILED]解决办法第一,先删除rm-rf/var/lib/mysql,然后重新初始化/usr/local/mysql/bin/mysql_install_db--user=mysql
分类:
数据库 时间:
2014-07-08 09:19:32
阅读次数:
281
Description
The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city counci...
分类:
其他好文 时间:
2014-07-06 10:53:28
阅读次数:
185
portlet 在部署之后,报异常 - Could not initialize class com.liferay.util.portlet.PortletProps。
先简述一下 portlet.properties,开发 portlet 过程中,可自己定义类似于 portal.properties 的配置文件 - portlet.properties。
步骤如下:
1. 在 c...
分类:
其他好文 时间:
2014-07-06 10:26:19
阅读次数:
285
今天更新为163的源后,yum的时候报错:GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5.
解决方案:vi /etc/yum.repos.d/CentOS-Base.repo
把文件里所有的RPM-GPG-KEY-CentOS-5更改为R...
分类:
其他好文 时间:
2014-07-06 08:39:27
阅读次数:
404
Description: Given two strings, write a method to decide if one is a permutation of the other.We could use the same idea from CTCI 1.1. The only diffe...
分类:
其他好文 时间:
2014-07-05 21:43:01
阅读次数:
231