Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LINUXʹÓüǼ

-------------------------------------------------------------------------------------------------------
By:yuyongbao
QQ:673360056
£±¡¢  linuxϹ²ÏíÎļþ¡£°²×°smbserver¡£È»ºóÔÚ¡¶ÏµÍ³ÉèÖá·Öдò¿ª¡¶·þÎñÆ÷ÉèÖ᷵ġ¶smb¡¡server¡··þÎñÆ÷£¬ÊäÈëÏà¹Ø·¾¶¼´¿É¡£È»ºóÔÚwindowÖУ¬Ê¹ÓÃÍøÂçÁÚ¾Ó²éÕÒlinux¡££¨×¢Òâ:linuxϵÄwork groupÒªÓëwindowÒ»ÖÂ.Ñ¡Ôñshare .²»ÒªÃÜÂëÑ¡Ï.×îºó,ÖØÆôsmb… 
£²¡¢  ÖØÆô·þÎñµÄÃüÁîΪ:/etc/init.d/smb restart
£³¡¢  linuxÏÂÉÏÍøÉèÖ᣽«windowϵÄÁ½¸övmwareÐéÄâÍø¿¨ÉèÖóÉ×Ô¶¯»ñÈ¡IP£¬È»ºó£¬ÔÚlinuxϵÄÍøÂçÉèÖÃÀÉèÖÃIPΪÓëwindowͬһ¸öÍø¶Î,È»ºóÉèÖÃDNSÓëwindowÏàͬ¼´¿É¡£ÏÖÔÚÉèÖõÄlinux IPΪ10.10.70.111¡£
£´¡¢  tar –jxvf ÓÃÀ´½â.tar.bz2ºó׺µÄÎļþ¡£¶øzxvfÔòÓÃÀ´½â.tar.gzºó׺µÄÎļþ¡£
£µ¡¢ ½â°ü£ºtar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName´ò°üĿ¼¡£»¹¿ÉÒÔ¼ÓÉÏzcvf»òÊÇjcvfÑ¡Ïî±ä³É.tar.gz»ò.tar.bz2µÄ¸ñʽ
£¶¡¢  .ѹËõÒ»×éÎļþΪtar.gzºó׺¡£
# tar cvf backup.tar /etc
#gzip -q backup.tar
»ò
# tar cvfz backup.tar.gz /etc/
2.ÊÍ·ÅÒ»¸öºó׺Ϊtar.gzµÄÎļþ¡£
#gunzip backup.tar.gz
#tar xvf backup.tar
»ò
# tar xvfz backup.tar.gz
3.ÓÃÒ»¸öÃüÁîÍê³ÉѹËõ
#tar cvf - /etc/ | gzip -qc > backup.tar.gz
4.ÓÃÒ»¸öÃüÁîÍê³ÉÊÍ·Å
# gunzip -c backup.tar.gz | tar xvf -
5.ÈçºÎ½â¿ªtar.ZµÄÎļþ£¿
# tar xvfz backup.tar.Z
»ò
# uncompress backup.tar.Z
#tar xvf backup.tar
6.ÈçºÎ½â¿ª.tgzÎļþ£¿
#gunzip backup.tgz
7.ÈçºÎѹËõºÍ½âѹËõ.bz2µÄ°ü£¿
#bzip2 /etc/smb.conf
Õ⽫ѹËõÎļþsmb.conf³Ésmb.conf.bz2
#bunzip2 /etc/smb.conf.bz2
Õ⽫ÔÚµ±Ç°Ä¿Â¼Ï»¹Ô­smb.conf.bz2Ϊsmb.conf
×¢: .bz2ѹËõ¸ñʽ²»ÊǺܳ£Óã¬Äã¿ÉÒÔman bzip2
£·¡¢  chmod –R +777 filename      ÆäÖÐ-RΪµÝ¹é£¬¿É½øÈë×ÓĿ¼¡£
£¸¡¢  ¡«£¯´ú±íµ±Ç°Óû§»·¾³¡£
£¹¡¢  “$PATH”ÃüÁîΪÊä³öµ±Ç°Â·¾¶¡£
£±£°¡¢       ÎÒÃDZØÐ뿪ÆôPC»úµÄNFS·þÎñ£¬¾ßÌåÉèÖÃÈçÏÂ
£±¡¢ÔÚLINUXÃüÁî·ûÏÂÔËÐÐsetup£¬ÔÚsystem servicesÀïÃæÑ¡ÖÐnfs·þÎñ£¬È»ºó±£´æÍ˳ö¡£
£²¡¢Ö´ÐÐvi /etc/exports£¬ÔÚÀïÃæÌí¼ÓÒ»ÐУº/YF2410/r


