
linux
文章平均质量分 54
xinghun_4
我就喜欢编码
展开
-
visualbox nat方式联网时ssh无法访问虚拟机的解决办法
In NAT mode (the default one), virtualbox does not give you the possibility to directly connect to your guest os.Running a server as a guest in a VirtualBox virtual machine isn’t much good when yo原创 2012-09-11 11:45:09 · 3313 阅读 · 0 评论 -
VirtualBox的网络配置,Host Only+NAT方式
其实网络这类相关的文章很多,我只是想结合自己的实际情况,把我的经验写下来,给那些需要的人们吧。主机:windows xp虚拟机:ubuntu 10.10Virtualbox:4.0.2虚拟机在安装好之后,默认情况下是通过NAT的网络连接方式,这样的情况下,虚拟机可以正常上网,但是无法和主机通讯。我们想得到的效果是物理机器可以通过ip访问虚拟机,同时虚拟机可以访问互联网。 我们需转载 2012-09-12 09:58:42 · 11817 阅读 · 0 评论 -
系统调用和函数参数传递
系统调用参数传递x86_32通过中断(int 0x80)来实现寄存器 eax 中存放系统调用号,同时系统调用返回值也存放在 eax 中当系统调用参数小于等于6个时,参数则必须按顺序放到寄存器 ebx,ecx,edx,esi,edi ,ebp中当系统调用参数大于6个时,全部参数应该依次放在一块连续的内存区域里,同时在寄存器 ebx 中保存指向该内存区域的指针x86_64通原创 2012-12-12 23:01:47 · 3801 阅读 · 0 评论 -
Setting Up a Simple OCR Server
Setting Up a Simple OCR ServerThe following is a collaboration piece between Bobby Grayson, a software developer at Ahalogy, and Real Python.Why?OCR (Optical Character Recognition) has转载 2015-08-22 16:00:54 · 995 阅读 · 0 评论 -
centos下安装Tesseract OCR libs
主要是三个步骤:1. Download Leptonica and Teseract sources:$ wget https://code.google.com/p/leptonica/downloads/list/leptonica-1.69.tar.gz$wget https://code.google.com/p/tesseract-ocr/downloads/原创 2015-08-22 20:48:03 · 5546 阅读 · 0 评论 -
linux ssl 验证失败的原因分析和解决办法
当你在linux通过 https 协议访问资源出现 The certificate has not yet been activated 或者类似的 certificate 验证失败的问题时。请淡定,不要随意的改变软件设置绕开 ssl 的验证比如在wget 中加上 –no-check-certificate 参数。这样会对系统的安全性造成影响,后果会很严重。分析此问题的原因,肯定出转载 2016-01-11 23:06:11 · 22655 阅读 · 2 评论