autoscan是autoconf软件包提供的Perl脚本程序,它从源程序中抽取与函数调用和头文件有关的信息,并将其输出到configure.scan文件中。
autoconf是一个用于生成可以自动配置软件源代码包以适应多种UNIX系统的shell脚本(configure)的工具,它将将使用m4宏处理器处理configure.in文件。
configure.scan是由autoscan自动生成可以作为软件包的configure.in文件的初始版本。
autosan:configure.scan=>configure.in
aclocal:aclocal.m4
autoconf:configure
手动创建:Makefile.am
automake:Makefile.in
configure:Makefile
make:可执行文件
1.在/home/ray/test新建main.c , h/print.c和h/print.h。
2.执行autoscan,,,,进入test目录执行autoscan,生成了autoscan.log和configure.scan文件,重命名configure.scan为configure.in
修改内容为:
OSI(Open System interconnection)开放系统互连参考模型。
在OSI参考模型中,物理层(Physical Layer)是参考模型的最低层,也是OSI模型的第一层。
物理层的主要功能是:利用传输介质为数据链路层提供物理连接,实现比特流的透明传输。
物理层的作用是实现相邻计算机节点之间比特流的透明传送,尽可能屏蔽掉具体传输介质和物理设备的差异。使其上面的数据链路层不必考虑网络的具体传输介质是什么。“透明传送比特流”表示经实际电路传送后的比特流没有发生变化,对传送的比特流来说,这个电路好像是看不见的。
数据链路层(Data Link
先列出换算关系:
1byte = 8 bit; //1英文占用1byte,汉子2byte 1字=1byte 或者 1字=2byte 或者 1字=4byte //取决于多少位,8位为1:1
下载tinyhttpd源码:https://github.com/Huangtuzhi/Tinyhttpd
安装Qt和Qt-creator
sudo apt-get install qt4-dev-tools qt4-designer qt4-doc qt4-qtconfig qt4-demos qt4-qmake libqt4-sql-mysql qdevelop
sudo apt-get install qtcreator或者sudo apt-get install qt-creator
2.安装redis和hiredis
如果没有git,先执行sudo apt-get install git
sudo apt-get install redis-server
git clone https://github.com/redis/hiredis && cd hiredis
make
sudo make install
sudo ldconfig
3.启动redis
redis-server
1.Xampp安装Xdebug(windows下集成环境安装),主要看配置:
[XDebug] zend_extension = "d:xamppphpextphp_xdebug.dll" xdebug.trace_output_dir = "d:xampptmp" xdebug.profiler_append = 1 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 1 xdebug.profiler_output_dir = "d:xampptmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 0 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1"
默认xampp有php_xdebug.dll文件,可以从http://xdebug.org/download.php下载最新的对应版本的x-debug的dll文件
如何选择TS和NTS版本:Phpinfo下查找Thread Safety。NTS:Non Thread Safe
安装node.js
安装目录在/Data/apps/node
cd /Data/tgz tar zxvf node-v0.12.5.tar.gz cd node-v0.12.5 ./configure --prefix=/Data/apps/node make make install echo 'export PATH=$PATH:/Data/apps/node/bin' >> /etc/profile source /etc/profile
查看是否安装成功 node -v
无express框架,测试程序
mkdir -p /home/www/node cp hi.js /home/www/node/. cd /home/www/node vim hi.js
var http = require('http'); http.createServer(function (req, res) {