04 2011 档案

摘要:cmd下切换到 mysql 安装目录我的安装路径是D:\wamp\bin\mysql\mysql5.1.36\bin前提:mysql用户root密码为空.输入mysql -u root mysqlmysql> 状态下输入update user set password=password('新密码') where user='root';回显Query OK, 0 rows affected (0.00 sec)Rows matched: 2 Changed: 0 Warnings: 0mysql> 状态下输入 FLUSH PRIVILEGES;回显Q 阅读全文
posted @ 2011-04-28 12:53 glose 阅读(665) 评论(0) 推荐(0) 编辑
摘要:eclipse中连接不上hdfs,显示refuse connection。解决:a.取消hdfs的安全模式 hadoop dfsadmin -safemode leave b. 在eclipse的hdfs 对话框“edit hadoop location” 的host 里不要填localhost,改为你namenode的机器名 不行的话再为你的IP地址 应 该就可以了. 阅读全文
posted @ 2011-04-24 20:39 glose 阅读(1729) 评论(0) 推荐(0) 编辑
摘要:ssh 的 配置sudo apt-get install sshssh-keygen -t rsa -f ~/.ssh/id_rsa然后敲回车 就 行 了生成 私钥和 公钥 分别 存放在 id_rsa 和 id_rsa.pub中cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys下面 就 可以通过 cat ~/.ssh/id_rsa.pub >>~/.ssh/authorized_keys 实现 整个集群 共享. 阅读全文
posted @ 2011-04-24 19:02 glose 阅读(187) 评论(0) 推荐(0) 编辑
摘要:PHP开发和服务器运行环境首选LAMP组合,即Linux+Apache+Mysql+Php/Perl /Python,能最优化服务器性能。如何在本地电脑Ubuntu 中安装和配置LAMP环境搭建?Ubuntu1010本身就是基于Linux内核,所以Linux是现成的了。使用Ubuntu LAMP Server软件包可以很简单地实现Linux下Apache,Mysql和Php的统一安装和配置,也不再需要一个一个来安装配置了。Ubuntu环境下如何安装LAMP组件?使用Ubuntu界面管理器:系统->系统管理->新立得软件包管理器->编辑->使用任务标记分组软件包-> 阅读全文
posted @ 2011-04-15 19:29 glose 阅读(367) 评论(0) 推荐(0) 编辑
摘要:可以在终端顺利启动Eclipse,但是鼠标双击,或者用起动器启动就会出现如下的内容:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:…我碰到这个问题的原因是,我在~/.bashrc中加的Java的环境变量。这个文件在你启动终端的时候会被读取,但他并非全局的。所以双击是找不到jre的。解决 阅读全文
posted @ 2011-04-14 20:27 glose 阅读(2679) 评论(0) 推荐(0) 编辑
摘要:http://blog.sina.com.cn/s/blog_537770820100bxmf.htmlhttp://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/http://hadoop.apache.org/common/docs/current/single_node_setup.htmlhadoop单机配置过程:单机基本配置信息:ubuntu10.10 JDK1.6 hadoop-0.21.0 Eclipse1、Ubuntu在安装时候需要把SSH Server安装上, 阅读全文
posted @ 2011-04-14 20:25 glose 阅读(1413) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示