#=============================
#【外部接続の確認(インターネット疎通)】
ping -c 3 8.8.8.8 ; echo ;ping -c 3 google.co.jp
#=============================
#【ローカルリポジトリの確認】
#-----------------------------
dnf repolist
ls -ltr /etc/yum.repos.d/
ls -ltr /etc/yum.repos.d/redhat.repo
cat /etc/yum.repos.d/redhat.repo
#=============================
#【EPELリポジトリをダウンロードする】
dnf install --downloadonly --destdir . https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
find / -name epel-release-latest-8.noarch.rpm
ls -l /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/epel-release-latest-8.noarch.rpm
#=============================
#【ダウンロードしたEPELリポジトリをインストールする】
dnf localinstall /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/epel-release-latest-8.noarch.rpm
dnf update
rpm -qa | grep epel
dnf repolist
ls -ltr /etc/yum.repos.d/
#=============================
#【リモート接続用パッケージ(xrdp)の追加】
dnf --disablerepo="*" --enablerepo="epel" list available
dnf --disablerepo="*" --enablerepo="epel" list available | egrep "(xrdp|tigervnc-server)"
dnf --enablerepo="epel" install xrdp
#=============================
#【サービス(xrdp)設定】
systemctl status xrdp
systemctl start xrdp
systemctl enable xrdp
systemctl status xrdp
#=============================
#【リモートデスクトップ接続用のIPアドレス確認】
ip a | grep "inet "
⇒確認したIPアドレスを使ってリモートデスクトップ接続を試みる
PR