Linux上課筆記

2015年8月7日 星期五

配置 ftp yum 源


  1. 切換目錄到 /etc/yum.repos.d/ 下

     
  2. # gedit rpm_ftp.repo
    建置配置文件(rpm_ftp可改用別的檔案名稱)

     
  3. [rpm_ftp]
    name=rpm_ftp
    baseurl=http://ftp.stu.edu.tw/Linux/CentOS/7.1.1503/os/x86_64/
    enabled=1
    gpgcheck=0


    ※ baseurl中的http若改寫為ftp會無法連線


     
  4. # yum clean all
    清除緩存

     
  5. # yum update
    更新 yum 庫

     
  6. 連線並更新成功
較新的文章 較舊的文章 首頁

關於我自己

Unknown
檢視我的完整簡介

網誌存檔

  • ▼  2015 (29)
    • ►  9月 (9)
    • ▼  8月 (20)
      • Chapter 6. Controlling Access to Files with Linux ...
      • Chapter 5. Managing Local Linux Users and Groups.
      • Chapter 4. Creating, Viewing, and Editing Text Files.
      • Chapter 3. Getting Help in Red Hat Enterprise Linux.
      • Chapter 2. Managing Files From the Command Line.
      • Chapter 1. Accessing the Command Line.
      • 硬碟設置相關
      • 安裝與設定 Drupal
      • 安裝與設定 php / phpMyAdmin
      • 安裝 Apache HTTP Server
      • 安裝 MariaDB
      • 安裝 / 新增 輸入法
      • 利用 EPEL 內的 xfreerdp 連線至別台電腦
      • Extra Packages for Enterprise Linux (EPEL)
      • Install xrdp on CentOS 7 / RHEL 7
      • 手動設定 IP 位置
      • 配置 ftp yum 源
      • 修改 root 密碼
      • 安裝 Red Hat Enterprise Linux 7.0
      • 安裝與設定 Virtual Box
圖片視窗主題. 主題圖片來源:mammamaart. 技術提供:Blogger.