锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产成人亚洲欧美,日韩精品av一区二区三区,亚洲综合电影http://www.aygfsteel.com/tomjamescn/category/41505.htmlstudy java Platform....J2SE J2MM J2EE...zh-cnSun, 18 Oct 2009 07:01:16 GMTSun, 18 Oct 2009 07:01:16 GMT60[杞琞linux鍒嗗尯鎿嶄綔http://www.aygfsteel.com/tomjamescn/archive/2009/10/17/298688.htmltomjamescntomjamescnSat, 17 Oct 2009 08:37:00 GMThttp://www.aygfsteel.com/tomjamescn/archive/2009/10/17/298688.htmlhttp://www.aygfsteel.com/tomjamescn/comments/298688.htmlhttp://www.aygfsteel.com/tomjamescn/archive/2009/10/17/298688.html#Feedback0http://www.aygfsteel.com/tomjamescn/comments/commentRss/298688.htmlhttp://www.aygfsteel.com/tomjamescn/services/trackbacks/298688.html
linux 鍒嗗尯鎿嶄綔璇曢獙
=============
涓錛氳瘯楠岀幆澧?/strong>
 
1.vmware铏氭嫙鏈?br /> 2.linux9.0
3.璁劇疆涓ゅ潡紜洏
 
=============
浜岋細(xì)璇曢獙姝ラ
 
1.鍦╨inux9.0涓畨瑁呯浜屽潡紜洏錛?br /> 2.浣跨敤fdisk宸ュ叿瀵圭浜屽潡紜洏鍒嗗尯錛?br /> 3.鏍煎紡鍖栧垎鍖猴紱
4.鎸傝澆鍒嗗尯鍒扮郴緇熺洰褰曪紱
5.瀵規(guī)寕杞界偣榪涜瀛樺彇錛?br /> 6.鍗歌澆鎸傝澆鐐癸紱
7.璁劇疆緋葷粺鍚姩鑷姩鎸傝澆鍒嗗尯錛?/div>
 
=============
涓夛細(xì)鍒嗗尯宸ュ叿
 
1.fdisk浣跨敤
鍥犱負(fù)鎴戜嬌鐢ㄧ殑鏄袱鍧梥csi紜洏錛屾晠絎簩鍧楃‖鐩樿璇嗗埆涓簊db
鏌ョ湅sdb鐨勫垎鍖烘儏鍐碉紝鍥犱負(fù)鏄柊紜洏錛屾墍浠ユ病鏈変換浣曞垎鍖轟俊鎭紱
[root@www root]# fdisk -l /dev/sdb
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
 
2.瀵箂db紜洏榪涜鍒嗗尯鎿嶄綔
[root@www root]# fdisk /dev/sdb
Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition   //鍒犻櫎鍒嗗尯錛?br />    l   list known partition types
   m   print this menu    //鎵撳嵃鎿嶄綔鑿滃崟錛?br />    n   add a new partition   //寤虹珛鏂板垎鍖猴紱
   o   create a new empty DOS partition table
   p   print the partition table  //鎵撳嵃鍒嗗尯琛紱
   q   quit without saving changes  //涓嶄繚瀛樺垎鍖鴻〃錛屾帹鍑猴紱
   s   create a new empty Sun disklabel
   t   change a partition's system id  //璇ヨ〃鍒嗗尯鐨刬d琛ㄧず錛?br />    u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit  //淇濆瓨鍒嗗尯琛紝鎺ㄥ嚭錛?br />    x   extra functionality (experts only)
 
3.寤虹珛涓誨垎鍖?/strong>
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-522, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-522, default 522): +500M
Command (m for help): p
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1        62    497983+  83  Linux
 
4..鍒涘緩鎵╁睍鍒嗗尯錛屾渶濂藉皢紜洏鐨勬墍鏈夊墿浣欑┖闂撮兘浣滀負(fù)鎵╁睍鍒嗗尯
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 2
First cylinder (63-522, default 63):
Using default value 63
Last cylinder or +size or +sizeM or +sizeK (63-522, default 522):
Using default value 522
Command (m for help): p
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1        62    497983+  83  Linux
/dev/sdb2            63       522   3694950    5  Extended
 
5.鍒涘緩閫昏緫鍒嗗尯
Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
l
First cylinder (63-522, default 63):
Using default value 63
Last cylinder or +size or +sizeM or +sizeK (63-522, default 522): +500M
Command (m for help): p
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1        62    497983+  83  Linux
/dev/sdb2            63       522   3694950    5  Extended
/dev/sdb5            63       124    497983+  83  Linux
Command (m for help):
 
