2017年4月25日 星期二

隱藏文字不換行

2017年4月12日 星期三

RHEL-7.3 on AWS

Windows Putty 登入 RHEL-7.3 on AWS
https://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/putty.html?icmpid=docs_ec2_console

切換 root
#sudo su -

安裝 KDE 

# yum groupinstall 'KDE'

參考:https://linuxconfig.org/installation-of-kde-desktop-manager-on-rhel-7-linux-server

安裝 XRDP

Step 1. Install EPEL and nux Desktop repository rpms by automatic. (recommended)
# yum localinstall http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Step 2. The following command to install xrdp, and you will get the following output, make sure you are getting package from the newly created repository.
# yum -y install xrdp tigervnc-server

Step 3. Once it is installed, lets start the xrdp service.
# systemctl start xrdp.service

Step 4. The xrdp will listen on 3389, lets confirm this by issuing following command.
# netstat -antup | grep xrdp

Step 5. By default, services wont auto start after system reboot, issue the following command to enable the service at system start up.
# systemctl enable xrdp.service

Step 6. Next is to create iptables rule to allow rdp connection from the external machines, following command will add the exception for xrdp port (3389).(如果步驟 6 沒成功,先重開機再試)
# firewall-cmd --permanent --zone=public --add-port=3389/tcp
# firewall-cmd --reload

參考:http://blog.sina.com.tw/william_liao/article.php?entryid=661556

安裝  Chrome (root 登入 KDE)

安裝完成之後,你會發現在應用程序裡雙擊chrome沒有任何的反應,打開目錄 /usr/share/applications 右擊 Google Chrome 圖標點屬性,在命令這一行的最後輸入: --no-sandbox


Redhat 文件參考:https://access.redhat.com/documentation/zh_tw/red-hat-enterprise-linux/?version=pdf/