自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(75)
  • 收藏
  • 关注

转载 Spring boot 1.2.5.RELEASE 使用velocity模板中文乱码问题

application.properties文件: spring.velocity.resourceLoaderPath=classpath:/templates/ spring.velocity.prefix= spring.velocity.suffix=.vm spring.ve...

2015-09-21 20:57:00 310

转载 Docker使用系列六:CentOS 6.5 制作Docker DNS服务镜像

前面我们在192.168.56.101上有了registry.feedao.com私有的镜像源服务器,并且有了registry.feedao.com/centos-newssh镜像。 今天我们在192.168.56.103上制作DNS服务镜像,当然最好有点bind9的经验。 第一...

2014-04-23 14:55:00 246

转载 Docker使用系列五:CentOS 6.5 制作Docker Registry镜像

在国内使用docker pull总是不能正常拉取文件下来,现在可以自己制作镜像服务器了 希望你已经有了无需密码就能登陆的centos-newssh镜像,如果还没有,请看Docker使用系列四:http://my.oschina.net/feedao/blog/224249 制作D...

2014-04-20 15:50:00 143

转载 Docker使用系列四:CentOS 6.5 制作自动授信Docker容器镜像

这篇文章依赖于http://my.oschina.net/feedao/blog/223795,在前面的文章中我们制作好了两个镜像, centos6-base和centos6-ssh,今天我们要依赖于centos6-ssh镜像,制作第三个自动授信的镜像centos-newssh。 ...

2014-04-20 10:01:00 142

转载 Docker使用系列三:CentOS 6.5 快速体验Ubuntu 14.04 可以ssh 登陆

所有操作都是用root账号在CentOS 6.5上完成,假设没有安装docker 依次使用root执行后面的命令就可以了 curl https://git.oschina.net/feedao/Docker_shell/raw/start/ali-centos.sh | s...

2014-04-18 16:20:00 87

转载 Docker使用系列二:CentOS 6.5 制作可以ssh登录的Docker镜像

Docker使用系列一我们把镜像源改为了阿里云的,方便后续的操作。 执行这个命令就把源地址改为阿里的: curl https://git.oschina.net/feedao/Docker_shell/raw/start/ali-centos.sh | sh 第一安装Docke...

2014-04-18 13:43:00 130

转载 Docker使用系列一:CentOS 6.5 使用aliyun镜像脚本

当我们把CentOS 6.5安装好以后,可以使用这个脚本来使用国内的阿里云镜像源 #!/bin/bashmv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupwget -O /etc/...

2014-04-17 17:01:00 118

转载 CentOS 6.5 制作debian 7 wheezy 的docker镜像

具体步骤就不详述了,跟前面的文章一样:http://my.oschina.net/feedao/blog/222767 后面是终端执行命令的步骤,按步骤来就可以了 [root@localhost admin]# debootstrap --arch amd64 wheezy d...

2014-04-15 18:20:00 135

转载 CentOS 6.5 制作ubuntu 12.04的docker镜像

安装docker请看这里:http://my.oschina.net/feedao/blog/222306 前面的文章http://my.oschina.net/feedao/blog/222699,我们创建了centos镜像,这次我们要在 CentOS上制作ubuntu镜像 ...

2014-04-15 17:09:00 161

转载 CentOS 6.5 docker自制CentOS镜像

安装docker请看这里:http://my.oschina.net/feedao/blog/222306 安装: yum -y install febootstrap 添加用户: adduser admin 把admin用户加到docker组: user...

2014-04-15 15:53:00 99

转载 CentOS 修改源为163和指定epel源和docker安装

地址:http://mirrors.163.com/.help/centos.html 使用说明 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repo...

2014-04-15 10:40:00 124

转载 Ubuntu install wifi ap

sudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install ap-hotspot Then configure it as sudo ap-hotspot confi...

2014-04-09 20:44:00 131

转载 打开tomcat的远程调试端口,三行脚本搞定

#!/bin/bash# file: $CATALINA_HOME/bin/debug.shexport JPDA_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=5469,server=y,suspend=n"export JA...

2014-04-01 09:54:00 117

转载 解决virtualbox复制ubuntu后改变mac地址不能识别网卡问题

转载于:https://my.oschina.net/feedao/blog/202554

2014-02-24 09:57:00 87

转载 Linux 使用脚本创建用户并设计密码

转载于:https://my.oschina.net/feedao/blog/201703

2014-02-21 09:52:00 139

转载 获取本机信息

#!/bin/bashecho "{"files=$1LINK_PATH=/export/auto_deploy/linksecho " \"appList\":["for f in `ls $files`; do link_file=$LINK_PATH/$f...

2013-09-02 16:27:00 106

转载 shell脚本获取本机IP列表

/sbin/ifconfig | grep -i "inet" | grep -iv "inet6" | awk {'print $2'} | sed -ne 's/addr\://p' ...

2013-08-30 17:09:00 169

转载 使用python添加用户

#!/usr/bin/env python#utf-8import osimport cryptusername = raw_input("whats your name:")password = raw_input("password:")enc_pass = c...

2013-08-23 10:14:00 271

转载 ulimit 设置进程打开文件个数

