Pacific-Design.com

    
Home Index

1. Linux

2. CentOS 7

+ Apache2

+ Color Prompt

+ FastCGI

+ PHP

+ PHP5

+ Printer CUPS

+ Samba

+ mod rewrite

+ suEXEC

+ suexec

Linux / CentOS 7 /

Hard Disk Utilization

  • $ iostat -dx /dev/sda 5
  • $ iostat -dx /dev/mapper/centos-home 5
  • $ iotop

Linux 3.10.0-229.el7.x86_64 (lenovo)    01/28/2016  _x86_64_    (8 CPU)

Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
sda               0.21     1.86    0.48   12.81    45.51    79.10    18.75     0.40   30.22    5.97   31.14   1.77   2.35

Download CentOS

https://www.centos.org/download/

Check RedHat Version

  cat /etc/redhat-release

Check Architecture 32bit or 64bit

  uname -i

RHEL/CentOS 6 32-64 Bit

## RHEL/CentOS 6 32 Bit OS ##
$ wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
$ rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

## RHEL/CentOS 6 64 Bit OS ##
$ wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
$ rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

RHEL/CentOS 5 32-64 Bit

## RHEL/CentOS 5 32 Bit OS ##
$ wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
$ rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

## RHEL/CentOS 5 64 Bit OS ##
$ wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
$ rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

Enable Extras

$ vi /etc/yum.repos.d/rpmforge.repo

Install GIT Repository

$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

## How to Install the old CVS
$ wget http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cvs-1.11.23.tar.gz
$ tar xzvf cvs-1.11.23.tar.gz