6.鏀瑰彉鍒嗗尯鐨勭郴緇熶唬鐮?/strong>
Command (m for help): t
Partition number (1-5): 5
Hex code (type L to list codes): L
 0  Empty           1c  Hidden Win95 FA 70  DiskSecure Mult bb  Boot Wizard hid
 1  FAT12           1e  Hidden Win95 FA 75  PC/IX           be  Solaris boot
 2  XENIX root      24  NEC DOS         80  Old Minix       c1  DRDOS/sec (FAT-
 3  XENIX usr       39  Plan 9          81  Minix / old Lin c4  DRDOS/sec (FAT-
 4  FAT16 <32M      3c  PartitionMagic  82  Linux swap      c6  DRDOS/sec (FAT-
 5  Extended        40  Venix 80286     83  Linux           c7  Syrinx
 6  FAT16           41  PPC PReP Boot   84  OS/2 hidden C:  da  Non-FS data
 7  HPFS/NTFS       42  SFS             85  Linux extended  db  CP/M / CTOS / .
 8  AIX             4d  QNX4.x          86  NTFS volume set de  Dell Utility
 9  AIX bootable    4e  QNX4.x 2nd part 87  NTFS volume set df  BootIt
 a  OS/2 Boot Manag 4f  QNX4.x 3rd part 8e  Linux LVM       e1  DOS access
 b  Win95 FAT32     50  OnTrack DM      93  Amoeba          e3  DOS R/O
 c  Win95 FAT32 (LB 51  OnTrack DM6 Aux 94  Amoeba BBT      e4  SpeedStor
 e  Win95 FAT16 (LB 52  CP/M            9f  BSD/OS          eb  BeOS fs
 f  Win95 Ext'd (LB 53  OnTrack DM6 Aux a0  IBM Thinkpad hi ee  EFI GPT
10  OPUS            54  OnTrackDM6      a5  FreeBSD         ef  EFI (FAT-12/16/
11  Hidden FAT12    55  EZ-Drive        a6  OpenBSD         f0  Linux/PA-RISC b
12  Compaq diagnost 56  Golden Bow      a7  NeXTSTEP        f1  SpeedStor
14  Hidden FAT16 <3 5c  Priam Edisk     a8  Darwin UFS      f4  SpeedStor
16  Hidden FAT16    61  SpeedStor       a9  NetBSD          f2  DOS secondary
17  Hidden HPFS/NTF 63  GNU HURD or Sys ab  Darwin boot     fd  Linux raid auto
18  AST SmartSleep  64  Novell Netware  b7  BSDI fs         fe  LANstep
1b  Hidden Win95 FA 65  Novell Netware  b8  BSDI swap       ff  BBT
Hex code (type L to list codes):b
Changed system type of partition 5 to b (Win95 FAT32)
Command (m for help): p
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1        62    497983+  83  Linux
/dev/sdb2            63       522   3694950    5  Extended
/dev/sdb5            63       124    497983+   b  Win95 FAT32

7.鍒涘緩閫昏緫鍒嗗尯sdb6錛屽茍灝嗗叾杞崲涓簊wap綾誨瀷錛?/strong>
Command (m for help): p
Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1        62    497983+  83  Linux
/dev/sdb2            63       522   3694950    5  Extended
/dev/sdb5            63       124    497983+   b  Win95 FAT32
/dev/sdb6           125       186    497983+  82  Linux swap
8.淇濆瓨鍒嗗尯琛ㄤ俊鎭紱閲嶅惎璁$畻鏈猴紱
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
[root@www root]# reboot
 

==============
鍥涳細(xì)鏍煎紡鍖栧垎鍖?/strong>
 
1.鏍煎紡鍖杔inux綾誨瀷鏂囦歡緋葷粺錛?/div>
[root@www root]# mkfs -t ext3 /dev/sdb1
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
124928 inodes, 497983 blocks
24899 blocks (5.00%) reserved for the super user
First data block=1
61 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
2.鏍煎紡鍖?vfat鏂囦歡緋葷粺
[root@www root]# mkfs -t vfat /dev/sdb5
mkfs.vfat 2.8 (28 Feb 2001)
3.鏍煎紡鍖杝wap鏂囦歡緋葷粺錛?/div>
[root@www root]#  mkswap /dev/sdb6
Setting up swapspace version 1, size = 509927 kB
 
================
浜旓細(xì)鎸傝澆浣跨敤鍒嗗尯
 
[root@www root]# mkdir /mnt/sdb1
[root@www root]# mount /dev/sdb1 /mnt/sdb1
[root@www root]# cd /mnt/sdb1
[root@www sdb1]# touch testfile
[root@www sdb1]# ll
鎬葷敤閲?12
drwx------    2 root     root        12288 10鏈?16 19:22 lost+found
-rw-r--r--    1 root     root            0 10鏈?16 19:25 testfile
[root@www sdb1]# cd
[root@www root]# umount /mnt/sdb1
[root@www root]# ls /mnt/sdb1

==========================
鍏細(xì)璁╃郴緇熷惎鍔ㄦ椂鑷姩鎸傝澆鍒嗗尯
 
[root@www root]# vi /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/sda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/sdb1               /mnt/sdb1               auto    default         0 0


]]>linux瀛︿範(fàn)絎旇涓 紓佺洏鍛戒護(hù)http://www.aygfsteel.com/tomjamescn/archive/2009/09/01/293512.htmltomjamescntomjamescnTue, 01 Sep 2009 15:30:00 GMThttp://www.aygfsteel.com/tomjamescn/archive/2009/09/01/293512.htmlhttp://www.aygfsteel.com/tomjamescn/comments/293512.htmlhttp://www.aygfsteel.com/tomjamescn/archive/2009/09/01/293512.html#Feedback0http://www.aygfsteel.com/tomjamescn/comments/commentRss/293512.htmlhttp://www.aygfsteel.com/tomjamescn/services/trackbacks/293512.html     df鍛戒護(hù)鐢ㄦ潵媯(gè)鏌ユ枃浠剁郴緇熺殑紓佺洏絀洪棿鍗犵敤鎯呭喌銆傝繖閲岀殑鏂囦歡緋葷粺鎸囨寕杞藉埌l(fā)inux緋葷粺涓婄殑鏂囦歡緋葷粺銆傛病鏈夋寕杞戒笂鏉ョ殑鏄病鏈夊寘鍚繘鏉ョ殑銆?br />     fdisk鍛戒護(hù)涓昏鐢ㄦ潵鍒嗗尯銆傚厛澶嶄範(fàn)涓涓嬪熀紜鐭ヨ瘑銆備竴涓‖鐩樺彲浠ュ垝鍒?涓尯錛?涓富瑕佸垎鍖猴紝涓涓墿灞曞垎鍖猴紝鑰屾墿灞曞垎鍖洪噷鍙互鍒掑垎n涓昏緫鍒嗗尯錛屾墿灞曞垎鍖烘湰韜笉鑳藉偍瀛樹(shù)換浣曚笢瑗匡紝涔熶笉鑳芥牸寮忓寲鎴愭煇縐嶆枃浠剁郴緇燂紝鍙兘鐢ㄤ簬鍖哄垎閫昏緫鍒嗗尯銆?br />     sudo fdisk -l
    fdisk鐢ㄦ潵鍒嗗尯姣旇緝澶嶆潅錛孡inux鏈変竴涓浘褰㈠寲鐨勮蔣浠秅parted鏉ヨ繘琛屽垎鍖恒?br />     sudo apt-get install gparted          瀹夎
    mkfs鏄牸寮忓寲鐨勫懡浠わ紝瀹冪殑褰㈠紡錛歴udo mkfs -t 鏂囦歡緋葷粺 瀛樺偍璁懼錛屽錛?br />     sudo mkfs -t ext3 /dev/sda6             鎶婅璁懼鏍煎紡鍖栨垚ext3鏂囦歡緋葷粺
    mount鍜寀mount鏄寕杞藉拰鍙栨秷鎸傝澆鍛戒護(hù)銆?br />     sudo mount [-t 鏂囦歡緋葷粺 ] [-o 閫夐」] 璁懼 鐩綍
    浣跨敤榪欎釜鍛戒護(hù)鍓嶉渶瑕佸厛鐢熸垚涓涓敤浜庤鎸傜殑鐩綍錛屽垱寤轟簡(jiǎn)榪欐牱鐨勭洰褰曞悗鏈変釜緇嗚妭闂灝辨槸鏇存敼榪欎釜鐩綍鐨勬潈闄愶紝鏈璧風(fēng)爜瑕佷綘鍙鍐欙紝榪欐牱鎵嶈兘浣夸綘鎸傝澆鐨勭‖鐩樺彲璇誨啓錛屽綋鐒秐tfs鐨勭‖鐩橀櫎澶栥傚錛歝hmod 777 鐩綍銆傛寕杞芥椂錛屼篃鏈夊彲浠ョ渷浜嬬殑鍦版柟錛屾瘮濡傝浣犱笉鐭ラ亾浣犵殑鍒嗗尯鏄粈涔堟枃浠剁被鍨嬩綘鍙互:sudo mount -t auto 璁懼 鐩綍銆俿udo mount 璁懼 鐩綍
   


]]>
主站蜘蛛池模板: 佛学| 邻水| 开封市| 富阳市| 云梦县| 诸暨市| 历史| 色达县| 遂溪县| 高安市| 宁晋县| 镇平县| 平乐县| 安庆市| 东丽区| 高安市| 寻乌县| 临洮县| 武清区| 高淳县| 洛宁县| 西华县| 广丰县| 上栗县| 萝北县| 巴彦淖尔市| 临夏县| 水富县| 威远县| 黄梅县| 定兴县| 黎川县| 西青区| 丁青县| 孟津县| 台东市| 威海市| 屏东县| 五大连池市| 巫山县| 香格里拉县|