![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jslinux
linux内核控
这个作者很懒,什么都没留下…
展开
-
使用桥接网络的jslinux
本文代码在:https://github.com/killinux/jslinux-tap测试demo在:http://www.hackernel.com/jslinux/11年很火的jslinux,把linux跑在浏览器上,10年过去了,还有人记得这个么?这个代码参考了大神fabrice bellard的代码,版权归作者所有。官网是: https://bellard.org/jslinux 这个已经变成wasm的版本,所以目前这个纯js版的作为学习Linux内核的教程还是很好的。没混淆的jsli原创 2020-06-24 02:37:13 · 1431 阅读 · 1 评论 -
emscripten asm.js的helloworld
加压emsdk-portable.tar.gz./emsdk install latest./emsdk activate latestsource emsdk_env.sh参考中文[url]http://www.ruanyifeng.com/blog/2017/09/asmjs_emscripten.html[/url]英文[url]https://kri...原创 2018-03-01 20:15:31 · 351 阅读 · 0 评论 -
nginx代理wss和https
nginx启用sslyum install openssl openssl-devel -y./configure --prefix=/usr/local/nginx --with-http_ssl_moduleimg]http://dl2.iteye.com/upload/attachment/0128/9904/e0b62951-a384-3178-a74c-2f...原创 2018-02-27 15:34:43 · 1905 阅读 · 0 评论 -
jslinux-deobfuscated-network
基础知识查看网络包[code="java"]tcpdump -i eth0 -e -v -ltcpdump -i eth0 -e -v -l -w a.pcap[/code]a.pcap给wireshark用这个是必要的转发三步走:1.配置Linux系统的ip转发功能[code="java"]echo 1 >/proc/sys/net/ipv4/ip...原创 2017-02-13 22:37:44 · 185 阅读 · 0 评论 -
qemu以64位和32位的方式跑busybox
两种方式x86_64 和32位的i386方式-----------x86_64-----------------------------------------参考[url]http://mgalgs.github.io/2015/05/16/how-to-build-a-custom-linux-kernel-for-qemu-2015-edition.html[/url]...原创 2016-04-07 22:06:27 · 1000 阅读 · 0 评论 -
用buildroot为jslinux建立最小rootfs
##############################################################################制作镜像文件buildroot-2016.08.1.tar.gz[code="java"]make O=haoning menuconfig Target options ---> Target Architectu...原创 2016-11-18 17:59:37 · 538 阅读 · 0 评论 -
jslinux带网络功能的内核
想重新编译jslinux-network的内核,其实就是比fabrice bellard的内核多了个e1000的网卡使内核与用户空间通信的netlink socket可用测试即是ip link可用关键点是[b]make ARCH=i386 drivers/net/e1000/[/b]最后一个/不能少测试环境32位的centos7:[code="java"]...原创 2016-11-15 15:35:56 · 242 阅读 · 0 评论 -
nginx rewrite替代apache rewrite
清理chrome的缓存[color=red]chrome://appcache-internals/[/color]nginx rewrite参考[url]http://seanlook.com/2015/05/17/nginx-location-rewrite/[/url] wget http://www.lighttpd.net/download/spawn-fcg...原创 2016-10-18 20:30:14 · 426 阅读 · 0 评论 -
jslinux-network
git clone https://github.com/killinux/jslinux-network把 jslinux-network 放在apache或者nginx中。[code="java"]yum install python-virtualenvvirtualenv mysitesource mysite/bin/activatepip i...原创 2016-05-30 23:00:30 · 144 阅读 · 0 评论 -
120M硬盘的jslinux
----------------------------------浏览器上跑操作系统目标,可定值内核(2.6.20,2.6.24,3.15,3.19): vmlinux26.bin定制硬盘文件:hda.img,root.bin可定制启动文件:linustart.bin可定制网络(websocket,webrtc)--------------------------...原创 2016-05-21 21:08:59 · 129 阅读 · 0 评论 -
使用buildroot为jslinux创建root.bin
环境gcc 版本 4.8.5 centos 7.2.1511 (AltArch) 内核版本3.10.0-327.13.1 32位操作系统buildroot版本buildroot-2016.02########################使用buildroot生成jslinux的root.bin文件由几个关键点:[b]1.jslinux.js里面有一行[/b]...原创 2016-05-02 00:37:17 · 391 阅读 · 0 评论 -
i386上的busybox
环境:在64位机器上总莫名其妙问题,交叉编译也会有想不到的地方,反正是虚拟机,找了个32为的centos7安装---------------------[code="java"]yum install glibc-static -yyum install ncurses ncurses-devel gcc gcc-c++ emacs -yyum install gli...原创 2016-04-26 22:51:59 · 390 阅读 · 0 评论 -
php rewrite
环境ubuntu14apache2 php5apt-get install php5 apt-get install libapache2-mod-php5配置rewriteln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.loadvim /etc...原创 2016-04-23 15:58:10 · 106 阅读 · 0 评论