码迷,mamicode.com
首页 >  
搜索关键字:root    ( 51246个结果
flash_image
1:flash_image介绍    也许很少人使用该工具,但flash_image对于调试uboot或者kernel和root相关的人来说用处还是比较大。falsh_image的使用方法: usage: flash_image type [partition|device] [image_file_path] type:    MTD、EMMC、INAND partition:根据平...
分类:其他好文   时间:2014-06-28 09:17:22    阅读次数:231
YUM安装调试以及命令详解
背景,需要安装cacti,google了很多安装资料,需要先yum安装一些准备lib包,比如snmp以及openssl等等。[root@mysqlvm2 ~]# yum install net-snmp-develLoaded plugins: rhnplugin, securityThis system is not registered with RHN.RHN support will be...
分类:其他好文   时间:2014-06-28 08:25:57    阅读次数:323
试用cocos2dx 3.1.1
终于有时间,开始全力投入cocos2dx开发了,之前也积累了不少,不过都是基于2.2.2的,3.1.1的版本也出来一段时间,应该算是成熟了,今天就试试。一个最大的变化就是不需要cygwin了,直接使用ndk中的。要选安装好python,ant,ndk,andoroid sdk等。 同样,使用设置ANDROID_SDK_ROOT,ANT_ROOT,NDK_ROOT等三个环境变量,这个和以前有些不一...
分类:其他好文   时间:2014-06-28 08:20:36    阅读次数:239
LeetCode——Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 / ...
分类:其他好文   时间:2014-06-28 07:31:28    阅读次数:214
FATAL ERROR: Could not find ./bin/my_print_defaults
我勒个去,上午刚搞好MySQL的编译安装,玛德一重启计算机然后重启服务又报错:[root@localhostmysql-5.5.13]#/usr/local/mysql/scripts/mysql_install_db--user=mysqlFATALERROR:Couldnotfind./bin/my_print_defaultsIfyoucompiledfromsource,youneedtorun‘makeinstall‘tocopyt..
分类:其他好文   时间:2014-06-28 06:21:53    阅读次数:313
Shell脚本批量创建用户并随机生成密码
要求:批量创建10个系统账号oldboy01-oldboy10,并设置生成密码(密码不同).实现脚本:#!/bin/bash #Question3 foriin$(seq-w10) do useradd-s/bin/basholdboy$i echo"password$i"|md5sum|tee-apasswd.txt|passwd--stdinoldboy$i done脚本执行效果:[root@localhostq4]#shq4.sh Cha..
分类:其他好文   时间:2014-06-28 06:21:21    阅读次数:340
linux下数据库双向同步之mysql
环境:lamp下搭建一个博客然后实现同步这里:以wordpress为例,进行实施具体操作如下:一、环境配置1.自动获取ip地址,虚拟机设置为桥接2.[root@gjpslave~]#yuminstallwget#换成163的yum源:cd/etc/yum.repos.dmvCentOS-Base.repoCentOS-Base.repo.savewgetmirrors.163.com/.he..
分类:数据库   时间:2014-06-28 06:07:06    阅读次数:698
Fabric安装
安装过程需要联网1.下载安装python因为fabric需要运行在python2.5以上版本,所以下载包的时候要注意版本.我用CentOS5,自带了Python2.4.3,所以需要先升级.[root@clust2~]#tarzxvfPython-2.7.7.tgz[root@clust2~]#mvPython-2.7.7python-2.7.7[root@clust2~]#cdpython-2.7.7/[root@..
分类:其他好文   时间:2014-06-28 00:08:14    阅读次数:226
【LeetCode】 Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:其他好文   时间:2014-06-27 23:13:24    阅读次数:218
scp出现ssh port 22: Connection refused 问题解决具体步骤
[root(0)@sys1109:20:29/home/work/Code_release/bj]#scp./release.shroot@192.168.161.151:/Users/a2014102/Downloadsssh:connecttohost192.168.161.151port22:ConnectionrefusedlostconnectionSolution:Onepossiblereasonisthatbecausethesshserverdaemon,orsshd, isnotloade..
分类:其他好文   时间:2014-06-27 07:06:12    阅读次数:499
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!