登陆进入服务器
[root@gzmtest_25 ~]# su - mysql
[mysql@gzmtest_25 ~]$ mysql.local
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 126000553
Server version: 5.5.27-l...
分类:
数据库 时间:
2014-10-17 11:54:33
阅读次数:
435
在进行android 开发的时候,经常用真机进行调试,有时候需要把手机中的sqlite数据复制出来。这时候就需要获取手机的root权限。通过 adb shell 命令可以获取权限。1.运行cmd 通过cd命令到android sdk/tools目录,输入adb shell输入 su输入chmod -...
分类:
移动开发 时间:
2014-10-17 09:58:42
阅读次数:
180
一、ORACLE的启动和关闭1、在单机环境下要想启动或关闭ORACLE系统必须首先切换到ORACLE用户,如下su - oraclea、启动ORACLE系统oracle>svrmgrlSVRMGR>connect internalSVRMGR>startupSVRMGR>quitb、关闭ORACLE...
分类:
数据库 时间:
2014-10-16 18:01:42
阅读次数:
345
1 #!/usr/bin/expect -f 2 # sudo apt-get install expect 3 # ./ssh.exp user passwd server 4 set user [lrange $argv 0 0] 5 set pass [lrange $argv 1 1] 6....
分类:
系统相关 时间:
2014-10-16 16:20:22
阅读次数:
341
Top-Down vs. Bottom-Up DIBsIf you are new to graphics programming, you might expect that a bitmap would be arranged in memory so that the top row of t...
分类:
其他好文 时间:
2014-10-15 21:27:41
阅读次数:
836
var a = $("#stringa").text(); if(a.length>8) { var b = a.substr(0,8); $("#stringa").text(b+"..");...
分类:
Web程序 时间:
2014-10-15 20:09:11
阅读次数:
254
openstackicehouse系列之问题处理众所周知搭建是很容易的、往往排错是很头疼的、下面我分享下我在搭建的过程中遇到的问题和解决办法。glance报错以及解决方法执行glance同步数据库的时候:su-s/bin/sh-c"glance-managedb_sync"glancesu-s/bin/sh-c"glance-managedb_sync"glance..
分类:
其他好文 时间:
2014-10-15 20:08:21
阅读次数:
246
在Server端,可以通过如下命令启动EM工具控制台:先切换到oracle用户下执行:[root@oracledb~]#su-oracle[oracle@oracledb~]$emctlstartdbconsole启动
关闭oem命令:emctlstopdbconsole
查看oem状态命令:emctlstatusdbconsole以下是启动过程:[oracle@danaly~]$emctlstartdbcons..
分类:
数据库 时间:
2014-10-15 15:09:31
阅读次数:
259
expect+ssh修改主机密码foripin`cat/tmp/myhosts`;do
expect-c"spawnssh-p33842$ip;expect*assword*{send\"myoldpasswd\r\"};expectroot@*{send\"echoroot:‘mynewpassword‘|/usr/sbin/chpasswd\r\"};expectroot@*{send\"ipaddr\r\"};expectof";done
分类:
其他好文 时间:
2014-10-15 04:41:50
阅读次数:
204
最近在学习Oracle数据库 ,公司用这个,学习到现在,唉!苦逼的程序员呀!也只能在这里发发牢骚了,这个是转载的 ,发完睡觉!oracle sql语句一、ORACLE的启动和关闭1、在单机环境下要想启动或关闭ORACLE系统必须首先切换到ORACLE用户,如下su - oraclea、启动ORACL...
分类:
数据库 时间:
2014-10-15 04:15:09
阅读次数:
211