上一页 1 ··· 5 6 7 8 9 10 下一页
  2010年6月11日
摘要: I used to deploy our application into 200 centos machine, and these machines are far from my current office site. The deployment is simple.Firstly sync the code and build in the Head Linux ( one of the machine in the Linux farm). Then copy the build to the other 199 machines. Finally start the appli 阅读全文
posted @ 2010-06-11 21:57 RocZhang 阅读(248) 评论(1) 推荐(0) 编辑
  2010年5月14日
摘要: 1.The remote login toolssh, putty, vnc(xtightvnc),rdesktop,screenNote:1.1vncviewer hostname|IP: porter 1.2rdesktop -f hostname|IP # -f fullscreen 1.3.screen -S name #create terminal screen -ls # list the exsite terminal screen -x name #join one terminal 2. scp , winscp3. find, locate, which ,whereis 阅读全文
posted @ 2010-05-14 21:09 RocZhang 阅读(291) 评论(1) 推荐(2) 编辑
  2010年4月26日
摘要: 用VNCviewer(xtightviewer) 登录 VNCServer(xtightcvncserver) 也不能正常工作,键盘映射是错误的,输入‘s',输出一个’e‘。xtight 自己的vncserver 和vncviewer 都能工作。 一个临时的解决办法是:<!--[endif]-->export XKL_XMODMAP_DISABLE=1In VNC’s xstartup file:$HOME/.vnc/xstartupYou have to add the lineexport XKL_XMODMAP_DISABLE=1before/etc/X11/Xses 阅读全文
posted @ 2010-04-26 16:08 RocZhang 阅读(538) 评论(0) 推荐(0) 编辑
  2010年4月20日
摘要: Expect script introduction(from wiki):Expect is a Unix automation and testing tool, written by Don Libes as an extension to the Tcl scripting language, for interactive applications such as telnet, ftp, passwd, fsck,rlogin, tip, ssh, and others. It uses Unix pseudo terminals to wrap up subprocesses t 阅读全文
posted @ 2010-04-20 19:22 RocZhang 阅读(492) 评论(0) 推荐(0) 编辑
  2010年3月22日
摘要: 最近由于工作原因,有多台电脑,装有不同的操作系统:xp, win7, fedora , ubuntu. 最常用的一个需求,就是不同桌面之间远程的切换。在window平台下最容易的远程登录就是 mstsc, 以及桌面共享conf。 以及各种IM的桌面共享: MSN, communicator.加入Linux操作系统后,这些工具不能用。 就用putty, 和 winscp, scp 这样的工具在命令行上交互非常不方便。 于是想找以下远程桌面访问的软件,发现在Linux 下面很多。rdesktop , 可以很容易实现远程登录 ,如同mstsc: rdesktop -f IP.tsclient ,这是 阅读全文
posted @ 2010-03-22 17:36 RocZhang 阅读(1463) 评论(0) 推荐(0) 编辑
  2010年3月19日
摘要: VNC is useful to remotely to control one computer . 1. Install yum install vnc vnc-server2. Setting the vnc account edit the file : "vim /etc/sysconfig/vncservers" VNCSERVERS="1:root 2:roc" 3. Set the password for the different account As root user , run "vncpasswd" com 阅读全文
posted @ 2010-03-19 18:32 RocZhang 阅读(261) 评论(1) 推荐(0) 编辑
  2010年1月7日
摘要: There are different way and different level of communication between window and Linux, such as VNC and rdesktop for GUI login ( like mstsc for window platform).But the other way ssh is much easier to use.Window install ssh server (such FreeSSHd ) and start the ssh server, so the WindowsCywinwith ins 阅读全文
posted @ 2010-01-07 18:36 RocZhang 阅读(379) 评论(0) 推荐(0) 编辑
  2010年1月5日
摘要: Write it before forget it:In Batch script:Call Calls one batch program from another. Such as invoking one function( or code segment), or include function to replace the call expression tothe sub-batch.bat code segment.StartStarts a separate window to run a specified program or command. Like the back 阅读全文
posted @ 2010-01-05 11:07 RocZhang 阅读(478) 评论(0) 推荐(0) 编辑
  2009年12月18日
摘要: One error make me craze that the yum does not work for me in fedora8 for some days. Research it for a long time to fix it. Now share it.The error below:when you use yum to update or install , it will output below message "Errno -3] Error performing checksumTrying other mirror." Details in 阅读全文
posted @ 2009-12-18 19:13 RocZhang 阅读(7392) 评论(2) 推荐(1) 编辑
  2009年12月4日
摘要: 在 .bat 文件里面变量定义set var=XXX set var2=%var% XXX如果在循环里面,又变成为%%var比如:for %%i in (%ERRFILE%) do if %%~zi GTR 0 set HASERRFILE=1在VS 的project setting 里面如下引用$(var)$(var2)如果在LIUX/UNIX 下面的shell,里面变量统一引用var=XXX$var 微软的东西太大,向前向后兼容,或许不同的开发组不一样,导致很多东西不一致 ,比如这个变量,大大提高不遍历性。而LIUX/UNIX 下 shell 就一致的多,便利性大大提高。 阅读全文
posted @ 2009-12-04 10:31 RocZhang 阅读(209) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页