Thursday, January 31, 2013

how to Configure dhcp on RHEL 6.3 & Centos 6.3

#yum install dhcp* -y
# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
cp: overwrite `/etc/dhcp/dhcpd.conf'? yes
#vim /etc/dhcp/dhcpd.conf

47 subnet 192.168.0.0 netmask 255.255.255.0 {
 48   range 192.168.0.3 192.168.0.254;
 49   option domain-name-servers station1.example.com;
 50   option domain-name "station1.example.com";
 51   option routers 192.168.0.1;
 52   option broadcast-address 10.5.5.31;
 53   default-lease-time 600;
 54   max-lease-time 7200;
 55 }
Read More

how to Configure proxy (Squid) on RHEL 6.3 & Centos 6.3

# install squid* -y
# vim /etc/squid/squid.conf


1 visible_hostname Murad Proxy server

30 acl mynetworks src 192.168.0.0/24
31 acl badsite dstdomain "/etc/squid/badsite.conf"
35 http_access deny badsite
36 http_access allow mynetworks
66 http_port 3128 transparent

Read More

Wednesday, January 30, 2013

How to install wine on RHEL 6.3 & Centos 6.3

Install Howto

  1. Download the latest epel-release rpm from
    (a) http://dl.fedoraproject.org/pub/epel/6/SRPMS/epel-release-6-8.src.rpm
    (b) http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  2. Install epel-release rpm:
    # rpm -Uvh epel-release*rpm
  3. Install epel-release rpm package:
    # yum install epel-release
     
    #yum list all;
    #yum update all;
    #yum install wine* -y;
     
     Read More:
    ###################### GET Magic ######################## 

Thursday, January 3, 2013

RHEL 6.3 ,CentOS 6.3,Scientific Linux 6.3 Archives and compressed files

Command
Description
# bunzip2 file1.bz2
decompress a file called 'file1.bz2'  
# bzip2 file1
compress a file called 'file1'  
# gunzip file1.gz
decompress a file called 'file1.gz'  
# gzip file1
compress a file called 'file1'  
[root@server1 ~]#
 tar –cvf archive_name source
[root@server1 ~]# cd /etc/
[root@server1 etc]
# tar -cvf /bakup/resolv.tar resolv.conf
[root@server1 etc]# cd /bakup/
[root@server1 bakup]# ls -l
total 12
-rw-r--r-- 1 root root 10240 Dec 18 18:30 resolv.tar
Create tar extension file
[root@server1 bakup]
# tar -xvf /bakup/resolv.tar
[root@server1 bakup]# ls
resolv.conf  resolv.tar
Extract from tar file
[root@server1 bakup]
# gzip -v /bakup/resolv.tar
/bakup/resolv.tar:          98.6% -- replaced with /bakup/resolv.tar.gz
[root@server1 bakup]# ls
resolv.conf  resolv.tar.gz
For Compress
[root@server1 bakup]
# gunzip -v /bakup/resolv.tar
/bakup/resolv.tar.gz:      98.6% -- replaced with /bakup/resolv.tar
[root@server1 bakup]# ls
resolv.conf  resolv.tar
UnCompress
[root@server1 ~]# ps
Show current Process
[root@server1 ~]# pstree
Show current process with tree
[root@server1 ~]# uptime
How many times are system start
[root@server1 ~]# top
 System process monitor
[root@server1 ~]# pstree | less
Show process with tree
[root@server1 ~]# iostat
Show system process & Idle time
[root@server1 ~]# hostname
server1.example.com
Check Host name
[root@server1 ~]# ntsysv
Show runlevel list
[root@server1 ~]# setup
For network configuration,authentication
[root@server1 ~]#chkconfig vsftpd on
Automaticaly on vsftpd on system reboot

RHEL 6.3,Centos 6.3 ,Scientific Linux 6.3 Shutdown, Restart and Logout of a system Command

 

Command
Description
# init 0
shutdown system
# logout
leaving session  
# reboot
reboot
# shutdown -h now
shutdown system
# shutdown -h 16:30 &
planned shutdown of the system  
# shutdown -c
cancel a planned shutdown of the system  
# shutdown -r now
reboot  
# telinit 0
shutdown system
# halt
 For shutdown system

RHEL 6.3 ,CentOS 6.3 ,Scientific Linux 6.3 Advanced Linux Command

Advanced Command

Command
Description
[root@server1 /]# ls
[root@server1 ~]# ls
anaconda-ks.cfg  Documents  file1  install.log.syslog  Pictures  TemplatesDesktop  Downloads  install.log  Music      Public    Videos
Show list of directory
[root@server1 ~]# ls –a
[root@server1 ~]# su user1
[user1@server1 root]$ cd
[user1@server1 ~]$ ls -a
.  ..  .bash_history  .bash_logout  .bash_profile  .bashrc  .gnome2  .mozilla  .viminfo
 Show hidden content of a directory
[user1@server1 ~]$ su root
Password:
[root@server1 user1]# cd
[root@server1 ~]# ls -l
total 104
-rw-------. 1 root root  2467 Dec 15 20:25 anaconda-ks.cfg
drwxr-xr-x. 2 root root  4096 Dec 18 02:04 Desktop
drwxr-xr-x. 2 root root  4096 Dec 16 00:34 Documents
drwxr-xr-x. 2 root root  4096 Dec 16 00:34 Downloads
Show Content list with Permission
[root@server1 ~]# ls -lh
total 104K
-rw-------. 1 root root 2.5K Dec 15 20:25 anaconda-ks.cfg
drwxr-xr-x. 2 root root 4.0K Dec 18 02:04 Desktop
drwxr-xr-x. 2 root root 4.0K Dec 16 00:34 Documents
drwxr-xr-x. 2 root root 4.0K Dec 16 00:34 Downloads

Show content total & Individual
 Content size.
[root@server1 ~]# ls -lt
total 148
-rw-r--r--  1 root root 46974 Dec 18 04:02 install.log
 List by Modification
[root@server1 ~]# ls
install.log         Music     Public     Videos
anaconda-ks.cfg  Documents  file1      install.log.syslog  Pictures  Templates
[root@server1 ~]# more install.log
 Show content with list
Then press Enter
[root@server1 ~]# clear
Clear Screen
[root@server1 ~]# tree
Content show with tree diagram
[root@server1 ~]# rmdir
[root@server1 ~]# mkdir 1
[root@server1 ~]# rmdir 1
 Remove Emtpy directory
[root@server1 ~]# hwclock
Tue 18 Dec 2012 04:20:34 AM BDT  -0.924766 seconds
  Show DATE & TIME
[root@server1 ~]# history 10
Show content history
[root@server1 ~]# mail
 mail from /var/spool/mail
[root@server1 ~]# locate resolv.conf
/etc/resolv.conf
/etc/sysconfig/networking/profiles/default/resolv.conf
/usr/share/man/man5/resolv.conf.5.gz
Search file or service from full system
Last update #updatedb


Postfix,SMTP Email Server on CentOS 6.3 OR Scientific Linux 6.3,RHEl 6.3

Final  Postfix dovcot Server configure & test

[root@server1 ~]#  service postfix status;service postfix restart;chkconfig postfix on;
master is stopped
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
[root@server1 Desktop]# service postfix status;service postfix restart;chkconfig postfix on;
master (pid  3261) is running...
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
 service postfix status;service postfix restart;chkconfig postfix on;
master is stopped
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
[root@server1 ~]#  service postfix status;service postfix restart;chkconfig postfix on;
master (pid  3261) is running...
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
 yum install postfix dovecot squirrelmail -y
Loaded plugins: refresh-packagekit, security
other                                                                                                 | 1.3 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package dovecot.x86_64 1:2.0.9-2.el6_1.1 will be installed
---> Package postfix.x86_64 2:2.6.6-2.2.el6_1 will be installed
---> Package squirrelmail.noarch 0:1.4.22-3.el6 will be installed
--> Processing Dependency: php for package: squirrelmail-1.4.22-3.el6.noarch
--> Running transaction check
---> Package php.x86_64 0:5.3.3-3.el6_2.8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                        Arch                     Version                                Repository              Size
=============================================================================================================================
Installing:
 dovecot                        x86_64                   1:2.0.9-2.el6_1.1                      base                   1.9 M
 postfix                        x86_64                   2:2.6.6-2.2.el6_1                      base                   2.0 M
 squirrelmail                   noarch                   1.4.22-3.el6                           base                   4.1 M
Installing for dependencies:
 php                            x86_64                   5.3.3-3.el6_2.8                        base                   1.1 M

Transaction Summary
=============================================================================================================================
Install       4 Package(s)

Total download size: 9.2 M
Installed size: 39 M
Downloading Packages:
-----------------------------------------------------------------------------------------------------------------------------
Total                                                                                         34 MB/s | 9.2 MB     00:00   
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:postfix-2.6.6-2.2.el6_1.x86_64                                                                          1/4
  Installing : php-5.3.3-3.el6_2.8.x86_64                                                                                2/4
  Installing : squirrelmail-1.4.22-3.el6.noarch                                                                          3/4
  Installing : 1:dovecot-2.0.9-2.el6_1.1.x86_64                                                                          4/4
  Verifying  : squirrelmail-1.4.22-3.el6.noarch                                                                          1/4
  Verifying  : 1:dovecot-2.0.9-2.el6_1.1.x86_64                                                                          2/4
  Verifying  : php-5.3.3-3.el6_2.8.x86_64                                                                                3/4
  Verifying  : 2:postfix-2.6.6-2.2.el6_1.x86_64                                                                          4/4

Installed:
  dovecot.x86_64 1:2.0.9-2.el6_1.1        postfix.x86_64 2:2.6.6-2.2.el6_1        squirrelmail.noarch 0:1.4.22-3.el6     

Dependency Installed:
  php.x86_64 0:5.3.3-3.el6_2.8                                                                                             

Complete!
############################### STEP 02 ##################################
[root@server1 ~]#  service postfix status;service postfix restart;chkconfig postfix on;
master is stopped
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
[root@server1 ~]#  service postfix status;service postfix restart;chkconfig postfix on;
master (pid  3261) is running...
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
 service postfix status;service postfix restart;chkconfig postfix on;
master is stopped
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
[root@server1 ~]#  service postfix status;service postfix restart;chkconfig postfix on;
master (pid  3261) is running...
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
################################## STEP 03 #####################################
[root@server1 ~]# vim /etc/postfix/main.cf

Change

From

75 #myhostname = host.domain.tld
83 #mydomain = domain.tld
99 #myorigin = $mydomain
113 #inet_interfaces = all
116 inet_interfaces = localhost
164 mydestination = $myhostname, localhost.$mydomain, localhost
165 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
419 #home_mailbox = Maildir/


To

75 myhostname = mail.example.com
83 mydomain = example.com
99 myorigin = $mydomain
113 inet_interfaces = all
116 #inet_interfaces = localhost
164 #mydestination = $myhostname, localhost.$mydomain, localhost
165 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
419 home_mailbox = Maildir/
:wq save and quit

[root@server1 ~]# service postfix restart;chkconfig postfix on;service postfix status;
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
master (pid  3604) is running...

Read more

How to Configure DNS on CentOS 6.3 & RHEL 6.3,Scientific Linux 6.3

############################# STEP-01 ##########################
[root@localhost ~]# hostname
localhost.localdomain
root@localhost ~]# vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=server1.example.com

[root@server1 Desktop]# yum install bind -y
Loaded plugins: refresh-packagekit, security
other                                                                                                                  20/20
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package bind.x86_64 32:9.8.2-0.10.rc1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                 Arch                      Version                                     Repository               Size
=============================================================================================================================
Installing:
 bind                    x86_64                    32:9.8.2-0.10.rc1.el6                       base                    4.0 M

Transaction Summary
=============================================================================================================================
Install       1 Package(s)

Total download size: 4.0 M
Installed size: 7.2 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 32:bind-9.8.2-0.10.rc1.el6.x86_64                                                                         1/1
  Verifying  : 32:bind-9.8.2-0.10.rc1.el6.x86_64                                                                         1/1

Installed:
  bind.x86_64 32:9.8.2-0.10.rc1.el6                                                                                        

Complete!


################################ STEP-02 ########################################

[root@server1 Desktop]# mkdir -p /bakup/dns
[root@server1 Desktop]# cp /etc/named.conf /bakup/dns/named.conf.original
[root@server1 Desktop]# cp /etc/named.rfc1912.zones /bakup/dns/named.rfc1912.zones.original
[root@server1 Desktop]# vim /etc/named.conf
From

11         listen-on port 53 { 127.0.0.1; };

            To

11         listen-on port 53 { 192.168.0.254; };

17         allow-query     { any; };

Save&exit
[root@server1 Desktop]# vim /etc/named.rfc1912.zones

From

 13 zone "localhost.localdomain" IN {
 14         type master;
 15         file "named.localhost";
 16         allow-update { none; };
 17 };

31 zone "1.0.0.127.in-addr.arpa" IN {
 32         type master;
 33         file "named.loopback";
 34         allow-update { none; };
 35 };


To

13 zone "example.com" IN {
 14         type master;
 15         file "forward.zone";
 16         allow-update { none; };
 17 };

31 zone "0.168.192.in-addr.arpa" IN {
 32         type master;
 33         file "reverse.zone";
 34         allow-update { none; };
 35 };
Read More

How to configure Proxy Server on RHEL 6.3 or Scientific Linux 6.3 or CentOS 6.3

[root@server1 ~] vim /etc/sysctl.con
net.ipv4.ip_forward = 1

[root@server1 ~]iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

your client will be internet via Proxy

############################################## Transparent Proxy ###################################################
# vim /etc/squid/squid.conf
visible_hostname murad
http_port 3128 transparent
############## Inser Acl Section ########################

# Allow My Networks
acl mynetworks src 192.168.0.0/24

# from where browsing should be allowed
http_access allow mynetworks

[root@server1 ~]# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3128 -j ACCEPT
[root@server1 ~]# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
[root@server1 ~]# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-ports 3128

[root@server1 ~]# service squid restart
Stopping squid: ................                           [  OK  ]
Starting squid: .                                          [  OK  ]

############################ Block Website ################################
# vim /etc/squid/badsite.conf

www.facebook.com
www.google.com
www.yahoo.com

# Allow My Networks
acl mynetworks src 192.168.0.0/24

##Add acl Badsites##
acl badsite dstdomain "/etc/squid/badsite.conf"
# Deny IP Address Range
acl denyip src 192.168.0.14
# Allow IP Address Range
acl allowip src 192.168.0.1-10
# Download Limit
acl Group1 src 192.168.0.1-192.168.0.10/24
reply_body_max_size 64 KB Group1
#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager
http_access deny manager
# Deny IP Address Range
http_access deny denyip
# Allow IP Address Range
http_access allow allowip
##Deny access to badsites##
http_access deny badsite

Read More

How to NAT or Masquerade on RHEL 6.3 or Scientific Linux 6 or Centos 6.3

[root@server1 ~] vim /etc/sysctl.con
net.ipv4.ip_forward = 1

[root@server1 ~]iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

How to Configure Web Server on RHEL 6.3 or CentOS 6.3 or Scientific linux 6.3

[root@server1 ~]# yum install httpd
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-15.sl6.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                    Arch                        Version                              Repository                 Size
=============================================================================================================================
Installing:
 httpd                      x86_64                      2.2.15-15.sl6.1                      base                      812 k

Transaction Summary
=============================================================================================================================
Install       1 Package(s)

Total download size: 812 k
Installed size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : httpd-2.2.15-15.sl6.1.x86_64                                                                              1/1
  Verifying  : httpd-2.2.15-15.sl6.1.x86_64                                                                              1/1

Installed:
  httpd.x86_64 0:2.2.15-15.sl6.1                                                                                           

Complete!
[root@server1 ~]# service httpd restart;chkconfig httpd on
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@server1 ~]# vim /etc/httpd/conf/httpd.conf
change
    From
262 ServerAdmin root@localhost
276 #ServerName www.example.com:80
402 DirectoryIndex index.html index.html.var


                To
262 ServerAdmin root@server1.example.com
276 ServerName server1.example.com:80
402 DirectoryIndex index.html index.html.var index.php
[root@server1 ~]# touch /var/www/html/index.html
[root@server1 ~]# vim index.html

<html>
<head>
<title>
This is My Test mail
</title>
</head>
<body bgcolor=pink>
<center>Welcome to Technologybd.net</center>
</body>
</html>


[root@server1 ~]# service httpd restart;chkconfig httpd on
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Read More

How to Multiple IP on ONE NIC on RHEL 6.3 ,CentOS 6.3 or Scientific Linux 6.3

[root@server1 ~]# cd /etc/sysconfig/network-scripts/
[root@server1 network-scripts]# ls
[root@server1 network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:e0:4c:04:7d:2b
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="587b9935-5b28-45e3-8d45-ae3e179f9ad0"
IPADDR=192.168.0.254
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
DNS1=192.168.0.254
IPV6INIT=no
USERCTL=no

[Note:Before editing network configuration file, take backup of it.]

eth0:1 is an alias of the eth0 interface. Now, let̢۪s assign a different IP address to eth0:1. Other NIC aliases could be named eth0:2, eth0:3 etc.

[root@server1 network-scripts]# cp ifcfg-eth0 ifcfg-eth0:1
[root@server1 network-scripts]# vim ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
HWADDR=00:e0:4c:04:7d:2b
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="587b9935-5b28-45e3-8d45-ae3e179f9ad0"
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
DNS1=192.168.0.254
IPV6INIT=no
USERCTL=no
Read More

Dial OUT Server on Scientific Linux 6.3 or CentOS 6.3

[root@localhost ~]# rpm -q wvdial
package wvdial is not installed
[root@localhost ~]# yum install wvdial -y
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package wvdial.x86_64 0:1.60-12.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================
 Package              Arch                 Version                    Repository          Size
===============================================================================================
Installing:
 wvdial               x86_64               1.60-12.el6                base                91 k

Transaction Summary
===============================================================================================
Install       1 Package(s)

Total download size: 91 k
Installed size: 218 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : wvdial-1.60-12.el6.x86_64                                                   1/1
  Verifying  : wvdial-1.60-12.el6.x86_64                                                   1/1

Installed:
  wvdial.x86_64 0:1.60-12.el6                                                                

Complete!
[root@localhost ~]# rpm -q wvdial
wvdial-1.60-12.el6.x86_64
[root@localhost ~]# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3 
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Read More

FTP SERVER ON SCIENTIFIC LINUX 6.3 & CENTOS 6.3


[root@server1 ~]# yum install ftp vsftpd -y
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package ftp.x86_64 0:0.17-51.1.el6 will be installed
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================
 Package       Arch          Version                 Repository   Size
=======================================================================
Installing:
 ftp           x86_64        0.17-51.1.el6           base         56 k
 vsftpd        x86_64        2.2.2-11.el6            base        150 k

Transaction Summary
=======================================================================
Install       2 Package(s)

Total download size: 206 k
Installed size: 426 k
Downloading Packages:
-----------------------------------------------------------------------
Total                                   22 MB/s | 206 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : ftp-0.17-51.1.el6.x86_64                            1/2
  Installing : vsftpd-2.2.2-11.el6.x86_64                          2/2
  Verifying  : vsftpd-2.2.2-11.el6.x86_64                          1/2
  Verifying  : ftp-0.17-51.1.el6.x86_64                            2/2

Installed:
  ftp.x86_64 0:0.17-51.1.el6        vsftpd.x86_64 0:2.2.2-11.el6      

Complete!
[root@server1 ~]# rpm -q vsftpd;rpm -q ftp;
vsftpd-2.2.2-11.el6.x86_64
ftp-0.17-51.1.el6.x86_64
[root@server1 ~]# setenforce
usage:  setenforce [ Enforcing | Permissive | 1 | 0 ]
[root@server1 ~]# getenforce
Enforcing
[root@server1 ~]# setenforce 0
[root@server1 ~]# getenforce
Permissive


How to Install Scientific Linux 6.4 or CentOS 6.4


SCIENTIFIC LINUX 6.4 INSTALLATION

  1. Install or upgrade on existing System  Enter
  2. Media Test ------Skip
  3. Next
  4. Use Language Example: US English, or English & Bangla
  5. Next
  6. Basic Storage Device
  7. Next
  8. Host Name : Example –Server1.example.com
  9. Nest
  10.  City Select Example: Asia Dhaka
  11. Root Password      : [******] Example- redhat
  12. Confirm Password: [******] Example- redhat
  13. Use Anyway
  14. Create Custom Layout
  15. Next
  16. Free Select
  17. Crate
  18. Stander Partition
Details Here :Read More