RedHat

RHEL5安装procinfo 2016-01-02

ftp://ftp.de.netclusive.de/pub/Linux/redhat/RHEL/5/x86/procinfo-9.i386.rpm [[email protected] ~]# uname -a Linux localhost.localdomain 2.6..el5xen #1 SMP Fri Jan 26 1 EST 2007 i686 i686 i386 GNU/Linux [[email protected] ~]# rpm -ivh procinfo

Redhat7 替换Centos7 yum源 2015-11-24

Redhat7 是 Centos7的发行版本,因版权问题在使用yum会提示需注册(就是要花钱ing): 我们转而使用Centos7源替代: ***************************************公告*************************************** 以下内容纯个人撰写,请勿用于商业用途,转载请注明出处,有错误及疑问请留言或私信,谢谢 ###########################仅供参考,如涉及版权,请私信###############

新手MySQL5.6版本RedHatRPM包安装过程记录 2015-11-21

[[email protected] 桌面]# rpm -e MySQL-shared-compat [[email protected] 桌面]# rpm -ivh /root/data/MySQL-client-5.6..el6.x86_64.rpmPreparing... ########################################### [100%] 1:MySQL-client ########################################### [1

RedHat和FreeBSD下的netsnmp配置方法 2015-11-08

开 始考虑到大家都用过MRTG,应该对snmp有所了解,所有没有将snmp的配置写上 来.现在发现有些朋友发贴说不能取到CPU和系统负载的数据,其原因应该是snmp设置默认没有允许取这些数据造成的.下面是我对linux和 FreeBSD下的net-snmp的一些简单的配置. 一.Linux(RedHat)的配置 打开默认的/etc/snmp/snmpd.conf文件,更改如下配置: 1.查找以下字段: # sec.name source community com2sec notConfigUs

redhat raid and lvm 2015-11-05

RAID : Like RAID 4, RAID 5 requires three or more disks RAID 6 literally goes one better than RAID 5. In other words, while it requires four or more disks, RAID mirrors RAID1: requires 2 disks RAID 1 or RAID 1+0, which yield redundancy, give only s /

redhat apache server 2015-11-05

#install mod-ssl under web server in system-config-packages Secure webpage default page need to add DirectoryIndex in front of VirtualHost directory DirectoryIndex sec.html in /etc/httpd/conf.d/ssl.conf Normal page the dedault page will be in /etc/ht

yum and service packages 2015-11-05

#install the packages needed to provide the service --Via http-- vi /etc/yum.repos.d/server.repo[server]name= redhatbaseurl=http://inst.example.com/inst/gpgcheck=1 gpgkey=http://inst.example.com/inst/RPM-GPG-KEY-CentOS-5enabled=1 --via ftp-- vi /etc/

redhatvsftpd 2015-11-05

# yum install vsftpd # setsebool -P ftp_home_directory 1 #local user chroot forbiden vi /etc/vsftpd/vsftpd.conf chroot_list_enable= YES chroot_list_file=/etc/vsftpd/chroot_list add user to chroot_list file. the user then can not change to his own hom

小企鹅输入法fcitx在RedHat9下安装 2015-11-05

Q:小企鹅输入法fcitx在RedHat9下安装? A: 一.fcitx的rpm包(以下命令均在终端中运行) 1.先卸载系统中会冲突的输入法: rpm -e miniChinput rpm -e xcin 2.到官方下载rpm包 [url]http://www.fcitx.org/download/fcitx-3.0..i386.rpm[/url] 3.安装rpm包 rpm -ivh fcitx-3.0..i386.rpm 4.运行fcitx fcitx 如果提示有另一个输入法,请尝

RedHat enterprise linux 4 cvs 配置 2015-11-04

通常情况下,RH linux缺省安装了cvs,可以查看是否安装cvs #rpm -qa|grep cvs 如果安装了,就会返回已安装的cvs版本号 #libbonoboui-2.8.0.99cvs2004 cvs-1.11..RHEL4 1.创建用户cvs #useradd cvs 为cvs用户添加密码 #passwd cvs 创建目录来放需要导入的源代码库 #mkdir /home/cvs/cvsroot 修改目录归属 #chown -R cvs:cvs /home/cvs

Redhat_rh033_c 2015-11-04

Redhat_rh033_c 几个重要的目录 用户家目录:/root /home/username (家目录权限700) 用户可执行文件:/bin /usr/bin /usr/local/bin 系统可执行文件:/sbin /usr/sbin /usr/local/sbin 挂载点目录:/media(挂载移动性设备) /mnt(挂载非易移性设备) 配置文件目录:/etc /usr/local/apache/{etc,conf} /usr/local/etc 临时文件目录:/tmp(>400M)

