1.开机启动eth0
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=no -> ONBOOT=yes
2.重启 网络服务
service network restart
2新建工作文件夹
mkdir myworkplace
mkdir test
3添加 快捷键
vi .bashrc
alias cw='cd ~/myworkplace'
alias ct='cd ~/test'
alias cm='cd ~/myworkplace'
alias c='clear'
alias gcc='gcc -Wall -g -o'
alias vi='vim'
alias grep='grep -n --color=auto'
4更新源
yum search wget
yum install wget.x86_64
cd /etc/yum.repos.d
备份系统自带的yum源
mv CentOS-Base.repo CentOS-Base.repo.bk
下载CentOS 版本所对应的EPEL 的版本
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
安装EPEL 软件包
rpm -ivh epel-release-6-8.noarch.rpm
检查EPEL 源
yum repolist
5安装vim
yum install vim*
配置vim
汉化
wget http://hivelocity.dl.sourceforge.net/project/vimcdoc/vimcdoc/vimcdoc-1.9.0.tar.gz
tar -zxvf vimcdoc-1.9.0.tar.gz
cd vimcdoc-1.9.0
./vimcdoc.sh -i
安装ctags
yum search ctags
yum install ctags.x86_64
ctags -f .tags -R
vimrc文件
set tags=~/.tags
6安装git
yum install git
7安装gcc
yum install gcc
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=no -> ONBOOT=yes
2.重启 网络服务
service network restart
2新建工作文件夹
mkdir myworkplace
mkdir test
3添加 快捷键
vi .bashrc
alias cw='cd ~/myworkplace'
alias ct='cd ~/test'
alias cm='cd ~/myworkplace'
alias c='clear'
alias gcc='gcc -Wall -g -o'
alias vi='vim'
alias grep='grep -n --color=auto'
4更新源
yum search wget
yum install wget.x86_64
cd /etc/yum.repos.d
备份系统自带的yum源
mv CentOS-Base.repo CentOS-Base.repo.bk
下载CentOS 版本所对应的EPEL 的版本
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
安装EPEL 软件包
rpm -ivh epel-release-6-8.noarch.rpm
检查EPEL 源
yum repolist
5安装vim
yum install vim*
配置vim
汉化
wget http://hivelocity.dl.sourceforge.net/project/vimcdoc/vimcdoc/vimcdoc-1.9.0.tar.gz
tar -zxvf vimcdoc-1.9.0.tar.gz
cd vimcdoc-1.9.0
./vimcdoc.sh -i
安装ctags
yum search ctags
yum install ctags.x86_64
ctags -f .tags -R
vimrc文件
set tags=~/.tags
6安装git
yum install git
7安装gcc
yum install gcc