- 博客(5)
- 资源 (1)
- 收藏
- 关注
转载 Vmware虚拟机下三种网络模式配置
1, Virtual network Adapter 设置三种方式 都得设置对, 好像基本前提条件(都必须通!!) 2,bridge 模式, 在 某个VM中 ,只能设置这个方式。 为啥 设置 不行。(NAT 导致VM中ip是不能被外网发现的) 3,设置 eth1 配置文件BOOTPROTO=DHCP (不能同时设置IPADDR=192.168.1.122) 4,检查方式 a,
2014-12-22 12:00:20 873
转载 [bash]: 删除代码注释
#!/bin/bash function del_comment_file() { #delete the comment line begin with '//comment' sed -i "/^[ \t]*\/\//d" $file #i选项表示直接对文件而不是副本操作 #delete the commnet line end with
2014-12-04 17:46:20 596
转载 在python 解释器中学习linux系统函数调用
try: import dl libc = dl.open('/lib/libc.so.6') libc.call('prctl', 15, 'ubuntu-tweak', 0, 0, 0) except: pass from ctypes import * libc = CDLL('libc.so.6') class uts_struct(Stru
2014-12-04 16:53:40 781 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人