环境LINUX系统CentOSrelease6.8(Final)内核版本2.6.32-642.el6.x86_64epel源wget-O/etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/epel-6.reposelinuxDisablediptablesFirewallisnotrunning.nfs服务端1、是否安装nfs-utilsrpcbind[root@backup~]#rpm-qanfs-utilsrp..
分类:
其他好文 时间:
2016-10-18 16:14:48
阅读次数:
283
centos7通过yum安装jewel版本ceph安装好系统,配置好网络yuminstallwget-y配置yum源,因为ceph默认的yum源在国外,访问比较慢,延迟大,使用阿里的源yumcleanallrm-rf/etc/yum.repos.d/*.repowget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-7...
分类:
其他好文 时间:
2016-10-17 23:53:02
阅读次数:
359
环境: VMware Virtual Machine : XGan63.cn IP: 192.168.31.63 (Bridge) 已配置本地yum源 > /mnt 已配置网络yum源 > http://mirrors.aliyun.com 安装前确保环境干净,避免软件冲突造成影响 检查环境: wh ...
分类:
Web程序 时间:
2016-10-17 20:32:26
阅读次数:
333
最近配置maven,选择中央仓库地址是一个十分头疼的问题,oschina速度也不快,找了很久发现了阿里云的国内maven中央仓库速度爆炸。setting.xml文件镜像配置如下: thinks aliyun. ...
分类:
其他好文 时间:
2016-10-14 17:24:59
阅读次数:
814
转自”https://yq.aliyun.com/articles/33259“ 查看系统版本: uname -a (Linux查看版本当前操作系统内核信息) cat /proc/version (Linux查看当前操作系统版本信息) 1、首先需要安装Ubuntu SVN。Ubuntu下的SVN安装 ...
分类:
移动开发 时间:
2016-10-12 19:26:11
阅读次数:
149
[root@aliyun-php_45~]$netstat-nActiveInternetconnections(w/oservers)ProtoRecv-QSend-QLocalAddressForeignAddressStatetcp0010.172.83.189:4300310.172.161.158:6379TIME_WAITProto第一列为socket使用的协议。Recv-Q第二列为接到的但是还没处理的字节数。Send-Q第三列为已..
分类:
Web程序 时间:
2016-10-10 02:09:48
阅读次数:
180
由于某些不可抗因素,Python官方的包在国内有时无法访问或出现网络不稳定现象。为了解决这个问题就需要将Pip中自带的源地址修改为镜像地址。目前收集的比较好的镜像地址有:http://pypi.v2ex.com/simple/http://pypi.douban.com/simple/http://mirrors.aliyun.com/pypi/simple/..
分类:
编程语言 时间:
2016-10-09 00:34:38
阅读次数:
328
在使用salt给机器添加时间同步的计划任务的时候,忘记salt的cron模块的写法了,于是偷懒直接使用echo追加到/var/spool/cron/root的方法添加了计划任务。如下:salt‘*‘cmd.run"echo‘*/10***/usr/sbin/ntpdatentp1.aliyun.com>/dev/null2>&1‘>>/var/spool/cron/r..
分类:
其他好文 时间:
2016-10-08 21:12:41
阅读次数:
133
ubuntu 16:1.源cp /etc/apt/sources.list /etc/apt/sources.list.bkpvi /etc/apt/sources.list-+{ deb http://mirrors.aliyun.com/ubuntu/ xenial main restricte ...
分类:
系统相关 时间:
2016-10-08 20:29:29
阅读次数:
215
1安装fpm打包工具建议首次安装依次进行。后面很绕还容易把服务器搞崩溃,即使安装不上也就算了,这个打包在自己机器测试最好嘛。1.1首次安装yum-yinstallrubyrubygemsruby-develgemsources-ahttp://mirrors.aliyun.com/rubygems/gemsources--removehttp://rubygems.org/geminst..
分类:
其他好文 时间:
2016-10-08 02:58:46
阅读次数:
444