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

Linux use notes

-----------------------------
Based on Fedora 8 version:
-----------------------------
1. No common command like ifconfig in os?
Root cause is the standard search path not include /sbin and /usr/sbin. Try to include them in /etc/profile. As belows:
 #Kenny add /sbin and /usr/sbin here.
 export PATH=.:/sbin:/usr/sbin:$PATH
 
2. install package in Fedora?
 yum install "package name"
 yum upgrade "package name"
 rpm -qa | grep “samba”
 
3. install samba ui config program?
 a. yum install system-config-samba.
 b. set samba service is trusted services in firewall.
 c. set samba_enable_home_dirs and samba_export_all_ro in SELinux configure option.
 
4. VMware host connect with target, without network line.
  a. set vmvare network connect mode to NAT in right-bottom network icon, default is bridged mode;
  b. in host machine, try (cmd -> ipconfig /all). Check VMNET8's IP address, suppose it is 192.168.111.2;
  c. in target machine, set IP address the same network range in step b, like 192.168.111.3, and set Gateway and DNS
  to vmware NAT gateway ip in menu(if not sure, try DHCP first, and check info from network manager);
  d. restart target machine, host can ping the target ip now.
  Note: 1. No need to set host physical address, since it is not related to it.
        2. If host machine is connect by external network, then target can ping host machine IP, like 172.16.200.22.
           And target can also connect to Internet.
        3. For target connect Internet network, I use bridge connect mode and DHCP is ok too.
  ref: http://hi.baidu.com/msingle/blog/item/d8a730ed4f6ab6dfb31cb15c.html
 
5. Enable telnet server?
   1. query system whether has telnet and  telnet-server, if not have, in


相关文档:

linux只列出文件夹

ls -l|grep ^d    ----列出当前目录下的文件夹
ls -l|grep ^d|grep "tmp"  ----列出当前目录下明子含有"tmp"的文件夹
for dir in `ls -l ~/dxy/|grep ^d | awk '{print $9}'`  ---- awk '{print $9}' ,只print 文件夹的名字
do
echo "==== $dir"
cd ~/dxy;cd $dir/
t=`ls -l|grep ^d|grep " ......

Linux设备模型之input子系统详解(一)

------------------------------------------ 
本文系本站原创,欢迎转载! 
转载请注明出处:http://ericxiao.cublog.cn/ 
------------------------------------------ 
一:前言 
在键盘驱动代码分析的笔记中,接触到了input子系统.键盘驱动,键盘驱动将检测到的所有按键都上报给了input子系 ......

Linux设备模型之input子系统详解(二)

;           break; 
         } 
  
         if (type != EV_SYN) 
            &nbs ......

基于Linux的智能手机是未来的方向

随着硬件不断的发展,未来的智能手机将越来越接近PC的性能,一个强大的手机操作系统将是挖掘不断飞跃的手机硬件性能的关键,只有强大的操作系统才能支持各种不断发展的手机应用,如Linux系统对java的完美支持以及优越的多进程调度,摩托罗拉很早就推出基于Linux系统的手机,随着Google的Android操作系统的推出,另一个基于L ......

linux下与其他终端通讯 write出错

先用who命令查看所有登陆终端
#who -uH
输出如下:
NAME     LINE         TIME             IDLE          PID COMMENT
root     :0           2010-03-01 19:13   ?     & ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号