2015年12月16日

get metadata

摘要: curl -i http://controller:8557 curl -i http://169.254.169.254/openstack/ 阅读全文

posted @ 2015-12-16 20:25 yaoweilei 阅读(155) 评论(0) 推荐(0) 编辑

date modify

摘要: ln -sf /usr/share/zoneinfo/Asia/Chongqing /etc/localtime ln -sf /usr/share/zoneinfo/UTC /etc/localtime date –s '2022-22-22 22:22:22' clock –w ln -sf / 阅读全文

posted @ 2015-12-16 16:32 yaoweilei 阅读(103) 评论(0) 推荐(0) 编辑

set source

摘要: mount-oloop/var/www/html/CentOS-6.4-x86_64-bin-DVD1.iso/var/www/html/CentOS[base]name=CentOSbaseurl=http://193.168.140.49/CentOS/gpgcheck=1gpgkey=http... 阅读全文

posted @ 2015-12-16 12:36 yaoweilei 阅读(170) 评论(0) 推荐(0) 编辑

2015年12月14日

image source

摘要: 1. mkdir /mnt/isomkdir /mnt/cdrom 2. mount -o loop /mnt/iso/CentOS-6.5-x86_64-bin-DVD1.iso /mnt/cdrom df -h 3. vi CentOS-Media.repo [c5-media]name=Cen 阅读全文

posted @ 2015-12-14 17:17 yaoweilei 阅读(97) 评论(0) 推荐(0) 编辑

2015年12月4日

simple auth

摘要: curl -i 'http://193.160.15.13:5000/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d '{"auth": {"tenantName": 阅读全文

posted @ 2015-12-04 09:24 yaoweilei 阅读(296) 评论(0) 推荐(0) 编辑

2015年11月19日

net

摘要: osi Ethernet switch/router principle,manage openflow vxlan/nvgre/stt/still/mpls/bgp/ospf/isis 阅读全文

posted @ 2015-11-19 09:12 yaoweilei 阅读(117) 评论(0) 推荐(0) 编辑

bridge

摘要: to be continued 阅读全文

posted @ 2015-11-19 08:59 yaoweilei 阅读(100) 评论(0) 推荐(0) 编辑

iptable

摘要: iptables 阅读全文

posted @ 2015-11-19 08:56 yaoweilei 阅读(109) 评论(0) 推荐(0) 编辑

namespace

摘要: namespace 阅读全文

posted @ 2015-11-19 08:55 yaoweilei 阅读(97) 评论(0) 推荐(0) 编辑

2015年11月11日

rule add

摘要: #!/bin/bash# clear all the existing rulesfunction clear_existing_rules(){ systemctl stop firewalld.service firewall-cmd --delete-service=openvpn iptab 阅读全文

posted @ 2015-11-11 18:11 yaoweilei 阅读(174) 评论(0) 推荐(0) 编辑

导航