본문으로 바로가기

1. 한글 설정
# yum -y install kde-i18n-Korean
# yum -y install fonts-korean
# fc-cache  ==> 반드시 해주어야 한다.

# vi /etc/sysconfig/i18n
LANG="ko_KR.eucKR"
SUPPORTED="en_US.UTF-8:en_US:en:ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"

 

2.SSH 설정과 실행

   1).ssh 가 설치 되었는지 확인
    [root@landmoa]# rpm -qa | grep ssh
    openssh-4.3p2-19.fc6
    openssh-askpass-4.3p2-19.fc6
    openssh-server-4.3p2-19.fc6
    openssh-clients-4.3p2-19.fc6

    2). ssh 실행 확인
    [root@landmoa]# /etc/rc.d/init.d/sshd restart
    sshd 를 정지함: [ OK ]
    sshd (을)를 시작합니다: [ OK ]

    3).sshd 설정 

   

        [root@landmoa]# vi /etc/ssh/sshd_config

       #특정포트로 서비스 하려면 
        Port 26
        Protocol 2

        #root의 ssh login은 막는다
        PermitRootLogin no

    # vi /etc/services
       (중략)
        ssh 26/tcp 
        # SSH Remote Login Protocol, 이부분을 원하는 포트 번호로 바꾸어 준다.
           ssh 26/udp 
         # SSH Remote Login Protocol, 이부분을 원하는 포트 번호로 바꾸어 준다.
        (하략)


# /etc/rc.d/init.d/xinetd restart
만약 xinetd 가 설치 되지 않았다면
# rpm -qa | grep xinetd //설치 확인
# yum -y install xinetd* //새로 설치

 

 

3. mc 프로그램설치
# yum install mc

 

 

 

4.samba 설치

 

#yum install samba-* system-config-samba*

# smbpasswd -a root
  New SMB password:
  Retype new SMB password:

 

# cd /etc/samba/
# vi smb.conf

 

[global]
dos charset = cp949
unix charset = euckr
workgroup = workgroup
server string = mywf
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
ldap ssl = no
cups options = raw

 

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

 

[land]
path = /home
read only = No
available = No

[root]
path = /
read only = No

 

[/]
path = /
read only = No
create mask = 0777
directory mask = 0777
available = No

 

 삼바 데몬을 실행합니다.
# /etc/init.d/smb start

 

5. 기타

# yum updata
업데이트가 끝나면 리부팅

# uname -r
2.6.18-348.4.1.el5xen
커널이 xen 버젼이면

# vi /boot/grub/grub.conf
default=1 //부팅되는 커널을 xen이 아니것으로 변경후 리부팅


ip6tables 제어

# ntsysv
ip6tables 체크해제 후 확인