摘要:1.段错误 http://www.cnblogs.com/panfeng412/archive/2011/11/06/2237857.html2.段错误的调试方法 2.1使用printf输出信息 2.2使用gcc和gdb 2.3使用core文件和gdb……
阅读全文
摘要:1. 打开控制台:使用快捷键 Ctrl + Alt + T;2. 安装gcc为C语言编译器,g++为C++ 语言编译器 sudo apt-get install g++。3. 编辑好hello.c文件之后, >>>g++ hello.c -o hello 进行编译 >>>./hello 运行
阅读全文
摘要:参考:http://blog.csdn.net/a1311543690/article/details/488788431.sudo apt-get install python-pippip是Python的一个安装和管理扩展库的工具。同时会提示下载安装依赖包2.sudo apt-get insta...
阅读全文
摘要:1.ubuntu命令状态切换到图形化界面startx如果命令不能识别 执行sudo apt-get install xinit 还需要提前安装桌面环境比如 gnome 比如 KDE安装方法sudo apt-get install ubuntu-desktop #gnomesudo apt-ge...
阅读全文
摘要:TcpDump根据使用者的定义对网络上的数据包进行截获的包分析工具。http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html路由知识http://www.cnblogs.com/hnrainll/category/318809....
阅读全文
摘要:安装前准备软件包及版本Gccpkg-configautoconfautomakem4python2.X下载OVS软件包http://openvswitch.org/releases/openvswitch-1.9.0.tar.gz解压后进入ovs文件夹中在依次进行下列步骤:./boot.sh./co...
阅读全文
摘要:#include#include#include#include#include#includeint main(){ int server_sockfd,client_sockfd; int server_len,client_len; struct sockaddr_in se...
阅读全文
摘要:参考:寂寞的泡面http://blog.csdn.net/piaojun_pj/article/details/5920888UDP#include #include #include #include #include #include#includeint main(int argc, char...
阅读全文
摘要:1,下载驱动https://github.com/lwfinger/rtl8188eu使用注意:https://github.com/lwfinger/rtl8188eu/issues/32.编译安装 $make $sudo make install 3.关于hostapd的配置文件# Basic...
阅读全文
摘要:第一步:安装语言包进入 “System Settings”找到 “Language Support” 那一项,点击进入选择 “Install/Remove Languages”找到 “Chinese (simplified)” 那一项,把后面到勾打上然后点击 “Apply Changes” 等待一段...
阅读全文
摘要:1、了解设置的名称 直接运行xrandr(不带任何参数)就可以显示出当前的显示设备及设备的模式。xdj@xdj-Presario-CQ42-Notebook-PC:~$ xrandrScreen 0: minimum 320 x 200, current 1280 x 768, maximum 1...
阅读全文
摘要:http://blog.csdn.net/on_1y/article/details/8598385
阅读全文
摘要:在ubuntu下获取对应内核源码命令 Ubuntu的包管理系统,为您提供了一种高效快捷的软件管理方式,您只要知道您需要什么软件就可以了,甚至不需要关心它存放在网络上的哪一台服务器中,而且绝大多数的软件都可以使用这种方式来安装。输入:apt-cache search linux-source //查看...
阅读全文
摘要:.tar.gz 格式解压为 tar -zxvf xx.tar.gz
.tar.bz2 格式解压为 tar -jxvf xx.tar.bz2
阅读全文