易截截图软件、单文件、免安装、纯绿色、仅160KB

【转】在Windows中显示Linux的图形界面

xmanager secureCRT结合使用
环境:在xp中安装虚拟机vmware ,host-only方式虚拟Linux系统。xp的ip为192.168.0.1,虚拟机Linux为192.168.0.88
在xp中安装xmanager和secureCRT ,默认情况下CRT不能显示图形界面,通过以下配置可以实现在Windows下的CRT里显示Linux中的oracle图形界面:
以oracle用户登陆Linux,修改.bash_profile
$ vi .bash_profile
在最后加上以下内容:
DISPLAY=192.168.0.1:0.0
export DISPLAY
然后 $source .bash_profile
就大功告成。以oracle用户登陆CRT,敲入dbca试试,可以显示出来图形界面的创建数据库。
本文转自:http://www.91linux.com/html/article/database/oracle/20080722/12996.html


相关文档:

linux命令行下中文文件名乱码的解决方法

linux命令行下中文文件名乱码的解决方法
首先查询支持的编码:
locale -a
如果没有你需要的编码,例如zh_CN.utf8
root运行: #dpkg-reconfigure locales
选择你需要的编码,用空格选中,可多选。tab选择“OK”,回车。
默认编码选择zh_CN.utf8
安装你所需要的编码。
修改/etc/profile,
注释掉
export LC ......

Linux下用PYTHON查找同名进程

1.可执行程序
os.system('pgrep %s > %s' % (process, output))
   pidfile = open("output", 'r')
   totalpid = len(pidfile.readlines())
   pidfile.close()
   if totalpid == 0 :
         &nbs ......

Linux中的延时函数及获取系统时间函数

应用层:
   #include <unistd.h>
 
   1、unsigned int sleep(unsigned int seconds); 秒级
   2、int usleep(useconds_t usec);              微秒级:1/10^-6 
 
   #define _PO ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号