1.Nagios安装–服务端(192.168.210.11)安装一个epel的扩展源(阿里云):rpm-ivhhttp://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm然后安装nagios相关的包yuminstall-yhttpdnagiosnagios-pluginsnagios-plugins-allnrpenagios-plugins-nrpe设置登录nagios后台?.
分类:
移动开发 时间:
2015-07-27 16:52:11
阅读次数:
376
安装后CentOS镜像源,默认使用国外的,很慢,你知道的, 国内更换163、aliyun (看了很多人的博客, 今天有空,自己写一篇)找到想要更换的源的官方网站, 比如网易163页脚找到帮助中心 阿里云找到对应的发行版本,后面有个help可以点击进去看帮助比如CentOS6使用163镜像备份系统的配...
分类:
系统相关 时间:
2015-07-25 12:14:32
阅读次数:
206
阿里云的oss SDK又是不支持python3,头疼头疼。本想改一改它的SDK,让它支持python2+python3,无奈里面大量的代码使用不带括号的print,工作量恐怖。
幸好oss的使用非常简单,我翻了翻相关文档,弄了个简单可运行的例子(python2, python3都支持),主要的代码如下:aliyun-oss-python3
请注意,需要填写自己的accessKeyId等相关信息...
分类:
编程语言 时间:
2015-07-22 19:03:01
阅读次数:
220
pip升级到7.0以后,在使用http镜像进行包安装及升级的时候往往会有如下提示:Collecting beautifulsoup4The repository located at mirrors.aliyun.com is not a trusted or secure host and is ...
分类:
系统相关 时间:
2015-07-18 21:11:57
阅读次数:
280
1.Linux安装:下载网址:http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso下载:http://www.centoscn.com/CentosSoft/iso/阿里云开源镜像站:http://mirrors.aliyun.com/搜狐开源镜像站:http://mirrors.sohu.com/网易开源镜像站:http://..
分类:
系统相关 时间:
2015-07-15 23:01:16
阅读次数:
214
yum install httpd -yyum install mysql mysql-server -yyum installphp-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php...
分类:
数据库 时间:
2015-07-10 00:20:10
阅读次数:
630
准备安装节点:1.安装ubuntuserver镜像到Vmware;(OpenSSH,VirtualMachineHost)2.修改apt源sudochmod+x/etc/apt/sources.listsudovim/etc/apt/sources.list%s/us\.archive\.ubuntu/mirrors\.aliyun/g3.sudoapt-getupdate4.sudoapt-getinstallubuntu-cloud-keyring5.sudovi/e..
分类:
系统相关 时间:
2015-07-08 00:42:42
阅读次数:
583
#!/bin/bash#getsourcelistfromalicd/etc/aptmvsources.listsources.list.bakwgethttp://mirrors.aliyun.com/repo/ubuntu1404-lts.listcpubuntu1404-lts.listsources.list#updateapt-getupdate
分类:
系统相关 时间:
2015-07-06 20:06:31
阅读次数:
151
阿里云地图:http://gc.ditu.aliyun.com/geocoding?a= Google地图:http://ditu.google.cn/maps/geo?q= //已失效 Baidu地图: http://api.map.baidu.com/geocoder?address= Soso地图: ?http://api.map.qq.com/g...
这个有趣的火车网上很多版本,但是没发现Centos6的版本,因此整理发布下,希望增加下linux的趣味性,让小伙伴们更加喜爱上linux这个极具魅力的操作系统。Centos6生成奔跑着的火车有趣动画步骤:1.安装epel源#wget-O/etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/e..
分类:
系统相关 时间:
2015-07-01 06:24:56
阅读次数:
230