̰Ðݲװ64λlinuxµÄÞÏÞÎ
administer@administer-laptop:~/tem/tt$ cat hello.asm
[section .data]
strHello db "Hello, world!",0Ah
STRLEN equ $-strHello
[section .text]
global _start
_start:
mov edx,STRLEN
mov ecx,strHello
mov ebx,1
mov eax,4
int 0x80
mov ebx,0
mov eax,1
int 0x80
administer@administer-laptop:~/tem/tt$ nasm -f elf hello.asm -o hello.o
administer@administer-laptop:~/tem/tt$ ls
a b boot.asm boot.bin Coded f g hello hello.asm hello.c hello.o
administer@administer-laptop:~/tem/tt$ ld -s hello.o -o hello
ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 outputadminister@administer-laptop:~/tem/tt$
ʹÓÃ64λ²Ù×÷ϵͳµÄÞÏÞΣ¬Ï൱µÄ¾½,¿Éϧµ±Ê±Ì°ÐÄÁË£¬
Ò»Ìý˵Intel´Ó¿áªÊ¼È«Ãæ²ÉÓÃ64λCPU£¬¾Í×°ÁË£¬囧¡£
Ïà¹ØÎĵµ£º
¡¡ÔÚLinuxϵͳÖУ¬Èç¹ûҪʹÓÃÓ²ÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ»òMOÅ̵ȴ洢É豸£¬±ØÐëÏȽøÐйÒ×°£¨Mount£©¡£µ±´æ´¢É豸¹Ò×°Íê³ÉÖ®ºó£¬¾Í¿ÉÒÔ½«Æä×÷Ϊһ¸öĿ¼À´½øÐзÃÎÊÁË¡£¹Ò×°É豸ÐèҪʹÓÃmountÃüÁî¡£Ö´ÐÐÕâÒ»ÃüÁÖÁÉÙÒªÏÈÈ·¶¨ÏÂÁÐÈýÖÖÐÅÏ¢£º
¡¡¡¡1. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÎļþϵͳÀàÐÍ£»
¡¡¡¡2. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÉ豸à ......
ʵÑé3 LinuxµÄ½ø³Ì¿ØÖÆ
Ò».ʵÑéÄ¿µÄ
ͨ¹ýʵÑéÕÆÎÕLinuxÖнø³Ì¿ØÖƵĻù±¾ÃüÁî¡£
¶þ.ʵÑéÒªÇó
1.Á·Ï°Ê¹ÓÃwho, w, ps,pstree²ì¿´ÏµÍ³Óû§¼°½ø³ÌµÄÐÅÏ¢¡£
2.Á·Ï°Ê¹ÓÃkillÃüÁî³·Ïú½ø³Ì¡£
3.Á·Ï°½ø³Ìǰºǫ́µÄÇл»¡£
Èý¡¢ ʵÑ鱨¸æÒªÇó
1£®   ......
windowsÏÂÓзdz£ºÃÓõľÖÓòÍøÍ¨ÐÅÈí¼þ£ºipmsg£¨·É¸ë´«Ê飩¡£
ipmsgÒ²ÓÐlinux°æ±¾£¬µ«ÊÇ£¬ÓÐbug£¬¸üÐÂÒ²Âý¡£
linuxÏÂÓÐÒ»¸ö¹úÈË¿ª·¢µÄiptux£¬¼æÈÝipmsgÐÒ飬¿çƽ̨ʹÓ㬸üÐÂÒ²ºÜ¿ì£¬Äã¿ÉÒÔËæÊ±Ìá½»bug£¬×÷Õß»áºÜ¿ìÐ޸ġ£
1. iptux
°²×°iptux±È½ÏÈÝÒ×£¬ÏÂÔØiptuxµÄ¶þ½øÖưühttp://iptux.googlecode.com/files/iptux_0.4 ......
×î½ü×¼±¸¸ø¹«Ë¾µÄÍøÕ¾¼Ü¹¹×öϵ÷Õû£¬°²×°²¿ÊðлúÆ÷µÄʱºòÓöµ½Ò»Ð©ÎÊÌ⣬nginxÔÚ°²×°µÄʱºòÒ»Ö±ÌáʾδÕÒµ½openssl
./configure --prefix=/usr/local/nginx
³ÌÐò´úÂë
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library. You can either disable the module by us ......