linux ºÍ windows - À©³ä»°Ìâ / ³ÌÐòÈËÉú
ÏÖÔڵĴó¹«Ë¾¶àÊýÓõÄÊÇÊý¾Ý½á¹¹¾«Æ·¿Î³Ìlinux¶ø²»ÊÇwindows ÊDz»ÊÇlinux¿ª·¢µÄ±ãÒË,¶øÇÒ°²È«
ÐÔÄܺð¡?»¹ÊÇÆäËüµÄÔÒò?
ÄÄλÄܺÍÎÒ½âÊÍÒ»ÏÂ?
Êý¾Ý½á¹¹¾«Æ·¿Î³ÌlinuxÊÇʲô¶«¶«£¿
linux¿ªÔ´£¬ÁíÒ»¸öÊ¡Ç®
ºÜ¶àÊÇÒòΪ½ÚÔ¼³É±¾
´ó¹«Ë¾Ó¦¸Ã²»È±ÕâµãÇ®£¬
ÎҾͼû¹ýÖйúʯ»¯µÄÐÅÏ¢ÖÐÐÄʹÓõÄÊÇWindows server 2003
LinuxÔÚ¿ª·¢ÉÏÃæ¸ü¼ÓÓÅÔ½
˵³öÀ´¸ü¿á£¬Äã˵½Ìwindows±ðÈË»¹ÒÔΪÄãÊÇ´ò×ÖÅàѵ°àÄØ
jf
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
ÎÒµÄÏîÄ¿ËùÔڵĻ·¾³ÊÇphp+apache+linux
ÏÖÎÒÖØÆô·þÎñÊÇ service httpd restart
ÏÖÎÒÏ붨ʱÖØÆô´ËÏî·þÎñ£¨¶¨ÔÚÿÌìÏÂÎç4µã£© ÔõôʵÏÖѽ£¬¶àл
crontab
* 16 * * * service httpd restart
ѧϰ + d ......
´ó¼ÒºÃ£¬ÎÒÏÖÔÚÕýÔÚѧϰlinuxϵͳ£¬Åöµ½µãÎÊÌâÏëÇëÎÊ´ó¼Ò£¬Ï£ÍûÇ°±²Äܹ»Ö¸½Ì¡£
ÔÚlinuxÖÐΪʲôÎÒÓÃshutdown -r now ÃüÁîÀ´ÖØÆôϵͳûÓÐÓÃÄØ£¬¶ørebootÃüÁî¾Í¿ÉÒÔ¡£
ÁíÍâÎÒÒ²ÊÔ¹ý#shutdown -r now ºÍ
shutdowµÈÃü ......
ÎÒÊÇlinux 5¡£4 redhat°æ±¾ ×°²»ÉÏadobe ÇóÖú¸÷λ¸ßÊÖÖ¸µã
Ò»µãÐÅÏ¢¶¼²»¸ø ËÖªµÀÔõô»ØÊ°¡
¶àÉÏÍøËÑËÑ °²×°Ö®Ç°ÏÈ¿´¿´Èí¼þµÄÒªÇóÒÔ¼°READMEµÈ˵Ã÷
32λ°æµÄÊÇ¿ÉÒÔ×°µÄ£¬64λµÄ»¹² ......
ÔÚubuntuÉϴÁË·þÎñÆ÷£¬¸ùĿ¼Ϊ/var/www£¬Ê¹ÓÃphp½Å±¾ÔÚ/var/www/htmlÎļþ¼ÐÏÂÉú³ÉÁËÎļþ¼ÐºÍÎļþ£¬Éú³ÉµÄ¸ñʽÊÇ/var/www/html/123456/sss.html£¬Éú³Éºó²é¿´htmlÎļþ¼ÐµÄȨÏÞÊÇwww-data£¬ÎÒÖ´ÐÐphpµÄɾ³ý½Å±¾µÄʱ ......