[Centos7] 초기 설정

서버셋팅하면서 자꾸 다시 찾아보게 되어서 history를 남긴다

#centos 설치후.. 설치는 그냥 넘어간다..
yum -y install vim                            # vim 설치
yum -y install net-tools 			     #ifconfig 명령어를 위해 설치 netstat, arp, route 사용가능
yum -y groupinstall "Development Tools"    #개발 도구들 설치
yum -y install NetworkManager-tui        # 아이피 호스트 쉽게 변경가능 명령어 nmtui

#사용자계정 /home/계정명/.bashrc 수정
vi .bashrc       # alias l='ll' 설정하여서 l명령어 서버 재부팅에도 유지하도록 설정
#하단내용추가
alias l='ll'
alias vi='vim'

#현재 사용하기 위해서는
alias l=ll #이렇게 명령어 입력
alias vi=vim

#vim 에디터 잘보이게 수정해봅시다
vi /etc/vimrc
# 하단내용추가
		set term=xterm-color 
		syntax on                                
		set nu
		set tabstop=4
# 위의 내용 vimrc에 추가해주자
# 하단에 자신에게 필요한거 있으면 더 추가해주세요
#set hlsearch " 검색어 하이라이팅
#set nu " 줄번호
#set autoindent " 자동 들여쓰기
#set scrolloff=2
#set wildmode=longest,list
#set ts=4 "tag select
#set sts=4 "st select
#set sw=1 " 스크롤바 너비
#set autowrite " 다른 파일로 넘어갈 때 자동 저장
#set autoread " 작업 중인 파일 외부에서 변경됬을 경우 자동으로 불러옴
#set cindent " C언어 자동 들여쓰기
#set bs=eol,start,indent
#set history=256
#set laststatus=2 " 상태바 표시 항상
#set paste " 붙여넣기 계단현상 없애기
#set shiftwidth=4 " 자동 들여쓰기 너비 설정
#set showmatch " 일치하는 괄호 하이라이팅
#set smartcase " 검색시 대소문자 구별
#set smarttab
#set smartindent
#set softtabstop=4
#set tabstop=4
#set ruler " 현재 커서 위치 표시
#set incsearch
#set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\

#이정도쯤이면 될것 같다
#현재 리눅스 버젼과 비트 확인정보
yum install -y redhat-lsb			#나중에 리눅스 버젼확인을위해서
lsb_release -a 			#리눅스버젼확인
getconf LONG_BIT		#리눅스비트확인
cat /etc/*-release | uniq	#리눅스버젼확인 다른방법


'Operating System > Centos' 카테고리의 다른 글

[Centos7] tomcat8 설치  (0) 2016.06.20
[Centos7] mysql 설치  (0) 2016.06.20
[Centos7] java설치  (2) 2016.06.20
[Centos7] vsftp 설치  (0) 2016.06.20
[Centos7] httpd 설치  (0) 2016.06.20
블로그 이미지

pstree

pstree.. process...

,