1.修改命令提示符
在当前账户主目录下找到.bashrc文件,追加一行export PS1=XXXX命令
默认值一般是
export PS1=' \u@\h:\w\$ '
上面的意思是:用户@主机:当前目录 $
个人由于主机名过长,故直接去掉\h,改为myhostname
2.修改apt更新源
到/etc/apt目录,备份文件sources.list
修改内容为网易源
deb precise main universe restricted multiverse
deb-src precise main universe restricted multiverse
deb precise-security universe main multiverse restricted
deb-src precise-security universe main multiverse restricted
deb precise-updates universe main multiverse restricted
deb precise-proposed universe main multiverse restricted
deb-src precise-proposed universe main multiverse restricted
deb precise-backports universe main multiverse restricted
deb-src precise-backports universe main multiverse restricted
deb-src precise-updates universe main multiverse restricted
3.修改时区,参考:
“
首先是时区,试了下命令:tzconfig。结果系统提示:
WARNING: the tzconfig command is deprecated, please use: dpkg-reconfigure tzdata
然后使用命令 dpkg-reconfigure tzdata,居然是图形界面,太棒了。。。直接选择了Asia和Shanghai,结束了。date了下,时区设置成了CST(China Standard Time)。
”
阅读(1875) | 评论(0) | 转发(0) |