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
相关文档:
虽然mplayer的安装方法已经不是什么技术活,但最近有不少同学在询问我关于mplayer的安装方法的问题。我一贯推荐它们源代码包的安装,虽然步骤有些复杂,但解码器和二进制程序都尽在掌握,心里踏实。
===
1
下载如下这些软件:
all-20071007.tar.bz2
windows-all-20071007.zip
Blue-1.7.tar.bz2
MPlayer-1.0rc2.ta ......
Linux源码安装Subversion
先从subversion的官方网站下载源码,subversion.apache.org
解压开到subversion-xxx 然后configure
然后一般就是找不到某某库的错误,以下说明
1.找不到sqlite3
从sqlite网站上下载sqlite3的源码,然后把sqlite3.c拷贝到 subversion-xxx/sqlite-amalgamation/sqlite3.c
2.找不到apr
......
o: 编译的目标文件
a: 静态库,其实就是把若干o文件打了个包
so: 动态链接库(共享库)
lo: 使用libtool编译出的目标文件,其实就是在o文件中添加了一些信息
la: 使用libtool编译出的库文件,其实是个文本文件,记录同名动态库和静态库的相关信息
1 libtool的工作原理
libtool 是一个通用库支持脚本,将使用 ......
学校服务器的一个windows虚拟机开启了Desktop共享,这样可以在配置不高的终端使用高性能的机器,除了windows客户端访问外,在Ubuntu里可以通过自带的 rdesktop访问,该程序为命令行形式。参数较多,比较有用的是提供远程与本地交互的-r参数。
如:
rdesktop -r disk:floppy=/home/xiajing/t 192.168.111.111 ......
什么是USB?
USB是英文Universal Serial Bus的缩写,意为通用串行总线。USB最初是为了替代许多不同的低速总线(包括并行、串行和键盘连接)而设计的,它以单一类型的总线连接各种不同的类型的设备。USB的发展已经超越了这些低速的连接方式,它现在可以支持几乎所有可以连接到PC上的设备。最新的USB规范修订了理论上高达480 ......