panelarrow

For Myself.

2015年8月4日 星期二

20150804_Linux_RedHat_L3

1.架設ftp server
# cd /etc/yum.repos.d/
#vi RHEL7.repo
  [RHEL70]
  name=RHEL7
  baseurl=ftp://localhost/pub
  enable=1
  gpgcheck=0

#systemctl enable vsftpd.service
#restorecon -R /var/ftp/pub
#firewall -cmd --permanent --add-service=ftp
#systemctl restart vsftpd.service <- 重新啟動服務
#systemctl status vsftpd.service  <- 檢查服務是否有啟動

另外用圖形化軟體安裝界面安裝下列檔案:
i.  system-config-firewall base components and command line tool
ii. A graphical interface for modifying the system language
iii. A graphical interface for administering users and groups


2.安裝EPEL(免費套件)
網址: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
下載完並安裝
#yum install -y epel-release-latest-7.noarch.rpm
安裝完可到下列資料夾檢查
#cd /etc/yum.repos.d/

會多出此檔案
epel.repo

檢查
#yum search xfreerdp -> 搜尋有沒有 xfreerdp (遠端登入)
#yum install xfreerdp -y

執行遠端登入:
xfreerdp -g 800X600 IP位址 <- for linux
xfreerdp -g 800X600 -u 帳號 IP位址 <- for windows


3.手動設定網路(半圖形介面)
#nmtui-edit

4.設定 rdp server
網址:http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html#axzz3hqxIgxc3

# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
(以下未完成)
# yum -y install xrdp tigervnc-server
# systemctl enable xrdp.service
# systemctl start xrdp.service

圖形化設定防火牆
防火牆 -> 永久 -> Public -> 連接土阜 -> 加入 3389 tcp

5. 格式化格式
Windows
FAT -> 2G
FAT32 -> 4g
NTFS -> 16T
Linux
ext4 -> 16T
xfs

0 意見:

張貼留言

Pages

技術提供:Blogger.

Copyright © Joshua's Linux | Powered by Blogger
Design by AnarielDesign | Blogger Theme by NewBloggerThemes.com