linuxÉÏʹÓÃviʱ³£ÓõÄÃüÁî
1¡¢¼òµ¥µÄ²éÕÒ²¢Ì滻ΪеÄ×Ö·û´®
:%s/²éÕÒµÄ×Ö·û´®/еÄ×Ö·û´®/g
eg£º²éÕÒ“liliang” ²¢½«ÆäÌ滻Ϊ“liangli”
:%s/liliang/liangli/g
ÆäÖГ\”ΪתÒå·û
eg£º²éÕÒ“li/liang” ²¢½«ÆäÌ滻Ϊ“liliang”(¼´°Ñ±»²éÕÒ×Ö·û´®ÖеÄб¸ÜÈ¥µô)
:%s/li\/liang/liliang/g
2¡¢²éÕÒÃüÁî
˳Ðò²éÕÒ×Ö·û´®
/×Ö·û´®
ÄæÐò²éÕÒ×Ö·û´®
?×Ö·û´®
n °´µÚÒ»¡¢¶þÃüÁîµÄ˳Ðò¼ÌÐø²éÕÒÏÂÒ»¸ö×Ö·û´®
N °´µÚÒ»¡¢¶þÃüÁîµÄÏà·´µÄ˳Ðò¼ÌÐø²éÕÒÏÂÒ»¸ö×Ö·û´®
3¡¢ÐкÅ
Ìí¼ÓÐкÅ
:set number (:set nu)
²»ÏÔʾÐкÅ
:set nonumber (:set nonu)
4¡¢¹â±êÒƶ¯
½«¹â±êÒƶ¯µ½Ö¸¶¨µÄÐÐÊý
:ÐÐÊý
½«¹â±êÒƶ¯µ½Îı¾µÄ¿ªÊ¼´¦
gg
½«¹â±êÒƶ¯µ½Îı¾µÄĩβ
G (ÎÒÏ°¹ßshift + g)
5¡¢Ã¿¸ö×Ö·ûµÄʹÓÃ˵Ã÷£¨´ÓÆäËûµØ·½¿½±´¹ýÀ´µÄ£¬ÓÐЩûÑéÖ¤,ºìÉ«ÊÇÎÒ¾³£Óõ½µÄ£©
a ÔÚµ±Ç°Î»ÖÃÖ®ºóÌí¼Ó
A ÔÚµ±Ç°ÐеÄĩβÌí¼Ó
^a ûÓÐʹÓÃ
b ÉÏÒ»¸öµ¥´ÊµÄ¿ªÍ·
B ÉÏÒ»¸öµ¥´ÊµÄ¿ªÍ·,ºöÂÔ±êµã·ûºÅ
^b ÉÏÒÆÒ»ÆÁ
c ¸²¸Ç...
C ¸²¸Çµ½ÐÐĩβ
^c ÖÕÖ¹²åÈëģʽ,ÔÚÃüÁîģʽûÓÐÓÃ
d ɾ³ý... ºóÃæ¸úÆäËü¼ü£¬·Ç³£ÓÐÓÃ
D ɾ³ýµ½ÐÐĩβ
^d ÏÂÒÆ°ëÆÁ£¬Èç¹ûÔÚ²åÈëģʽÏÂÔòÒƵ½ÉÏÒ»¸öÒƶ¯¿í¶È£¨ShiftTab)´¦
Ïà¹ØÎĵµ£º
1¡¢Éý¼¶ÏµÍ³
yum check-update
yum update
2¡¢°²×°Ò»Ð©³£ÓõŤ¾ß
yum install ntp iptraf sysstat screen subversion wget bzip2 nfs-utils vim-common
3¡¢ÉèÖÃÿÌì×Ô¶¯ºË׼ʱ¼ä
# crontab -e
0 * * * * /usr/sbin/ntpdate 210.72.145.44
:wq
4¡¢°²×°Ò»Ð©¿ª·¢°ü
# yum install make gcc gcc-c++ libjpeg-devel ......
RPMÊÇRedHat Package Manager£¨RedHatÈí¼þ°ü¹ÜÀí¹¤¾ß£©ÀàËÆWindowsÀïÃæµÄ¡°Ìí¼Ó/ɾ³ý³ÌÐò¡±
rpm Ö´Ðа²×°°ü
¶þ½øÖÆ°ü£¨Binary£©ÒÔ¼°Ô´´úÂë°ü£¨Source£©Á½ÖÖ¡£¶þ½øÖÆ°ü¿ÉÒÔÖ±½Ó°²×°ÔÚ¼ÆËã»úÖУ¬¶øÔ´´úÂë°ü½«»áÓÉRPM×Ô¶¯±àÒë¡¢°²×°¡£Ô´´úÂë°ü¾³£ÒÔsrc.rpm×÷Ϊºó׺Ãû¡£
³£ÓÃÃüÁî×éºÏ£º
£ivh£º ......
Get Redhat Enterprise 3.0 from:
Your local RedHat rep�
Get Veritas’ VCS and VM products from:
ftp://ftp.veritas.com/pub/products/fst_ha.lxrt2.2.redhatlinux.tar.gz
ftp://ftp.veritas.com/pub/products/fst_ha.lxrt2.2MP1.redhatlinux.tar.gz
You will need a temporary key to complete this ......
linux Ï ÓÃcÓïÑÔ´´½¨mysqlÊý¾Ý¿â±Ê¼Ç£¨Ò»£©
£££££½öΪ¸öÈËѧϰժҪ£¬²¢²»¶Ï¸üÐÂÖС£¡£¡£¡£
ÔÚÒýÓÃÍ·Îļþʱ±ØÐë°üº¬‘mysql.h’µÄÍ·Îļþ(±ØÐëÊÇmysql.hµÄ¾ø¶ÔµØÖ·£¬Ò»°ãÔÚmysqlϵÄincludeĿ¼Ï£¬×Ðϸ¿´¿´ÄãµÄÔÚÄÄÀ*),
ÎÒÊÇubuntu9¡£04£¬ÔÚ/usr/include/mysql/mysql ......
²ËÄñ¾ÍÊDzËÄñ£¬Ê²Ã´ÎÊÌⶼÄÜÓöµ½°¡¡£¡£¸ÕÏëѧϰÏÂlinux ¾ÍÓöµ½ÕâÖְ׳ÕÎÊÌ⣬°Ù¶ÈÏ »¹ÊÇÓнáÂÛµÄÂ𡣺ǺÇ
ÒÔÏÂΪ²ÎÕյĽâ¾ö·½°¸£º
¿ÉÒÔÒÔµ¥Ò»Ê¹ÓÃÕßµÄģʽµÇÈ룬ȻºóÔÙ½¨Á¢Ò»¸öеÄrootÃÜÂë¡£
Òª½øÈ뵥һʹÓÃÕßģʽ£¬ÇëÏÈÖØÐÂÆð¶¯ÄúµÄµçÄÔ£¬¼ÙÈçÄúʹÓÃÔ¤µ÷µÄ¿ª¹Ø¹ÜÀí³ÌʽGRUB£¬Äú¿ÉÒÔÖ´ÐÐÏÂÁеĶ¯×÷À´½øÈ뵥һʹÓÃÕßÄ£Ê ......