Tag: CentOS
-
CentOS/RHEL 5 中 Samba 服务无法访问
新安装的 CentOS 6.3 的服务器使用原始 Samba 配置文件却无法正常工作,症状是:能够访问,但是进入目录提示没有权限。 尝试方法: 关闭 SELinux vim /etc/sysconfig/selinux 改为如下: # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – SELinux is fully…
-
为 CentOS 打上 EPEL 扩展源
最近想在 CentOS 上安装 wine,却发现在默认的 repo 里边没有。一番搜索后得知 CentOS 的源中没有 wine, 另辟蹊径的方法是安装 EPEL。那什么事 EPEL 呢,官方的答案是 Extra Packages for Enterprise Linux,也就是为企业级 Linux 提供的额外软件源,兼容 RHEL,CentOS,Scientific Linux。 安装方法如下: For EL5 32位: su -c ‘rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm’ … su -c ‘yum install foo’
-
CentOS 上安装 Testlink
系统为 CentOS 6.2 x86_64。Testlink:1.9.3。 1. 安装 mysql: yum mysql mysql-server。 2. 安装 php: yum php php-mysql php-gd php-ldap 3. 配置自启动: chkconfig mysql on chkconfig httpd on
-
使用 CentOS 源更新你的 RHEL5
最近需要在 RHEL 上安装 KVM,但是 RHEL 上安装需要额外的 Extra CD,还是 yum 直接安装方便。但是我们不是 RHEL 的付费用户啊。在网上 Google 一下找到好多方法,无外乎修改为 CentOS 源,更新 yum,导入 Key。以下是我找到并试验下来最简单的方法。 在 /etc/yum.repos.d/ 目录下新建一个文件 CentOS-Base.repo; vim /etc/yum.repos.d/CentOS-Base.repo 复制以下内容并保存; [base] name=CentOS-5 – Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch& repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ baseurl=http://ftp.sjtu.edu.cn/centos/5/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 #released updates [update] name=CentOS-5 – Updates #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates baseurl=http://ftp.sjtu.edu.cn/centos/5/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 #packages used/produced in the build but not released [addons] name=CentOS-5…