Ïà¹ØÎĵµ£º

ʹÓÃGnu gprof½øÐÐLinuxƽ̨ϵijÌÐò·ÖÎö

O.S ʹÓÃGnu gprof½øÐÐLinuxƽ̨ϵijÌÐò·ÖÎö
¹Ø ¼ü ´Ê£ºgprof callgraph º¯ÊýÏûºÄµÄʱ¼ä LinuxÓ¦Ó÷ÖÎö
ÔĶÁÌáʾ£º±¾ÎĽéÉÜÁËÈçºÎʹÓÃGnu gprof ¶ÔLinuxƽ̨ϵÄÏÖÓгÌÐò½øÐÐÓÅ»¯·ÖÎöºÍÉú³É³ÌÐòµ÷ÓÃͼ¡£Ö÷ҪƫÖØÓÚ¶ÔÉú³ÉºÍʹÓÃÁ÷³Ìͼ×÷½éÉÜ¡£
Gprof ¼ò½é:
    Gprof¹¦ÄÜ£º´òÓ¡³ö³ÌÐòÔËÐÐÖи÷¸öº¯ÊýÏûºÄ ......

Linux——½¨Á¢½»²æ±àÒë»·¾³£¨gcc£©

windowsÖ÷»úºÍLinuxÐéÄâ»úÉèÖÃÎļþ¼Ð¹²Ïí
µÚÒ»²½£º´ò¿ªÐéÄâ»ú µãvm-----install vmtools
µÚ¶þ²½£º¿ªÊ¼ÐéÄâ»úLinux
ÔÚÖն˼üÈëÒ»ÏÂÃüÁî
cp /mnt/cdrom/VMwareTools-6.0.0-45731.tar.gz /usr/tmp
cd /usr/tmp
tar xzvf VMwareTools-6.0.0-45731.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
һ·»Ø³µ£¬µÈ¿´µ ......

Linux——linuxÃüÁ


NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
1
ÏÔʾĿ¼ÐÅÏ¢
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
#
ls
ls -a
ÏÔʾËùÓÐÎļþ£¬°üº¬Òþ²Ø¡£
#
ls
ls -al
ÏÔʾËùÓÐÎļþµÄÏêϸÐÅÏ¢¡£
2
²é¿´Â·¾¶
#
pwd
pwd
......

s3c2410ƽ̨ÏÂlinuxËļü°´¼üÇý¶¯³ÌÐò

#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif
#include<linux/config.h>
#include<linux/module.h>
#include<linux/version.h>
#include<linux/init.h>
#include<linux/kernel.h>
#include<linux/errno.h>
#include<linux/sche ......

linux sock_rawԭʼÌ×½Ó×Ö±à³Ì

from:http://blog.chinaunix.net/u2/62281/showart_1096746.html
sock_rawԭʼÌ×½Ó×Ö±à³Ì¿ÉÒÔ½ÓÊÕµ½±¾»úÍø¿¨ÉϵÄÊý¾ÝÖ¡»òÕßÊý¾Ý°ü,¶ÔÓë¼àÌýÍøÂçµÄÁ÷Á¿ºÍ·ÖÎöÊǺÜÓÐ×÷ÓõÄ.Ò»¹²¿ÉÒÔÓÐ3ÖÖ·½Ê½´´½¨ÕâÖÖsocket
 
1.socket(AF_INET, SOCK_RAW, IPPROTO_TCP|IPPROTO_UDP|IPPROTO_ICMP)·¢ËͽÓÊÕipÊý¾Ý°ü
2.socket(PF_PACK ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