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
setup proxy in /etc/sysconfig/rhn/up2date
enableProxy=1
httpProxy=host:3128
rhn_register
edit /etc/sysconfig/network and /etc/hosts
Open each interfaces 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
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
mount the VMWare tools CDROM
rpm -ivh /mnt/VMwareTools-*.i386.rpm
vmware-config-tools.pl
yum whatprovides libstdc++.so.5
yum install compat-libstdc++-33
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.
| 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. |
# 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