浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年11月30日

摘要: #!/usr/bin/env python#encoding=utf-8def unicode2str(input_str): """ 将unicode类型转换为str类型 """ if type(input_str)==type(u""): return input_str.encode("utf-8","ignore") return input_strdef str2unicode(str... 阅读全文
posted @ 2012-11-30 13:23 lexus 阅读(244) 评论(0) 推荐(0)

摘要: 【转】Ubuntu server 9.10更改网卡配置设置IP地址_wapvictory的空间_百度空间【转】Ubuntu server 9.10更改网卡配置设置IP地址(转自百度贴吧) Ubuntu系统装完了后,在图形界面设置网卡的IP,可不是一件简单的事情!接下来,就介绍一下通过其它方式设置网卡的IP地址。以eth0为例1. 以DHCP方式配置网卡 编辑文档/etc/network/inter... 阅读全文
posted @ 2012-11-30 13:18 lexus 阅读(394) 评论(0) 推荐(0)

摘要: network manager - Have to run sudo dhclient eth0 automatically every boot - Ask UbuntuHave to run sudo dhclient eth0 automatically every boot up vote 0 down votefavoriteI just installed ubuntu 12.04.1... 阅读全文
posted @ 2012-11-30 13:17 lexus 阅读(504) 评论(0) 推荐(0)