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

ÐÞ¸ÄlinuxÆô¶¯²ÎÊýÍì»Ø/etc/inittabÎļþ

×î½ü×ölinuxϵͳ²Ã¼ô£¬ÐÞ¸ÄǶÈëʽϵͳµÄinittabÎļþʱÎ󽫱¾»úinittabÎļþÐ޸ġ£
rebootºó³öÏÖ
INIT: /etc/inittab[2]: missing id field
INIT: /etc/inittab[3]: missing id field.
Enterrunlevel:
ÊäÈë3,»ò1£¬»òsinggleºó³öÏÖ
INIT: no more processess left in this runlevel
ϵͳֹͣ¡£
google£¬baiduµ½Ò»ÆªÒýÓÃƵÂʼ«¸ßµÄÎÄÕ£º
ÔÚrescueģʽÏÂÐÞ¸´inittab
½øÈërescueģʽ
#mount
#chroot /mnt/sysimage
#rpm -qf /etc/inittab
initscripts-7.31.6.EL-1
#mount /dev/cdrom /mnt/cdrom
#rpm -ivh --force --root / /mnt/cdrom/RPMS/initscripts-7.31.6.EL-1.i386.rpm
#sync
#exit
µ«ÊÇÎÒµÄϵͳʹÓÃrpm -qf /etc/inittab²éѯËùÊôrpm°üʱ£¬ÌáʾinittabÎļþÕÒ²»µ½¡£
×îºóÓÃÈçÏ·½·¨½â¾ö£º
linuxÆô¶¯Ê±Ìí¼ÓÆô¶¯²ÎÊýinit=/bin/sh
Æô¶¯ºóÌø¹ýinittabÖ±½Ó½øÈëshell¡£
Õâ´Î¿ÉÒԳɹ¦µÄ¿´µ½inittabÎļþÁË£¬vi /etc/inittab£º
¹ûÈ»inittab±»Ð޸ĵÃÃæÄ¿È«·ÇÁË¡£
ÐÞ¸ÄÈ´ÌáʾÊÇreadonlyÎļþ£¬Ö´ÐÐmount -o rw.remount /
ÎÊÌâ½â¾ö£¡


Ïà¹ØÎĵµ£º

ÔÚLinux C±à³ÌÖÐʹÓÃUnicodeºÍUTF 8

ÔÚLinux C±à³ÌÖÐʹÓÃUnicodeºÍUTF-8
Ä¿Ç°¸÷ÖÖLinux·¢Ðа涼֧³ÖUTF-8±àÂ룬µ±Ç°ÏµÍ³µÄÓïÑÔºÍ×Ö·û±àÂëÉèÖñ£´æÔÚһЩ»·¾³±äÁ¿ÖУ¬¿ÉÒÔͨ¹ýlocaleÃüÁî²é¿´£º
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US ......

LinuxÏÂÅäÖð²×°NFS

LinuxÏÂÅäÖð²×°NFS
http://blog.chinaunix.net/u1/34252/showart_264236.html
1.1NFS¸ÅÊö
NFS(Network File System)ÊÇÒ»ÖÖ·Ö²¼Ê½Îļþϵͳ£¬ÔÊÐíÍøÂçÖеݲװ²»Í¬²Ù×÷ϵͳµÄ¼ÆËã»ú¼ä¹²ÏíÎļþºÍÍâÉ裬ËùÒÔËüµÄͨѶЭ¶¨Éè¼ÆÓëÖ÷»ú¼°×÷ҵϵͳÎÞ¹Ø. ËüÊÇÓÉSUN¹«Ë¾ÓÚ1984ÄêÍƳö£¬Ê¹µÃ¿ÉÒÔ±¾µØ»úÒ»ÑùµÄʹÓÃÁíһ̨ÁªÍø¼ÆËã»úµÄÎ ......

Linux Ï ½«PDFÎļþÖеÄÎı¾£¬Í¼Æ¬µ¼³öµÄ·½·¨¡£


PDF¸ñʽÎļþÖеÄÎı¾ÊÇ¿ÉÒÔµ¼³öÀ´ÔÙÐ޸ĵġ£
ͬÑù£¬PDFÀïÃæµÄ²åͼҲÊÇ¿ÉÒÔÌáÈ¡³öÀ´µÄ¡£
PDFת´¿Îı¾£º
pdftotext -enc GBK godson2e-data.Sheet.pdf text.GBK.txt
-enc (encoding)
Òª²ÎÕÕ/etc/xpdf/xpdfrc ÀïÃæÌáµ½µÄ±àÂë¸ñʽ¡£¶ÔÓÚÖÐÎÄ£¬ÓÃGBK
¾Í¿ÉÒÔÁË¡£
ÌáÈ¡²åͼ£º
pdfimages godson2e-data.Sheet.pdf img
¸Ã ......

Linux repair filesystemÎÊÌâµÄ½â¾ö°ì·¨

    ¹«Ë¾ÓÐ̨ÔËÐÐCentOS5.3µÄµçÄÔ½ñÔçÆô¶¯µÄʱºòÒ»Ö±Ìáʾ#repair filesystem 1ϵͳÎļþË𻵣¬ÐèÒªÐÞ¸´£¬È»¶øʹÓÃfsckÐÞ¸´ÁË°ëÌ컹ÊÇÎÞ·¨½øÈëXWindow¡£ÕâʱÎÒÐèÒªÓÃÓÅÅÌ¿½±´ÀïÃ漸¸öÎļþ£¬Ë÷ÐÔµ½ÃüÁîÐÐshellÖп½±´µÃÁË¡£¿ÉÊǽøÈ¥mountÉ豸µÄʱºòÈ´ÌáʾÎÒ£ºÏµÍ³ÎļþĿ¼ֻ¶Á£¬ÎÞ·¨´´½¨¹Ò½ÓÉ豸Îļþ......Ôõô° ......

Linux ImageMagick ת»»Í¼Æ¬¸ñʽ¹¤¾ß¼°ÃüÁî


    Ç°ÃæÔÚÒ»¸öÏîÄ¿¿ª·¢ÖÐÓõ½ÁËImageMagick£¬ÎÒÃÇ×Ô¼ºµÄ²âÊÔ»·¾³¶¼Õý³££¬È»ºó¾Í°´ÕÕÎÒÃÇ¿ª·¢»·¾³µÄ°²×°·½·¨°²×°ÁË¿Í»§µÄ²âÊÔ»·¾³£¬µ«ÔÚ´¦ÀíjpegÀàÐÍͼƬµÄʱºò±¨´íÁË¡£»ØÍ·Ò»¿´ÅäÖÃlog£¬¾ÓÈ»²»Ö§³Öjpeg¡£
    ImageMagick ÊDZ任ͼƬµÄ¿âȺ£¬Ö§³Öperl£¬C++£¬JAVAµÈµÈÓïÑÔ¡£¿ÉÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