侧耳倾听

YuBo的小站

Coredump信息收集

| Comments

简介


进程的coredump文件较大,出现问题后收集起来比较费事.本文介绍一种轻量级的办法,先将core文件里的关键debug信息打印出来,后续可以非常方便的传到日志服务器中,然后可以在服务器上通过debuginfo文件还原成有用的信息

需要准备的软件


How to Start Octopress

| Comments

how to begin

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
mkdir ~/git
git clone  git@github.com:yubo/yubo.github.io.git ~/git/yubo.github.io
cd ~/git/yubo.github.io
git checkout -b source origin/source
rake setup_github_pages

how to post

rake generate   # build static web
rake preview    # preview url  http://localhost:4000
rake deploy     # deploy to yubo.github.io

Don’t forget to commit the source for your blog.

cd ~/git/yubo.github.io
git add .
git commit -m 'your message'
git push origin source