"CentOS xrdp 설치"의 두 판 사이의 차이

79번째 줄: 79번째 줄:
/usr/lib64/xrdp/xrdp
/usr/lib64/xrdp/xrdp
</source>
</source>
:→ /usr/lib64/xrdp 에 설치되었다.
실행파일은 /usr/lib64/xrdp에, 설정파일은 /etc/xrdp에 설치되었다.
:→ 설정파일은 /etc/xrdp에 었다.
 
==시작/중지/확인==
;명령어
<source lang='bash'>
# 시작
/usr/lib64/xrdp/xrdp
 
# 중지
/usr/lib64/xrdp/xrdp -kill
 
# 확인
ps -ef | grep xrdp
</source>
 
;실행예시
<source lang='dos'>
[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
</source>


[[분류:리눅스]]
[[분류:리눅스]]
[[분류:설치]]
[[분류:설치]]

2012년 2월 25일 (토) 09:30 판

1 설치 확인

[root@localhost ~]# yum info xrdp
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
base                                                                                | 1.1 kB     00:00     
extras                                                                              | 2.1 kB     00:00     
rpmforge                                                                            | 1.1 kB     00:00     
updates                                                                             | 1.9 kB     00:00     
Available Packages
Name       : xrdp
Arch       : x86_64
Version    : 0.4.0
Release    : 1.el5.rf
Size       : 250 k
Repo       : rpmforge
Summary    : Open source remote desktop protocol (RDP) server
URL        : http://xrdp.sourceforge.net/
License    : GPL
Description: The goal of this project is to provide a fully functional Linux terminal
           : server, capable of accepting connections from rdesktop and Microsoft's
           : own terminal server / remote desktop clients.

2 설치

[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!

3 설치 위치 확인

[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에 설치되었다.

4 시작/중지/확인

명령어
# 시작
/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
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}