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

linuxÄÚºËÎļþϵͳ£¨×ªÔØ£©

1.  
¸ÅÊö
 
 
¸ù¾ÝÒÔǰѧϰÄÚºËÔ´ÂëµÄ¾­Ñ飬ÔÚѧϰÎļþϵͳʵÏÖ֮ǰ£¬ÎÒ´ó¸Å¶¨Á˸öÄ¿±ê£º
1
¡¢
 
½¨Á¢Ò»¸öÇåÎúµÄÈ«¾Ö¸ÅÄΪ½«À´ÐèÒªÑо¿´úÂëϸ½Ú´òϼáʵ»ù´¡¡£
2
¡¢
 
Ö»Ñо¿ÐéÄâÎļþϵͳ VFS
µÄʵÏÖ£¬²»Ñо¿¾ßÌåÎļþϵͳ¡£
ΪʲôѡÔñ Linux 2.4.30
£¿ÒòΪ¿ÉÒԲο¼¡¶Linux
Ô´ÂëÇé¾°·ÖÎö¡·Ò»Ê飬¼õÉÙѧϰÄѶȡ£
 
 
1.1.             
»ù±¾¸ÅÄî
 1¡¢
Ò»¿é´ÅÅÌ£¨¿éÉ豸£©£¬Ê×ÏÈÒª°´ÕÕijÖÖÎļþϵͳ£¨Èç NTFS
£©¸ñʽ½øÐиñʽ»¯£¬È»ºó²ÅÄÜÔÚÆäÉϽøÐд´½¨Ä¿Â¼¡¢±£´æÎļþµÈ²Ù×÷¡£
ÔÚ Linux
ÖУ¬ÓГ°²×°”ÎļþϵͳºÍ“жÔØ”ÎļþϵͳµÄ¸ÅÄî¡£
Ò»¿é¾­¹ý¸ñʽ»¯µÄ“¿éÉ豸”£¨²»¹ÜÊǸոոñʽ»¯ÍêµÄ£¬Ã»Óд´½¨ÈκÎÃû¼ºÍÎļþ£»»¹ÊÇÒѾ­´´½¨ÁËĿ¼ºÍÎļþ£©£¬Ö»ÓÐÏȱ»“°²×°”£¬²ÅÄÜÈÚÈë Linux
µÄÎļþϵͳÖУ¬Óû§²Å¿ÉÒÔÔÚËüÉÏÃæ½øÐÐÕý³£µÄÎļþ²Ù×÷¡£
2
¡¢
 
Linux
°ÑĿ¼»òÆÕͨÎļþ£¬Í³Ò»¿´³É“Ŀ¼½Úµã”¡£Í¨³£Ò»¸ö“Ŀ¼½Úµã”¾ßÓÐÁ½¸öÖØÒªÊôÐÔ£ºÃû³ÆÒÔ¼°´ÅÅÌÉÏʵ¼Ê¶ÔÓ¦µÄÊý¾Ý¡£±¾ÎÄÖУ¬“Ŀ¼½Úµã”ÓÐʱ¼ò³ÆΪ“½Úµã”
“·ûºÅÁ´½Ó”ÊÇÒ»ÖÖÌØÊâµÄĿ¼½Úµã£¬ËüÖ»ÓÐÒ»¸öÃû³Æ£¬Ã»ÓÐʵ¼ÊÊý¾Ý¡£Õâ¸öÃû³ÆÖ¸ÏòÒ»¸öʵ¼ÊµÄĿ¼½Úµã¡£
3
¡¢
 
