Great God, this word is not enough to express my opinion of them! Simple as it is, it is almost unprecedented because of its unmatched coding level (compilation).
In view of these circumstances, candy to GitHub to download the source down, to try!
The great God said, need yasm support, so first download yasm-1.3.0, compile and install!
[[Email protected] ~] wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz[[email protected] ~] Tar ZXVF Yasm-1.3.0.tar.zg[[email protected] ~] CD Tasm-1.3.0[[email protected] tasm-1.3.0] make && make install
After the installation is complete, download asmttpd
[[email protected] ~] https://codeload.github.com/nemasu/asmttpd/zip/master [[email Protected] ~] unzip master[[email protected] ~] cd asmttpd-master[[email protected] asmttpd-master]# lsbss.asm debug.asm macros.asm mutex.asm syscall.asmconstants.asm http.asm main.asm README.md web_rootdata.asm license makefile string.asm[[email protected] asmttpd-master]# makeyasm -g dwarf2 -f elf64 -a x86 main.asm -o main.old main.o -o asmttpd[[email protected] asmttpd-master]# make releaseyasm -f elf64 -a x86 main.asm -o Main.old main.o -o asmttpdSTRIP -S ASMTTPD[[EMAIL PROTECTED] ASMTTPD-MASTER]# WHEREIS ASMTTPDASMTTPD: /usr/src/asmttpd-master/asmttpd[[email protected] asmttpd-master]# lsasmttpd data.asm license main.o README.md web_rootbss.asm debug.asm macros.asm makefile string.asmconstants.asm http.asm main.asm mutex.asm syscall.asm[[email protected] asmttpd-master]# mkdir /www[[email protected] asmttpd-master]# ./asmttpd /www
At this point, ASMTTPD has been installed and started! /www is our web root, and then we build a index.html in/www with the following:
[Email protected] asmttpd-master]# Vim/www/index.html
Then open the Web page access, the situation is as follows!
ASMTTPD has been set up and then let's go look at the size of ASMTTPD!
Although the function is very few, and Candy also did not go to do AB, http_load pressure test, but to him still full of interest ... Hey!
The GitHub address is attached below HTTPS://GITHUB.COM/NEMASU/ASMTTPD
Surprised! ———— only 6K Web application server asmttpd