安装Debian Linux的VPS的必要配置

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

配置vim

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上没有办法选择

配置bash

vi /etc/bash.bashrc /root/.bashrc  /etc/skel/.bashrc #去掉相应的注释
echo  ". /etc/bash.bashrc" >> /root/.bashrc
标签:

Leave a Comment

Back to Top

2007-2013 © 北京瑞豪开源科技有限公司 京ICP备13004995号-2