CSDNµÄ¸÷λǰ±²ÃÇ£¬ÎÒÏë°Ñ×Ô¼ºµÄСÍøÕ¾¼ÜÉèÔÚLinux»·¾³Ï£¬ÒòΪÊÇPHP±àдµÄ£¬ËùÒÔ×ÜÏëŪ¸öLAMP»·¾³´î½¨£¬³õ²½Ñ¡¶¨ÎªRed HatµÄCentOS5.2£¬¿ÉÊÇÒÔÇ°´ÓûʹÓùýLinuxµÄ¾Ñ飬ֻ֪µÀLinuxÒ²¿ÉÒÔÏóWindowsÒ»ÑùÖ§³ÖÔ¶³ÌÁ¬½Ó£¬µ«²»ÖªµÀ¾ßÌåÓ÷¨£¬ÒòΪÎÒ±àд´úÂëµÄƽ̨»¹ÊÇÒªÔÚWindowsÏ£¨ÒòΪҪÓÃDreamweaverÖÆ×÷Ò³Ã棩,ÎÒÒª°ÑдºÃ ......
ÔÚwindowsÀïÃæÓиöÐéÄâ»ú£¬ÐéÄâ»úÀïÃæ×°ÁËlinux
¶ÔÓÚwindowsÖ÷»úÀ´Ëµ£¬±ÈÈç
ip:10.10.10.10
ĬÈÏÍø¹Ø:10.9.9.9
DNS:8.8.8.8
vm1:
ip:192.168.79.1
vm8:
ip:192.168.102.1
ÎÒÏëÈÃÎÒµÄLinuxµÄIPͬwindowsµÄIPÔÚͬһÍø¶Î£¬¸ÃÔõôÅäÖã¿
±ÈÈçÎÒÏëÈÃÎÒµÄLinuxµÄIPΪ£º10.10.10.11 ......
ÔÚlinuxÈçºÎ²éÕÒ°²×°Èí¼þµÄ·¾¶£¿£¿
Ò»°ã˵À´¶¼ÊÇ°²×°µ½/usr/shareºÍ/usr/localÀïÁË
Äã¿ÉÒÔͨ¹ýwhereis Èí¼þÃûÀ´²éÕÒϵͳÀïµÄÎļþλÖÃ
±ÈÈçÄãÏë²éÕÒeclipseÎļþ£¬ÄÇô¾Í£º
[root@localhost ~]# whereis eclipse
»áÏÔʾ£º
eclipse: /usr/bin/eclipse /usr/lib/eclipse /usr/share/eclipse
......
СµÜÊÇLINUX²ËÄñ£¬×î½üÔÚѧϰlinuxÏÂC±à³ÌÓöµ½¸öÀ§ÄÑ£¬ÏëÇë½Ì¸ßÊÖÃǸöÎÊÌ⣬ÈôÄÜ°ïСµÜ½â¾ö
²»Ê¤¸Ð¼¤·····
LINUX ÏÂÓиöcal ÃüÁ¾ÍÊÇÄÜ°ÑÈÕÀúÏÔʾ³öÀ´µÄÄǸö
ÎÒÈç¹ûÒªCÏÂÃæÓÃsystem call ʵÏֵĻ°ÒªÓÃsystem("cal")
µ«ÏÖÔÚÓиöÎÊÌâ¾ÍÊÇ£¬Èç¹ûÁ¬Ðøµ÷ÓÃÈý´Îsystrm£¨&qu ......
vi+gcc×ܸоõ²»Ë³ÓÃ
ÏÖÔÚÓÃ×Ågeany£¬±È½ÏÇáÇÉ£¬µ«Êǹ¦Äܲ»¹»¶à£¬µ÷ÊÔ¶¼µ÷ÊÔ²»ÁË
Çë½ÌÒ»ÖÖCÓïÑÔµÄIDE¡£×îºÃ±È½ÏÇáÇÉËٶȿìÒ»µãµÄ¡£
vim ÓÃÊìÁ˾ͺÃÁË¡£
Ecilipse
slickedit
·ÅÆúIDE°É
......
ÈçÌ⣺linuxÖÐC³ÌÐò³öÏÖSegmentation fault¡£
ʹÓÃCдÁËÒ»¸öCGI ¡¡
µ«ÊÇÔÚ±àÒëµÄʱÔÚ char *DATA = getenv("QUERY_STRING"); Óо¯¸æ£º
warning£ºassignment makes pointer from integer without a cast
²¿·ÖÔ´³ÌÐò£º
#include <stdio.h> // Ö»ÓÐÕâÒ»¸öÍ·Î ......