RedHat

Vmware tools on oracle linux 5.7

When installing Oracle Linux 5U7 as a Guest OS on VMWare fusion 4, you will probably run into the “no module ehci-hcd found for kernel 2.6.32-200.13.1.el5uek” during the VMWare Tools installation process. This error is caused by missing usb kernel modules in /lib/modules/2.6.32-200.13.1.el5uek. You can easily solve this by opening a Terminal session, substitute the user by root (su – root) and executing the command below.

cp /lib/modules/2.6.18-274.el5/kernel/drivers/usb/host/?hci-hcd.ko \

/lib/modules/2.6.32-200.13.1.el5uek/kernel/drivers/usb/host

Now you can start the installation of VMWare tools by executing

./vmware-install.pl

By WladyX on 29 November, 2011 | RedHat, VMware | A comment?

rhn_register

setup proxy in /etc/sysconfig/rhn/up2date
enableProxy=1
httpProxy=host:3128

rhn_register

By WladyX on 18 November, 2011 | RedHat | A comment?

RedHat/Centos change hostname

edit /etc/sysconfig/network and /etc/hosts

source

By WladyX on 23 September, 2011 | Centos | A comment?

Red Hat / CentOS: Swap / Change Ethernet Aliases

Open each interfaces configuration file:

  1. /etc/sysconfig/network-scripts/ifcfg-eth0 – eth0 configuration file
  2. /etc/sysconfig/network-scripts/ifcfg-eth1 – eth1 configuration file

Open file for eth0 using vi, type:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Add the following line:

HWADDR=<MAC address of the network interface>

Here is my sample config file:

# Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:19:B1:2A:BA:B8
IPADDR=10.10.11.24
NETMASK=255.255.255.192
ONBOOT=yes

Save and close the file. Update /etc/sysconfig/network-scripts/ifcfg-eth1 file with correct HWADDR entry. Once done restart networking or just reboot the server:
# reboot

source

By WladyX on 16 September, 2011 | Network, RedHat | A comment?

Data Protector CentOS/RedHat Linux client install

Make sure that both the server and the client resolve each others hostnames.
Disable firewall on the client/or permit access to the 5555 port.

Check if xinetd is installed and running:
service xinetd status
if it is not then:
yum install xinetd

create /etc/xinetd.d/omni:
service omni
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /opt/omni/lbin/inet
server_args = inet -log /var/opt/omni/log/inet.log
disable = no
}

service xinetd start

go to the HP-UX kit folder
./omnisetup.sh -server dpserver.fqdn -install da

source1 source2 source3 source4

By WladyX on 2 May, 2011 | General, RedHat | A comment?

CentOS VMWare tools install

mount the VMWare tools CDROM
rpm -ivh /mnt/VMwareTools-*.i386.rpm
vmware-config-tools.pl

source

By WladyX on 29 April, 2011 | RedHat, VMware | A comment?

missing libstdc++.so.5 on CentOS 5.1

yum whatprovides libstdc++.so.5
yum install compat-libstdc++-33

source

By WladyX on 27 April, 2011 | RedHat | A comment?

Spacewalk

Spacewalk is an open source (GPLv2) Linux systems management solution. It is the upstream community project from which the Red Hat Network Satellite product is derived.

link

By WladyX on 23 November, 2010 | RedHat | A comment?

RPM quickies

rpm -ivh apache2.i386.rpm Install package apache2 already download on the system.
rpm -i ftp://ftp.mynitor.com/apache-3.i386.rpm You can do it with http:// as well. Simple of installing RPM from remote server.
rpm -ev apache2 Uninstall apache2 package..
rpm -Uvh apache2-1.i386.rpm Upgrade an existing package. You can also do rpm -Uvh ftp/http to fetch pkg.
rpm –verify apache2 List files that did not pass the verify tests.
rpm -qpl apache2.i386.rpm List location where RPM would be installed.
rpm -ql apache2 List location of files on the system where the RPM has already been installed.
rpm -qi apache2 This one is my favorite. It displays pkg information such as version, release, installed date and much more.
rpm -qf /etc/apache2/conf/httpd.conf This will tell you which package the file httpd.conf belongs to.
rpm -qa List all installed RPM packages on the system.
rpm -qa –last List all the recently installed RPM packages.
rpm -qR apache2.i386.rpm Outputs dependencies for the RPM.

source

By WladyX on 4 August, 2010 | RedHat | A comment?

CentOS / Red Hat Linux: Install and manage iSCSI Volume

# yum install iscsi-initiator-utils

or

$ sudo apt-get install open-iscsi

# vi /etc/iscsi/iscsid.conf

node.session.auth.username = My_ISCSI_USR_NAME
node.session.auth.password = MyPassword
discovery.sendtargets.auth.username = My_ISCSI_USR_NAME
discovery.sendtargets.auth.password = MyPassword

# /etc/init.d/iscsi start

# iscsiadm -m discovery -t sendtargets -p 192.168.1.5
# /etc/init.d/iscsi restart

# fdisk -l

CentOS / Red Hat Linux: Install and manage iSCSI Volume

By WladyX on 7 August, 2009 | General, RedHat, Ubuntu | A comment?