Thứ Năm, 18 tháng 5, 2017

CentOS Linux 7 xRDP (Linux RDP

CentOS Linux 7 xRDP (Linux RDP)

----
CentOS Linux 7 xRDP  (Linux RDP遠端桌面)
----
# 安裝 nux repo source 及 epel REPO
[root@hnamenode2 ~]# yum install epel-release -y
[root@hnamenode2 ~]# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

# 安裝 xrdp
[root@hnamenode2 ~]# yum -y install xrdp tigervnc-server

# 啟動 xrdp
[root@hnamenode2 ~]#  systemctl restart xrdp.service

# 觀看啟動的狀態
[root@hnamenode2 ~]# netstat -antup | grep xrdp
tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN      31816/xrdp-sesman
tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      31817/xrdp

# xrdp 預設啟動
[root@hnamenode2 ~]#  systemctl enable xrdp.service
ln -s '/usr/lib/systemd/system/xrdp.service' '/etc/systemd/system/multi-user.target.wants/xrdp.service'

# 設定 selinux 給予權限
[root@hnamenode2 ~]# chcon --type=bin_t /usr/sbin/xrdp
[root@hnamenode2 ~]# chcon --type=bin_t /usr/sbin/xrdp-sesman

1 nhận xét:

  1. The new Las Vegas casino was first ever to reopen for
    A new Las Vegas casino was first ever to 남양주 출장안마 reopen 제주 출장샵 for guests last month, 오산 출장샵 a Wynn 김해 출장마사지 Las Vegas, Wynn and Encore Resort Casino and 과천 출장마사지 the

    Trả lờiXóa