windowsÉÏÓÃserv u ʵÏÖºÍlinuxÎļþ»¥´«
Ç°Ì᣺linuxÔÚÐéÄâ»úÉÏ£¬Ôݲ»ÖªµÀ²»ÔÚÐéÄâ»úÉÏÇé¿öÊÇÔõÑùµÄ¡£Ê¹ÓÃhost£onlyÁªÍø¡£
1.°²×°serv-u
2.linuxÉÏÉèÖÃip£¬Ê¹Ö®ÓëwindowÉÏVmnet1Á¬½ÓµÄipÔÚÒ»¸öÍø¶Î¡£ÔÒò¿ÉÄÜÊÇ£¬winÉϵÄVmnet1Ï൱ÓÚÖ÷»ú£¨192.168.1.1£©¡£
vi /etc/sysconfig/network-scripts/ifcfg-eth0 £º
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
NETWORK=192.168.0.1
#BROADCAST=192.168.1.255
HWADDR=00:0c:29:dc:a0:61
3.ping ÆäËüÍø¶Î²»Í¨¿ÉÒÔÊÔÊÔ£º
route add default Íø¹ØµØÖ·
Ïà¹ØÎĵµ£º
ÒÔÏÂÊǾ¹ý´ÓÍøÉϻ㼯¶ø³É£¬ÏÂÃæµÄÁ¬½ÓµÄ½éÉÜÒ²ÊDZȽÏÏêϸ£º
http://linux.chinaunix.net/techdoc/net/2008/07/26/1020404.shtml
linux NFS ÅäÖò½Öè
linux NFS ÅäÖò½Öè
NFS server¿ÉÒÔ¿´×÷ÊÇÒ»¸öFILE SERVER,Ëü¿ÉÒÔÈÃÄãµÄPCͨ¹ýÍøÂ罫Զ¶ËµÃNFS SERVER¹²Ïí³öÀ´µÄµµ°¸MOUNTµ½×Ô¼ºµÄϵͳÖУ¬Ô ......
¿´linuxÄں˺ÜÈÝÒ×±»struct address_space Õâ¸ö½á¹¹ÃÔ»ó£¬ËüÊÇ´ú±íij¸öµØÖ·¿Õ¼äÂð£¿Êµ¼ÊÉϲ»Êǵģ¬ËüÊÇÓÃÓÚ¹ÜÀíÎļþ£¨struct inode)Ó³Éäµ½ÄÚ´æµÄÒ³Ãæ(struct page)µÄ£»ÓëÖ®¶ÔÓ¦£¬address_space_operations ¾ÍÊÇÓÃÀ´²Ù×÷¸ÃÎļþÓ³Éäµ½ÄÚ´æµÄÒ³Ã棬±ÈÈç°ÑÄÚ´æÖеÄÐÞ¸Äд»ØÎļþ¡¢´ÓÎļþÖжÁÈëÊý¾Ýµ½Ò³Ã滺³åµÈ¡£
& ......
Linux + JDK + Tomcat + MySQL + JDBC °²×°ÊÖ¼Ç
Ò»¡¢Red Hat Linux
1.·ÖÇø
| swap & ......
#include <unistd.h>
#include <fcntl.h>
#include
<sys/types.h>
#include <sys/ioctl.h>
#include
<stdlib.h>
#include <stdio.h>
#include
<linux/soundcard.h>
/* ÏÂÃæµÄÈý¸ö²ÎÊýÊǸú¾ßÌåÎļþÏà¹ØµÄ£¬ÎļþʲôÑù£¬¾ÍÒªÉèÖóÉʲôÑù */
#define RATE 11025&nbs ......