摘要: 0.http://www.pythonchallenge.com/pc/def/0.html很简单,求2^381 __author__ = 'lonnelan'2 3 print 2**38View Code得到答案274877906944输入地址栏:http://www.pythonchallen... 阅读全文
posted @ 2014-11-21 15:02 很水的货 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: 一.换源唔,由于众所周知的原因,CentOS本身提供的好多YUM源路径下载速度是很慢的。所以,换源。# cd /etc/yum.repos.d# cpCentOS-Base.repoCentOS-Base.repo.backup# vim CentOS-Base.repo正常情况下,CentOS-B... 阅读全文
posted @ 2014-09-24 18:13 很水的货 阅读(8328) 评论(0) 推荐(0) 编辑
摘要: CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm# rpm -ivh mysql-community-... 阅读全文
posted @ 2014-07-24 15:55 很水的货 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: 1.备份源1 # cp /etc/apt/source.list /etc/apt/source.list.backup2.编辑源# vim /etc/apt/source.list3.替换合适的源 (可以从后面选择)4.刷新# apt-get update部分源地址阿里云服务器(杭州电信/网通双网... 阅读全文
posted @ 2014-07-23 12:17 很水的货 阅读(12927) 评论(1) 推荐(0) 编辑