CentOS xrdp 설치

1 설치[ | ]

[root@localhost ~]# yum install xrdp -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.cdnetworks.com
 * extras: centos.mirror.cdnetworks.com
 * rpmforge: fr2.rpmfind.net
 * updates: centos.mirror.cdnetworks.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 0:0.4.0-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package             Arch                 Version                      Repository              Size
====================================================================================================
Installing:
 xrdp                x86_64               0.4.0-1.el5.rf               rpmforge               250 k
Transaction Summary
====================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 250 k
Downloading Packages:
xrdp-0.4.0-1.el5.rf.x86_64.rpm                                               | 250 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : xrdp                                                                         1/1 

Installed:
  xrdp.x86_64 0:0.4.0-1.el5.rf                                                                             

Complete!

2 설치 위치 확인[ | ]

[root@localhost ~]# whereis xrdp
xrdp: /etc/xrdp /usr/share/man/man8/xrdp.8.gz
[root@localhost ~]# find / -name xrdp
/etc/xrdp
/usr/lib64/xrdp
/usr/lib64/xrdp/xrdp

→ 실행파일은 /usr/lib64/xrdp에, 설정파일은 /etc/xrdp에 설치되었다.

3 시작/중지/확인[ | ]

명령어
# 시작
/usr/lib64/xrdp/xrdp

# 중지
/usr/lib64/xrdp/xrdp -kill

# 확인
ps -ef | grep xrdp
실행예시
[root@localhost xrdp]# /usr/lib64/xrdp/xrdp
process 3433 started ok
[root@localhost xrdp]# ps -ef | grep xrdp
root      3433     1  0 16:27 pts/0    00:00:00 /usr/lib64/xrdp/xrdp
root      3439  9792  0 16:27 pts/0    00:00:00 grep xrdp
[root@localhost xrdp]# /usr/lib64/xrdp/xrdp -kill
stopping xrdp
stopping process id 3433
[root@localhost xrdp]# ps -ef | grep xrdp
root      3607  9792  0 16:29 pts/0    00:00:00 grep xrdp

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}