Cisco路由器的6种模式-----------------------------------------------------------------------------------------------------------------------------------------...
分类:
其他好文 时间:
2014-06-16 10:22:09
阅读次数:
167
MVAPICH2多线程支持问题MVAPICH2为了优化性能,默认的情况是将进程绑定到处理器的。因此默认是只支持单线程的,如果要运行MPI多线程程序,可以通过以下方式运行多线程:$
mpirun -np 2 –env MV2_ENABLE_AFFINITY 0 ./mpi app(或者:$ mpiru...
分类:
编程语言 时间:
2014-06-16 00:27:26
阅读次数:
1148
默认安装好ftp软件包匿名用户是可以下载的。匿名以后可以上传:anon_upload_enable=YES# getsebool -a | grep ftpallow_ftpd_anon_write --> onchcon -t public_content_rw_t pubchmod 775 pu...
分类:
系统相关 时间:
2014-06-14 19:21:33
阅读次数:
344
系统中对应的串口设备是/dev/ttyAMAO,但默认用于内核输出日志的。若想连接串口设备,比如GPS模块,需要改动系统这个默认配置。修改 /boot/cmdline.txtsudo nano /boot/cmdline.txt将原来的内容dwc_otg.lpm_enable=0 console=t...
分类:
其他好文 时间:
2014-06-14 15:36:45
阅读次数:
231
编译参数:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --with-libxml-dir --with-gd --with-openssl --enable-mbstring --wit...
分类:
Web程序 时间:
2014-06-14 09:13:09
阅读次数:
245
一:启用 Code Generation 进入后台, Modules –>
Developer Enable 之。 二:生成模版 首先,进入 Orchard 命令行 在 CMD 下到达解决方案的 Web 的 Bin 目录下,打开
Orchard 命令,输入: codegen theme MyThem...
分类:
其他好文 时间:
2014-06-13 18:48:10
阅读次数:
571
Operating Cisco Routerconsider the hardware on
the ends of the serial link, in particular where the channel service unit/data
service unit (CSU/DSU) h...
分类:
其他好文 时间:
2014-06-12 19:10:26
阅读次数:
351
一、boost库分类:(1)不需要编译库:any、array、asio、conversion、crc、bind/mem_fn、enable_if、function、lambda、mpl、smart_ptr...(2)需要编译的库:date_time、filesystem、function_types...