ulimit-SHn65535 #51200可自己根据应用调整 最正确的做法是在/etc/security/limits.conf里设置: * hard nofile 65535 * soft nofile 6535 ...

2013-08-22 16:02:00 108

转载 mysql 主从复制配置错误信息处理

Error_code: 2003 如果你用mysql可以连接上主服务器,请查看selinux是否是开启的 查看这篇文章: http://dossy.org/2011/11/mysql-replication-connection-error-on-non-standard-...

2013-08-21 11:11:00 113

转载 ansible python-selinux

CentOS 6.4 x86_64 问题: failed: [127.0.0.1] => {"failed": true, "item": ""} msg: Aborting, target uses selinux but python bindings (pytho...

2013-08-17 20:27:00 194

转载 /etc/yum.repos.d/CentOS-Media.repo

# # This repo is used to mount the default locations for a CDROM / DVD on # CentOS-6. You can use this repo and yum to install items directl...

2013-08-16 13:46:00 1274

转载 fstab修改错误了如何修复

当你不小心把磁盘表输入错误以后,系统总是让你按ctrl+D重新启动或者输入密码进入shell,你输入密码登陆后,编辑文件是只读的,执行下面的命令后就可以编辑了。 mount -o remount,rw / vi /etc/fstab 删除错误的磁盘信息,重启就好了。 ...

2013-08-13 09:46:00 157

转载 安装 RHEL EPEL Repo on 6.x

wgethttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -Uvhepel-release-6-8.noarch.rpm rpm -Uvh http://dl....

2013-08-07 15:55:00 55

转载 bash $

获取脚本路径:TOP_DIR=$(cd $(dirname "$0") && pwd) 3.5.4 Command Substitution Command substitution allows the output of a command ...

2013-08-07 14:52:00 64

转载 openstack ironic 开发环境搭建第一步

git clone https://github.com/openstack/ironic virtualenv venv_iron cd venv_iron/ source bin/activate sudo yum -y i...

2013-08-06 21:15:00 189

转载 xming sublime2

http://sourceforge.net/projects/xming/ xshell设置X11转发 putty设置x11转发 secureCRT设置X11转发 yum设置代理:export http_proxy="http://10.28.163.54:8087...

2013-08-06 15:11:00 95

转载 ubuntu apt添加代理

sudo apt-get -o Acquire::http::proxy="http://10.28.163.54:8087/" -y install libgtk2.0-0 ...

2013-08-06 14:24:00 70

转载 "message": "Unable to sign token."

Troubleshooting Identity (Keystone) If you see an error opening the signing key file, it's possible the person who rankeystone-manage p...

2013-08-05 15:02:00 147

转载 windows安装django使用mysql数据库

1、首先下载:http://python.org/ftp/python/2.7.5/python-2.7.5.msi 安装完成后添加环境变量PATH:D:\Python27;D:\Python27\Scripts; 2、下载:https://bitbucket.org/pypa/...

2013-08-04 21:35:00 180

转载 centos54.ks kickstart

install cdrom lang en_US.UTF-8 keyboard us network --device eth0 --bootproto dhcp network --device eth1 --bootproto dhcp rootpw --iscr...

2013-08-03 10:17:00 69

转载 win8安装ruby,rails

ruby安装: http://rubyinstaller.org/ ruby:http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p247-x64.exe?direct 双击安装 文档:ht...

2013-07-27 19:02:00 98

转载 centos 6.3 源码编译nginx

yum install libxslt-devel yum -y install pcre-devel yum -y install openssl-devel ./configure --prefix=/export/servers/nginx --pid-path...

2013-07-23 15:17:00 79

转载 ubuntu 1204安装nginx的编译配置参数

安装依赖库: sudo apt-get install libxml2-dev sudo apt-get install libxslt1-dev sudo apt-get install libpcre3-dev libssl-dev openssl sudo apt-g...

2013-07-23 10:22:00 69

转载 virtualbox虚拟机配置多网卡

/etc/sysconfig/network-scripts/eth0 DEVICE="eth0" BOOTPROTO="dhcp" HWADDR="08:00:27:27:4B:59" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="E...

2013-07-13 15:53:00 199

转载 nginx源码编译参数

转载于:https://my.oschina.net/feedao/blog/144346

2013-07-12 21:44:00 49

转载 centos 5 系列版本下载地址 (没有5.8的)

如何用百度找到centso具体版本的下载地址: 搜索:site:centos.org Release for CentOS-5.5 i386 and x86_64 centos 5.4 CD: http://mirror.centos.org/centos/5.4/isos/i386...

2013-07-11 07:07:00 357

转载 bash获取脚本所在路径

#!/bin/bash CMD_PATH=`dirname $0` echo "current cmd path:$CMD_PATH" cd $CMD_PATH echo $PWD ...

2013-07-08 11:35:00 102

转载 php eclipse下载地址

转载于:https://my.oschina.net/feedao/blog/142998

2013-07-07 15:31:00 93

转载 ssh终端字体 lucida console 12size

cygwin secureCRT 转载于:https://my.oschina.net/feedao/blog/142363

2013-07-04 10:04:00 418

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除