Surprised! ———— only 6K Web application server asmttpd

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.