14 11 月, 2015,由 frank撰写
很多东西不记录就会忘记,今天有些时间,索性把这几年的跑步经历总结一下~ 从开始跑步到现在也有段时间了,为什么要跑步?主要是为了减肥健身。最喜欢夏天跑步,跑到全身湿透的感觉真是爽的没话说^_^ 春天和秋天较好,我实在不太适合冬天跑步,跑一次难受一次,不是感冒就是头疼。简单总结下这几年的跑步经历吧:
2010年
这年的北马是我工作后的第一次长跑、也是我第二次参加关于长跑的比赛(第一次是高中时代表学校参加海淀区高中生冬季长跑比赛,7公里)。那年我考上了北工大的MBA。那天冒着雾霾和小雨,瘸着腿完成了北马10公里,成绩记得是1小时零8分,跑完后深秋的风刮在身上真是冷呀,但我第一次感受到大家一起跑步的快乐,而且还有周围路人的鼓舞!
2011年
这年的北马,由于其他原因,我错过了,但那年我完成了我人生中的第一件大事 🙂
完整阅读
3 11 月, 2015,由 frank撰写
备份邮件:
我的outlook是由“Exchange+本地文件夹”组成的,直接把下面整个文件夹备份就可以了,这里包含了你所有outlook的邮件,日历和本地文件夹,对于outlook 2016,请看最后部分
/Users/<user>/Documents/Microsoft User Data/Office 2011 Identities/Main Identity
备份恢复:
在新MAC上打开新的outlook,不要设置任何账号,然后选Tools中得Import:
完整阅读
17 7 月, 2015,由 frank撰写
Not use ubuntu for long time… some useful commands had forgot, summary again:
1. Permit root login
gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf –> “greeter-show-manual-login=true”
sudo passwd root
reboot
2. Change language
gedit /etc/default/locale –> change what do you want
reboot
3. Script couldn’t run on linux “bad interpreter: No such file or directory”
that should dos format, need change to unix format
vi xxx
check format by “:set ff” or “:set fileformat”
change format by “:set ff=unix” or “:set fileformat=unix”
:wq
4. Enable ssh service
sudo apt-get install openssh-server
gedit /etc/ssh/sshd_config –> “PermitRootLogin yes”
restart by “/etc/init.d/ssh restart”
check by “ps -ef|grep ssh”
reboot
5. Disable firewall
check whether enable by “ufw status”
disable by “ufw disable”
6. Change update source
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vim /etc/apt/sources.list
sudo apt-get update
Refer to default source, can reference this article.
7. Change ip address, add/del GW route, add text to file
sudo ifconfig eth1 up
sudo ifconfig eth0 down
sudo ifconfig eth1 up 10.0.0.30 netmask 255.255.255.128
sudo route add -net 0.0.0.0/0 gw 10.0.0.126 dev eth1
sudo echo ‘nameserver x.x.x.x’ >> /etc/resolv.conf
8. Install DHCP Server
sudo apt-get install isc-dhcp-server
vim /etc/default/isc-dhcp-server
18 5 月, 2015,由 frank撰写
Introduction
Customer run PBB-EVPN on 9001 NV at different site, and interconnect their different DC. Due to only have 1 interconnect link between 9001 NV, so they need a standby link that though Internet by GRE. After checked in lab, EVPN over GRE looks like same as L2VPN over GRE (support from 4.3 on ASR9k), and I had completed test for EVPN over GRE in lab. I will share config and topology.
But please attention: After checked, PBB-EVPN over GRE not offical release, so not suggest do it for customer. For the articles, not only talk about EVPN over GRE, and include how to troubleshooting PBB-EVPN
完整阅读