linux¹ýʧÂë95Ôõô´¦Öóͷ£
linux ¹ýʧÂë 95 ÌåÏÖ»á¼û±»¾Ü¾ø£¬Í¨³£ÊÇÓÉÓÚȨÏÞȱ·¦¡£½â¾ö¼Æ»®°üÀ¨£º1. ¼ì²éÎļþȨÏÞ£»2. ¸ü¸ÄÎļþȨÏÞ£»3. ¼ì²éÎļþËùÓÐȨ£»4. ¼ì²éÎļþϵͳ¹ÒÔØ£»5. ¼ì²éÎļþϵͳ¹ýʧ£»6. ½ûÓà selinux£¨½öÏÞ rhel ¼° centos£©£»7. ÁªÏµÏµÍ³ÖÎÀíÔ±¡£
ÈçÄÇÀïÖà Linux ¹ýʧÂë 95
Linux ¹ýʧÂë 95 ͨ³£ÌåÏÖ»á¼û±»¾Ü¾ø¡£ÕâÅú×¢ÄúûÓÐȨÏÞ»á¼ûÇëÇóµÄÎļþ»òĿ¼¡£
½â¾ö¼Æ»®£º
1. ¼ì²éȨÏÞ
ʹÓà ls -l ÏÂÁî¼ì²éÎļþ»òĿ¼µÄȨÏÞ¡£È¨ÏÞÏÔʾΪÈý×éÈý¸ö×Ö·û£¬»®·ÖÌåÏÖÎļþËùÓÐÕß¡¢Îļþ×éºÍÆäËûÓû§µÄȨÏÞ¡£
2. ¸ü¸ÄȨÏÞ
ÈôÊÇÎÒûÓжÁдȨÏÞ£¬¿ÉÒÔʹÓà chmod ÏÂÁî¸ü¸ÄȨÏÞ¡£ÀýÈ磺
chmod u+rw filename
µÇ¼ºó¸´ÖÆ
Õ⽫ΪÎļþËùÓÐÕßÌí¼Ó¶ÁдȨÏÞ¡£
3. ¼ì²éËùÓÐȨ
ÈôÊÇÎÒûÓÐÎļþËùÓÐȨ£¬¿ÉÒÔʹÓà chown ÏÂÁî¸ü¸ÄËùÓÐȨ¡£ÀýÈ磺
chown username filename
µÇ¼ºó¸´ÖÆ
Õâ»á½«ÎļþµÄËùÓÐȨ¸ü¸ÄΪָ¶¨µÄÓû§¡£
4. ¼ì²éÎļþϵͳ¹ÒÔØ
ÈôÊÇÎļþ»òĿ¼λÓÚ¹ÒÔصÄÎļþϵͳÖУ¬ÇëÈ·±£ÎļþϵͳÒÑ׼ȷ¹ÒÔØ¡£Ê¹Óà mount ÏÂÁî¼ì²éÎļþϵͳµÄ¹ÒÔØ״̬¡£
5. ¼ì²éÎļþϵͳ¹ýʧ
ÈôÊÇÎļþϵͳÒѹÒÔØ£¬µ«ÈÔÎÞ·¨»á¼û£¬Ôò¿ÉÄÜÊÇÎļþϵͳÖб£´æ¹ýʧ¡£Ê¹Óà fsck ÏÂÁî¼ì²é²¢ÐÞ¸´Îļþϵͳ¹ýʧ¡£
6. ½ûÓà SELinux£¨½öÏÞ Red Hat ºÍ CentOS£©
SELinux ÊÇÒ»ÖÖÇå¾²ÐÔÔöÇ¿¹¦Ð§£¬¿ÉÄÜ»á×èÖ¹¶ÔijЩÎļþµÄ»á¼û¡£ÊµÑéÔÝʱ½ûÓà SELinux ÒÔÉóÅÌÎÊÌâÊÇ·ñ½â¾ö¡£Ê¹ÓÃÒÔÏÂÏÂÁ
setenforce 0
µÇ¼ºó¸´ÖÆ
7. ÁªÏµÏµÍ³ÖÎÀíÔ±
ÈôÊÇÄúÒÑʵÑéÉÏÊöËùÓнâ¾ö¼Æ»®£¬µ«ÈÔÈ»ÎÞ·¨»á¼ûÎļþ»òĿ¼£¬ÇëÁªÏµÏµÍ³ÖÎÀíÔ±×·Çó×ÊÖú¡£
ÒÔÉϾÍÊÇlinux¹ýʧÂë95Ôõô´¦Öóͷ£µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