CentOS를 설치 후 부팅하게 되면 eth0 인터페이스가 자동으로 활성되지 않는다.
eth0 인터페이스가 활성화되지 않는다면 인터넷이 안 된다.

1. 일반적인 활성화 방법

[root@localhost ~]# ifup eth0

비활성화

[root@localhost ~]# ifdown eth0


2. 부팅시 자동으로 활성화

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

ONBOOT=no 부분을 ONBOOT=yes 로 수정

[root@localhost ~]# service network restart

'Study > Ubuntu' 카테고리의 다른 글

Ubuntu - MariaDB 설치  (0) 2013.03.24
Ubuntu - nginx 컴파일 설치  (0) 2013.03.22
Ubuntu - vi 설정 변경  (0) 2012.11.16
htop - an interactive process viewer for Linux  (0) 2011.12.28
Ubuntu - Openssh 설치 및 포트변경  (0) 2011.12.28
Posted by theqoo
,

우분투를 설치하고 vi를 쓰다보면 불편하다.

설정을 변경해보자.


1. 홈디렉토리로 이동


[root@ubuntu:~]# cd


2. vi .exrc 명령후 설정값 입력 저장


set autoindent
set number
set bs=2
set nocp


3. source .exrc 명령


4. vi 사용

'Study > Ubuntu' 카테고리의 다른 글

Ubuntu - MariaDB 설치  (0) 2013.03.24
Ubuntu - nginx 컴파일 설치  (0) 2013.03.22
CentOS - eth0 자동 활성화 시키기  (0) 2013.02.23
htop - an interactive process viewer for Linux  (0) 2011.12.28
Ubuntu - Openssh 설치 및 포트변경  (0) 2011.12.28
Posted by theqoo
,



윈도우의 작업관리자와 비슷하다.

설치방법
root@ubuntu:~# apt-get install htop


'Study > Ubuntu' 카테고리의 다른 글

Ubuntu - MariaDB 설치  (0) 2013.03.24
Ubuntu - nginx 컴파일 설치  (0) 2013.03.22
CentOS - eth0 자동 활성화 시키기  (0) 2013.02.23
Ubuntu - vi 설정 변경  (0) 2012.11.16
Ubuntu - Openssh 설치 및 포트변경  (0) 2011.12.28
Posted by theqoo
,

1. 설지 여부 확인
root@ubuntu:~$ dpkg -|lgrep ssh

2. 설치
root@ubuntu:~# apt-get install openssh-server

3. 포트변경
root@ubuntu:~# vi /etc/ssh/sshd_config

위 파을을 열어 밑에 포트번호를 바꾸어 주면된다.

# What ports, IPs and protocols we listen for
Port 22

4. ssh 재시작
root@ubuntu:~# /etc/init.d/ssh restart


'Study > Ubuntu' 카테고리의 다른 글

Ubuntu - MariaDB 설치  (0) 2013.03.24
Ubuntu - nginx 컴파일 설치  (0) 2013.03.22
CentOS - eth0 자동 활성화 시키기  (0) 2013.02.23
Ubuntu - vi 설정 변경  (0) 2012.11.16
htop - an interactive process viewer for Linux  (0) 2011.12.28
Posted by theqoo
,