• Increase font size
  • Default font size
  • Decrease font size
redhat

 rpm -qa

rpm -qa | grep 'software-name'
rpm -qa | less
[root@hc168 ~]# rpm -qa
basesystem-8.0-4
glib2-2.4.7-1
libacl-2.2.23-5
checkpolicy-1.17.5-1
libtermcap-2.0.8-39
iproute-2.6.9-3
diffutils-2.8.1-12
cracklib-dicts-2.7-29
setools-1.5.1-5
cyrus-sasl-md5-2.1.19-5.EL4
kernel-smp-2.6.9-5.EL
prelink-0.3.3-0.EL4
system-config-mouse-1.2.9-1
bluez-hcidump-1.11-1
attr-2.4.16-3
libjpeg-6b-33
anacron-2.3-32
mtr-0.54-10
pax-3.0-9
rdate-1.4-2
symlinks-1.2-22
tmpwatch-2.9.1-1
libxslt-1.1.11-1
nano-1.2.4-1
acpid-1.0.3-2
mkbootdisk-1.5.2-1
portmap-4.0-63
rp-pppoe-3.5-22
atk-1.8.0-2
perl-URI-1.30-4
python-urlgrabber-2.9.6-2
gpg-pubkey-b36f2b19-43d6d7a6
 

 There are several RAID types of HW/SW and drivers that are in use. There are several methods available depending on the HW/SW/drivers in use.

Couple of examples; acaraid & megaraid & megaraid2

What HW and/or drivers are in the system? Can use ther 'lshw' utility to see HW and 'lsmod' to see your modules loaded in kernel. (lshw is a download tool).

There are some provided with GUI tools as well.

Check out the following site.
http://developer.skolelinux.no/info/prosjektet/delprosjekt/hw-raid-info.html

 

 1. Redhat Linux release is now know as Redhat Enterprise Linux and is fully supported by Redhat and its release started with version 1. Whereas 
Fedora is a Redhat unsupported release.
2) Redhat Enterprise Linux is a tested version and are extracted from fedora. Whereas fedora is a testing bed where all are allowed to put their codes, knowledge, etc to develop, which if good is put in fedora.
3) Redhat costs you, whereas Fedora is free.
4) There is certification on RHEL Whereas on fedora there is no certification

 

 Use 

tar xfv *.zip.tar

unzip [whatever file got untarred]

 

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]

  Default action is to extract files in list, except those in xlist, to exdir;

  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

 

  -p  extract files to pipe, no messages     -l  list files (short format)

  -f  freshen existing files, create none    -t  test compressed archive data

  -u  update files, create if necessary      -z  display archive comment

  -x  exclude files that follow (in xlist)   -d  extract files into exdir

 

modifiers:                                   -q  quiet mode (-qq => quieter)

  -n  never overwrite existing files         -a  auto-convert any text files

  -o  overwrite files WITHOUT prompting      -aa treat ALL files as text

  -j  junk paths (do not make directories)   -v  be verbose/print version info

  -C  match filenames case-insensitively     -L  make (some) names lowercase

  -X  restore UID/GID info                   -V  retain VMS version numbers

  -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager

Examples (see unzip.txt for more info):

  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip

  unzip -p foo | more  => send contents of foo.zip via pipe into program more

  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer

 

 

 Use the chkconfig command to configure Apache to start at boot:

[root]# chkconfig httpd on

Use the httpd init script in the /etc/init.d directory to start,stop, and restart Apache after booting:

[root]# /etc/init.d/httpd start
[root]# /etc/init.d/httpd stop
[root]# /etc/init.d/httpd restart

You can test whether the Apache process is running with

[root]# pgrep httpd

 

 [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.16.0.203
NETMASK=255.255.255.0
GATEWAY=172.16.0.254
 
Redhat etc sysconfig network scripts
 
#vi /etc/sysconfig/network-scripts/ifcfg-eth0

press "SHift+i"

BOOTPROTO=static

IPADDR=192.168.0.199

NETMASK=255.255.255.0

Save the configuration file by press ESC + ‘:’ and type ‘wq’ to write and quit the editor.

Read more...  

Login Form