Posted by zuzhihui in vps技术 on 2008/06/14 with No Comments
Debian Linux 4 是我们推荐的VPS操作系统,我们在VPS上按照如下方式配置Debian Linux
apt-get install rcconf openssh-server less psmisc locales vim lftp
apt-get install bc bzip2 ntpdate sudo python curl ftp unzip
cp /usr/share/vim/vim70/vimrc_example.vim /etc/vim/vimrc.local
cat >> /etc/vim/vimrc.local < set fileformats=unix
set nobackup
set nu
set ignorecase
set tabstop=4
set shiftwidth=4
set noexpandtab
set noautoindent
set fileencodings=utf-8,euc-cn
EOF
注意:如果在ubuntu804下要把vimrc.local里面的set mouse=a注释掉,否则putty上没有办法选择
vi /etc/bash.bashrc /root/.bashrc /etc/skel/.bashrc #去掉相应的注释
echo ". /etc/bash.bashrc" >> /root/.bashrc
要发表评论,您必须先登录。
近期评论