“½Ó¿Ú½á¹¹”£ºÔÚ Äں˴úÂëÖУ¬¾­³£¿ÉÒÔ¿´µ½Ò»Öֽṹ£¬Æä³ÉԱȫ²¿ÊǺ¯ÊýÖ¸Õ룬ÀýÈ磺
struct file_operations {
  struct module *owner;
  loff_t (*llseek) (struct file *, loff_t, int);
  ssize_t (*read) (struct file *, char *, size_t, loff_t *);
  ssize_t (*write) (struct file *, const char *, size_t, loff_t *);
  int (*readdir) (struct file *, void *, filldir_t);
  unsigned int (*poll) (struct file *, struct poll_table_struct *);
  int (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
  int (*mmap) (struct file *, struct vm_area_struct *);
  int (*open) (struct inode *, struct file *);
  int (*flush) (struct file *);
  int (*release) (struct inode *, struct file *);
  int (*fsync)


Ïà¹ØÎĵµ£º

mysql on suse linux ϵͳÃüÁî±Ê¼Ç

SLES 11
ÉèÖÃmysql·þÎñ×Ô¶¯Æô¶¯×´Ì¬
chkconfig mysql on
(chkconfig mysql off)
Ìí¼Ó/ɾ³ýmysql·þÎñ
/sbin/chkconfig --del mysql
/sbin/chkconfig --add mysql
²é¿´mysql°æ±¾
mysql -V

mysqld -V
ÆôÍ£ mysql
service mysql start
service mysql stop
service mysql restart
......

unbuntu linux bugzillaÅäÖùý³Ì

ÔÚvmÏ°²×°unbuntu linux server 9.04
°²×°Íê³É ²é¿´IPµØÖ· ifconfig
°²×°telnet sudo apt-get install xinetd telnetd
ÒòΪ²»ÐèҪ̫¶àÈËTELNET  ÔÝʱ²»×öÐÞ¸ÄÅäÖÃÎļþ¡£
°²×°FTP sudo apt-get install vsftpd
ͬÑù²»ÐèÒªÅäÖà ʹÓÃĬÈϵÄftp:ftpÓû§·ÃÎÊ
mysql
  sudo apt-get install mysql-server
apac ......

linux ssh ÎÞÃÜÂëµÇ½

ʹÓÃÒ»ÖÖ±»³ÆΪ"¹«Ë½Ô¿"ÈÏÖ¤µÄ·½Ê½À´½øÐÐsshµÇ¼. "¹«Ë½Ô¿"ÈÏÖ¤·½Ê½¼òµ¥µÄ½âÊÍ:Ê×ÏÈÔÚ¿Í»§¶ËÉÏ´´½¨Ò»¶Ô¹«Ë½Ô¿ £¨¹«Ô¿Îļþ£º~/.ssh/id_rsa.pub£» ˽ԿÎļþ£º~/.ssh/id_rsa£©
È»ºó°Ñ¹«Ô¿·Åµ½·þÎñÆ÷ÉÏ£¨~/.ssh/authorized_keys£©, ×Ô¼º±£ÁôºÃ˽Կ.ÔÚʹÓÃsshµÇ¼ʱ,ssh³ÌÐò»á·¢ËÍ˽ԿȥºÍ·þÎñÆ÷ÉϵĹ«Ô¿×öÆ¥Åä.Èç¹ûÆ¥Åä³É¹¦¾Í¿ ......

Linuxϳ£ÓÃÍøÂçÎļþ

1). /etc/sysconfig/network
Ö÷ÒªÓÃÓÚÉèÖÃÖ÷»úÃû³Æ£¨Host Name£©ÒÔ¼°ÄÜ·ñÆô¶¯Network¡£±ä¶¯´ËÎļþºóÐèÖØÆôLinux²ÅÄÜÉúЧ¡£
2). /etc/sysconfig/network-scrips/ifcfg-eth0
ÉèÖÃÍø¿¨²ÎÊý£¬ÈçGATEWAY,TYPE,DEVICE,NETMASK,IPADDR,USERCTLµÈ...
3). /etc/resolv.conf
Èç¹ûÒªÉèÖÃDNS¹¦ÄܽøÐÐÖ÷»úÃû³ÆºÍIPµÄ¶ÔÓ¦¡£ÄÇôresol ......

LinuxÏÂÍê³ÉµÄÒ»¸ö×÷Òµ³ÌÐò

Îĵµ´´½¨ÈÕÆÚ£º2010-02-19
£ÛÎļþ1: test06-08.c£Ý
    01    // P174: 2.±à³ÌÌâ (8)°ÑÓÐÐòµÄÁ½¸öÊý×éaºÍbºÏ²¢£¬ÒªÇóºÏ²¢ºóµÄÊý×éÒÀÈ»ÓÐÐò
    02   
    03    // The beginning of C program: test06-08.c.
 &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