摘要: down http://www.strazzere.com/android/tcpdumpadb devicesadb rootadb remountadb push tcpdump /system/bin/tcpdumpadb shell chmod 6755 /system/bin/tcpdumpadb shell tcpdump -i any -p -s 0 -w /sdcard/capture.pcapadb pull /sdcard/capture.pcap . 阅读全文
posted @ 2013-03-17 17:41 fr5s 阅读(210) 评论(0) 推荐(0) 编辑
摘要: yum list mysql*yum -y install mysql-serveryum -y install mysql-develcp /usr/share/mysql/my-small.cnf /etc/my.cnfvi /etc/my.cnf[client]port = 3306socket = /var/lib/mysql/mysql.sockdefault-character-set=utf8[mysqld]port = 3306datadir =/var/lib/mysqlsocket ... 阅读全文
posted @ 2013-01-15 22:07 fr5s 阅读(201) 评论(0) 推荐(0) 编辑
摘要: JAVA_OPTS="$JAVA_OPTS -Xverbose:memory -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.8.8.28"JAVA_OPTS="$JAVA_OPTS -Xverbose:memory -Dcom.sun.management.jmxremote.port=79 阅读全文
posted @ 2012-12-18 15:36 fr5s 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 新建用户insert into mysql.user(Host,User,Password) values("localhost","用户名",password("密码"));flush privileges;授权grant all privileges on 数据库.* to 用户名@localhost; #所有权限grant select privileges on 数据库.* to 用户名@localhost; #查grant insert privileges on 数据库.* to 用户名@localhost; #写gran 阅读全文
posted @ 2012-12-18 13:49 fr5s 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 安装环境yum install gccyum install gcc-c++yum install ncurses-develyum install bison建立数据目录mkdir /var/mysqlmkdir /var/mysql/data安装cmakewget http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gztar -zxvf cmake-2.8.4.tar.gzcd cmake-2.8.4./configure --prefix=/usr/local/cmake/make && make install安装mysql 阅读全文
posted @ 2012-12-18 13:17 fr5s 阅读(875) 评论(0) 推荐(0) 编辑