create swap 2015-11-02

mkswap /dev/sda8 swapon -a /dev/sda8 #dd if=/dev/zero of=/tmp/swapfile bs=1M count=512 #mkswap /tmp/swapfile #swapon -s #swapon -a /tmp/swapfile #swapoff /tmp/swapfile 本文出自 "学习笔记" 博客,请务必保留此出处http://johnnyxing.blog.51cto.com/855065/185095

rednfs 2015-11-02

system-config-nfs server setteing select 32764 to 32767 as port system-config-securitylevel to add the relevant ports add port 111 to both side as it is portmap port add port 2049 to both side as it is nfs port iptables -F on server side if the time

linux research 2015-11-02

redhat or suse linux xseries/pseries/bladecenter/vmware esx Openldap Samba redbook 上有很多资料 本文出自 "学习笔记" 博客,谢绝转载!

redhatproblem to be research 2015-11-02

1./ squid configuation accross 2 lan 2/ kickstart over nfs server 4/ hosts allow = .example.com. won't work in samba 5/ mails going from LAN masquerate as example.com 本文出自 "学习笔记" 博客,请务必保留此出处http://johnnyxing.blog.51cto.com/855065/247515

postfix configure 2015-11-02

vi /etc/postfix/main.cf inet_interfaces=all #inet_interfaces=localhost mydomain=example.com myhostname=server.example.com myneworks=192.168.1.0/24,127.0.0.0/8 relay-domains=$mydestination * super important mynetworks_style=host myorigin=$mydomain myo

APAR upgrade 2015-11-02

#rpm -Fvh --repackage fire* check if the system installed original fire* packages before install it, this avoid install addtional packages start with fire* the --repackage option is used to back up the old packages to /var/spool/repackage directory,

Virtualization with Xen 2015-11-02

Basic requirement: cpu need to have pae(physical memory extention) # yum groupinstall virtualization 本文出自 "学习笔记" 博客,请务必保留此出处http://johnnyxing.blog.51cto.com/855065/406858

user admin 2015-11-02

#sg ---- change group #gpasswd groupname ----create group passwd in /etc/gshadow #useradd [option] username default in /etc/default/useradd without option #useradd -d /opt/oracle -g dba oracle 1.edit /etc/ 2. create and populatiing home directroy fro

redhatSELinux configuration 2015-11-02

configure SELinux to support the service ===ftp=== //If you want to share files anonymously chcon -R -t public_content_t /var/ftp //If you want to setup a directory where you can upload files chcon -t public_content_rw_t /var/ftp/incoming You must al
一周排行
  • Android導航抽屜Navigation Drawer
    Google今年七月份的时候更新了他们的Google+应用,采用了新的导航方式并抛弃了na
  • nginx+php-fpm是现在配置php环境非常流行的组合之一.nginx以其并发能力强,轻巧,速度快而受到非常多人的青睐,php-fpm以其安全,处理php速度快而成为与nginx的最佳组合.php-fpm提供有
  • PL/SQL Developer是一个集成开发环境,专门开发面向Oracle数据库的应用.PL/SQL也是一种程序语言,叫做过程化SQL语言(Procedural Language/SQL).PL/SQL是Oracl
  • 问题:打开本地html文件时,报错如下 Cross origin requests are only supported for protocol schemes: http, data,chrome-extensi
  • 题意是问所有前缀出现的次数和,mod17: 想一想next数组代表什么意思,是从当前失配位置走到上一个匹配位置的后面,next[i]的值说明以当前位置为结尾,长度为next[i]的后缀,与以开头元素为起始,长度为ne
  • http://sourceforge.net/projects/ebtables/files/arptables/ tar xvzf arptables-v0.0.4.tar.gz cd arptables-v0.0
  • 参考自:http://developer.51cto.com/art/200909/150860.htm 为了要确保让换行效果在各种平台上都能够正常的显示,请用Environment.NewLine. 它可以确保在不
  • Flash網頁mp3播放器代碼(3例)
    第一款:可以添加多首歌 代码如下:可以添加多首歌曲中间用   间隔符号隔开  <EM ...
  • 目的 实现支持算法流程图   参考代码     c# DSGraphEdit - CodeProject NetworkView: A WPF custom control for visualizing and e
  • BZOJ 1572: Usaco2009 Open工作安排Job( 貪心 )
    贪心...按截止时间排序 , 然后从小到大考虑 . 假设当前考虑第 i 个任务 , 若目前