2012年2月22日
摘要: 到http://www.oray.com/peanuthull/download.php下载花生壳动态域名Linux 1.0以phlinux10all.tar.gz压缩包的形式提供tav xzvf phlinux10all.tar.gzcd phlinux10allcd phlinux_package/tar xzvf phlinux-1.1-install.ubuntu.8.04.tar.gzcd phlinux_install/sudo chmod +x install.shsudo ./install.sh这一步之后出现错误:Making directory /usr/local/phl 阅读全文
posted @ 2012-02-22 23:46 渊蓝之蓝 阅读(857) 评论(0) 推荐(0) 编辑
  2012年1月13日
摘要: 创建组:sudo addgroup 组名增加用户到某个组内:sudo adduser 用户名 组名查询用户ID及组名:id (用户名)创建用户:useradd -d /home/主目录名 -m 用户名创建密码:passwd 用户名设置只读权限:chown 用户名 -R /home/主目录删除用户:userdel 用户名连同主目录一起删除 : userdel -r 用户名参考:http://www.cnblogs.com/ylan2009/articles/2321177.html 阅读全文
posted @ 2012-01-13 02:05 渊蓝之蓝 阅读(2402) 评论(1) 推荐(0) 编辑
  2012年1月12日
摘要: 尝试从windows xp向ubuntu11.10传文件ubuntu使用的是sshwindows使用的是putty和其附带的pscp首先配置ubuntu:1.先使用netstat -tl或service ssh status查看ssh服务是否开启,如果没有开启,用service ssh restart开启,如果没有安装,使用sudo apt-get install openssh-server安装ssh2.检查防火墙注:可以使用iptables,但我在ubuntu中没找到,会用的同学可以忽略下面的东西。Ubuntu在它的发行版中,附带了一个相对iptables简单很多的防火墙配置工具:ufw使 阅读全文
posted @ 2012-01-12 23:42 渊蓝之蓝 阅读(61311) 评论(0) 推荐(3) 编辑
摘要: 虽然这种东西在书上网上很多,自己动手做一遍还是很有收获的。测试例子#include<stdio.h>int test_function(int a, int b){printf("hello world, %d,%d\n",a,b);}int main(){test_function(1,2);}main函数中:执行call后,eip的值进栈,存放的是从函数调用返回后继续执行的指令的地址(本例子中是leave指令,地址为0x08048424)test_function函数中:在函数序言部分,将ebp压栈,重置esp和ebp的值,建立test_function的栈 阅读全文
posted @ 2012-01-12 16:15 渊蓝之蓝 阅读(1260) 评论(1) 推荐(0) 编辑
摘要: 收集整理网上资料所得,以下在ubuntu11.10上验证可行:step1.安装miredo请在终端中,执行如下指令:sudo apt-get install miredostep2. 修改防火墙IPv6设置(在ubuntu11.10上默认是打开的,以防万一还是看看)以root权限打开ufw的配置文件: "/etc/default/ufw",找到"IPV6=no"这一行,将其改为"IPV6=yes"。step3. 修改Hosts文件可以直接通过以下网址上google svn获取:http://code.google.com/p/ipv6 阅读全文
posted @ 2012-01-12 15:58 渊蓝之蓝 阅读(5313) 评论(0) 推荐(1) 编辑
摘要: 1、下载chrome浏览器http://www.google.cn/chrome/intl/zh-CN/landing_chrome.html2、命令行解决依赖关系的错误djy@djy-Latitude-D620:~$ cd 下载djy@djy-Latitude-D620:~/下载$ sudo apt-get -f install3、安装djy@djy-Latitude-D620:~/下载$ sudo dpkg -i google-chrome-stable_current_i386.deb或者这时再去右击deb包,选择“用ubuntu软件中心打开” 阅读全文
posted @ 2012-01-12 15:57 渊蓝之蓝 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 风靡于各种linux书籍的“set dis intel”已不再适用了,会出现以下错误:Ambiguous set command "dis intel": disable-randomization, disassemble-next-line, disassembly-flavor, disconnected-tracing...正确的命令是:sudo echo "set disassembly-flavor intel"> ~/.gdbinitGDB 在启动的时候会按一定的路径顺序(通常是先当前目录而后用户目录)寻找 .gdbinit 文件,一 阅读全文
posted @ 2012-01-12 15:55 渊蓝之蓝 阅读(3791) 评论(0) 推荐(0) 编辑