1.配置
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export _USER_DEBUG=_XXX_DEBUG
ulimit -c unlimited
LD_LIBRARY_PATH=/home/test/trunk/LoginServer:/home/test/trunk/ManagerServer:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
unset USERNAME
2.运维事故
debug模式启动数据库会清除之前的log信息,上次服务器用debug模式启动的,然后重启,悲剧了,日志全丢了,以后一定要注意,赶紧把debug启动服务器清楚日志的命令去掉了