搜尋此網誌

2015年3月31日 星期二

企業版 Linux 附加軟體套件包(EPEL)

CentOS 用戶可以直接通過 yum install epel-release 安裝並啟用 EPEL 源。CentOS Extras 默認包含該套件包 


如果使用第7代企業版 Linux:
rpm -Uvh http://mirror01.idc.hinet.net/EPEL/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm

如果使用第6代企業版 Linux x86 64:
rpm -Uvh http://mirror01.idc.hinet.net/EPEL/6/x86_64/epel-release-6-8.noarch.rpm

如果使用第6代企業版 Linux x86 32:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-8.noarch.rpm

如果使用第5代企業版 Linux x86 64:
rpm -Uvh http://mirror01.idc.hinet.net/EPEL/5/x86_64/epel-release-5-4.noarch.rpm

如果使用第5代企業版 Linux x86 32:
rpm -Uvh http://mirror01.idc.hinet.net/EPEL/5/i386/epel-release-5-4.noarch.rpm


Taiwan EPEL mirror site: 

mirror01.idc.hinet.net

ftp.yzu.edu.tw


How Do I Disable Firewall? RedHat 7 如何關防火牆

# service iptables save
# service iptables stop
# chkconfig iptables off

如果使用 IPv6 firewall, 輸入:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off

2015年3月26日 星期四

當 VMware Tools 不能安裝時候

當 VMware Tools 不能安裝時候,可以在這裡下載到 ISO 檔
http://packages.vmware.com/tools/esx/index.html

當虛擬機啟動之後,鍵盤滑鼠無法控制時

當虛擬機啟動之後,鍵盤滑鼠無法控制時,按以下修正:

1. 檢查虛擬機有無加入 USB 控制器。

2. 修改虛擬機的.vmx file 
   usb.generic.allowHID = "TRUE"
   usb.generic.allowLastHID = "TRUE"


3. 重新啟動虛擬機

2015年2月8日 星期日

Install xrdp Remote Desktop to CentOS 6 / RHEL 6

Source:http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-remote-desktop-to-centos-6-rhel-6.html#axzz3R9CgCVo3

Prerequisites:

Install EPEL repository on CentOS 6.
32 Bit
#rpm -UvH http://mirror01.idc.hinet.net/EPEL/6/i386/epel-release-6-8.noarch.rpm
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64 Bit
#rpm -UvH http://mirror01.idc.hinet.net/EPEL/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Installation:

Issue the following command to install xrdp
# yum -y install xrdp tigervnc-server
You will get the following output, make sure you are getting package from the newly created repository.
Installed:
  tigervnc-server.x86_64 0:1.1.0-8.el6_5      xrdp.x86_64 0:0.5.0-0.13.el6
 
Dependency Installed:
  libXmu.x86_64 0:1.1.1-2.el6
  xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6
  xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6
Once it is installed, lets start the xrdp service.
# service xrdp start
xrdp will listen on 3389, lets confirm this by issuing following command.
# netstat -antup | grep xrdp
tcp        0      0 127.0.0.1:3350              0.0.0.0:*                   LISTEN      11299/xrdp-sesman
tcp        0      0 0.0.0.0:3389                0.0.0.0:*                   LISTEN      11295/xrdp
By default, services wont auto start after system reboot. Issue the following command to enable the service at system start up.
# chkconfig xrdp on
# chkconfig vncserver on

2015年1月16日 星期五

Linux OS Mirror List

CentOS:
國家高速網路與計算中心:http://ftp.twaren.net/Linux/CentOS/
義守:http://ftp.isu.edu.tw/pub/Linux/CentOS/
元智:http://ftp.cse.yzu.edu.tw/pub/Linux/CentOS/
靜宜:http://ftp.cs.pu.edu.tw/Linux/CentOS/
台中縣教育網路中心:http://ftp.tcc.edu.tw/Linux/CentOS/
Hinet:http://mirror01.idc.hinet.net/
中山:http://ftp.nsysu.edu.tw/CentOS/

Debian:
義守:http://ftp.isu.edu.tw/pub/Linux/Debian/
國家高速網路與計算中心:http://ftp.twaren.net/Linux/Debian/
元智:http://ftp.cse.yzu.edu.tw/pub/Linux/debian/
靜宜:http://ftp.cs.pu.edu.tw/Linux/Debian/
台中縣教育網路中心:http://ftp.tcc.edu.tw/Linux/Debian/

Fedora:
義守:http://ftp.isu.edu.tw/pub/Linux/Fedora/
國家高速網路與計算中心:http://ftp.twaren.net/Linux/Fedora/
元智:http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/
靜宜:http://ftp.cs.pu.edu.tw/Linux/Fedora/
中山:http://ftp.nsysu.edu.tw/Fedora/

FreeBSD:
中山:http://ftp.nsysu.edu.tw/FreeBSD/

OpenSUSE:
義守:http://ftp.isu.edu.tw/pub/Linux/OpenSuSE/
國家高速網路與計算中心:http://ftp.twaren.net/Linux/OpenSuSE/
元智:http://ftp.cse.yzu.edu.tw/pub/Linux/openSUSE/
靜宜:http://ftp.cs.pu.edu.tw/Linux/OpenSuse/
台中縣教育網路中心:http://ftp.tcc.edu.tw/Linux/openSUSE/

RedHat:
義守:http://ftp.isu.edu.tw/pub/Linux/RedHat/

SuSE:
義守:http://ftp.isu.edu.tw/pub/Linux/SuSE/
靜宜:http://ftp.cs.pu.edu.tw/Linux/SuSE/

ubuntu:
義守:http://ftp.isu.edu.tw/pub/Linux/Ubuntu/
國家高速網路與計算中心:http://ftp.twaren.net/Linux/Ubuntu/
元智:http://ftp.cse.yzu.edu.tw/pub/Linux/Ubuntu/
靜宜:http://ftp.cs.pu.edu.tw/Linux/Ubuntu/
台中縣教育網路中心:http://ftp.tcc.edu.tw/Linux/ubuntu/
中山:http://ftp.nsysu.edu.tw/Ubuntu/

搜尋此網誌