1. profile
수정(.bash_profile)
#####################################
LANG="ko_KR.euckr"
SUPPORTED="ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"
ulimit
-n 10240
set -o vi
#####################################
2. xfce설치
[root@centos ~]# yum grouplist | grep
XFCE
XFCE-4.2
[root@centos ~]# yum groupinstall
XFCE-4.2
[root@centos ~]#
3. vnc 설정
[root@centos .vnc]# cat
/etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of
display:user pairs.
#
# Uncomment the line below to start a VNC server on
display :1
# as my 'myusername' (adjust this to your own). You will
also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do
that.
#
# DO NOT RUN THIS SERVICE if your local area network is
#
untrusted! For a secure way of using VNC, see
# <URL:http://www.uk.research.att.com/vnc/sshvnc.html>.
# VNCSERVERS="1:myusername"
# VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry
1024x768"
[root@centos .vnc]# /usr/bin/vncserver
:1
[root@centos .vnc]# /usr/bin/vncserver -kill :1
[root@centos .vnc]#
/usr/bin/vncpasswd
[root@centos .vnc]# cat
xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset
SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r
$HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid
grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title
"$VNCDESKTOP Desktop" &
# twm &
# startkde &
# exec gnome-session &
exec
xfce4-session &
[root@centos .vnc]# service
vncserver start
Starting VNC server: 1:root [ OK
]
[root@centos .vnc]# chkconfig vncserver on
[root@centos .vnc]# vncserver :1 -geometry 1024x768 (수동으로 직접 기동시)
New 'centos:1 (root)' desktop is centos:1
Starting applications specified in /root/.vnc/xstartup
Log file is
/root/.vnc/centos:1.log
[root@centos .vnc]#
4. vsftpd 기동
-. vsftpd 설치
[root@centos ~]# yum
install vsftpd
-. root 로그인 활성화 - 아래 파일에서 root
삭제
[root@centos ~]# vi /etc/vsftpd/ftpusers
[root@centos
~]# vi /etc/vsftpd/user_list
-. 아스키모드
활성화
[root@centos ~]# vi
/etc/vsftpd/vsftpd.conf
ascii_download_enable=YES
ascii_upload_enable=YES
-. vsftpd 데몬 실행
[root@centos ~]# /etc/rc.d/init.d/vsftpd
start
-. 서비스등록
[root@centos ~]# chkconfig vsftpd on
5. telnet 서버 설치
-. yum install
telnet-server
or
Application > Add/Remove
Software > PackageManager > Legacy Network Server
(gnome관리자)
=> telnet server 설치
-. vi
/etc/xinetd.d/telnet -> disable -> no
-.
/etc/init.d/xinetd restart
6. 기본 윈도우 매니저를 마지막 로그인시 사용한 것으로 선택하는 옵션추가
-.
vi /etc/X11/gdm/gdm.conf
=>
ShowLastSession=true
7. QT 관련 기본 라이브러리 설치
-. 패키지관리자 -> 기반시스템 -> 레거지 소프트웨어 지원
->
gtk +
openmotif22
qt4
-. gcc
8. 커널 소스 설치
yum install kernel-devel
yum install kernel-headers
yum
install kernel-xen-devel
yum install kernel-xen-headers
< or
>
yum install kernel-devel
kernel-headers kernel-xen-devel
kernel-xen-headers
9. 폰트설치
-. yum install
kde-i18n-Korean
-. yum istall fonts-korean
-. *.ttf 파일을
/usr/share/fonts/ 아래로 복사
-. x-windows를 gnom으로 실행
-. System >
Preferences > Fonts 실행
-. 원하는 폰트 선택 && Details 버튼 클릭
-.
Details(세부옵션)에서 'LCD용' 선택
10. sendmail을 사용하지 않을 경우 서비스 비활성화
[root@ora11r2 init.d]# chkconfig --list | grep sendmail
sendmail
0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@ora11r2
init.d]# chkconfig sendmail off
[root@ora11r2 init.d]#
chkconfig --list | grep sendmail
sendmail 0:off 1:off 2:off
3:off 4:off 5:off 6:off
[root@ora11r2
init.d]#
'Linux (pLinux & x86)' 카테고리의 다른 글
Linux 용 nxfree 설정하기... (0) | 2012.09.17 |
---|---|
Ubuntu Basic Configuration (for Desktop) (0) | 2012.09.17 |
Linux IP Alias Configuration Samples (0) | 2012.09.17 |
Linux DVD를 이용하여 Yum Local Repository 구성하기... (0) | 2012.09.17 |
Power Linux에서 DLpar를 위한 패키지 설치 (RMC Connection) (0) | 2012.09.17 |