Skip to content

Blog Category: Linux

Setting up shared VMWare Fusion host folders on CentOS and RHEL guest
Category: Linux Published: 2010-01-21

Problem How to view folders from the Mac that hosts the VMWare Fusion guest operating system CentOS or Red Hat Linux? Solution First, make sure that the VMWare Tools are installed. That always helps. Next, in the WMWare configuration menu of the guest, set up the desired shared folders. There might be already a default […]

Fixing Yum dependency problems on RedHat Linux and CentOS
Category: Linux Published: 2009-08-30

Yum update fails I see the question of failed dependencies come up on forums quite a bit. Users post errors like: Missing Dependency: bind-utils = 9.3.4-10.P1.el5_3.1 is needed bind-sdb-9.3.4-10.P1.el5_3.1 or ImageMagick-perl- from installed has depsolving problems –> Missing Dependency: /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi is needed by package ImageMagick-perl- or httpd-2.2.3-22.el5.centos.2.x86_64 from updates has depsolving problems –> Missing Dependency: […]

MySQL default values on INSERT
Category: Linux Published: 2009-05-01

When inserting into regular database systems, like Oracle, DB2, and even PostgreSQL, the omitted attributes from an INSERT are automatically set to default. Not so with MyISAM tables on MySQL. The syntax required by MySQL for an implicit default when multiple attributes are inserted is DEFAULT. For example: INSERT INTO my_table VALUES (?,?,DEFAULT,?,DEFAULT) will set […]

How To Install 3ware Tools on Debian Lenny
Category: Linux Published: 2010-02-16

Problem In order to manage the 3ware raid controller under Linux, an embedded web server needs to be installed. 3ware provides a download-able tarball on their site, however, the installation on Lenny is problematic. The following steps explain how to get the install and the configuration done. Solution Edit /etc/apt/sources.list and add the following lines: […] is needed by xxx
Category: Linux Published: 2009-01-07

Trying to install the IBM JDK 64bit I came across the following error: is needed by ibm-java2-x86_64-sdk-5.0-8a.0.x86_64 It turns out that yum has a neat feature to show what package provides a given component: yum whatprovides gave the answer, and yum install compat-libstdc++-33.i386 took care of installingthe missing package.

Error: kernel conflicts with e2fsprogs < 1.37-4
Category: Linux Published: 2009-01-07

During an audit, we noticed that one of our Red Hat 5 / CentOS 5 servers wasn’t getting the security patches.  Upon running the yum update command manually, we discovered that it fails with: Error: kernel conflicts with e2fsprogs < 1.37-4 The problem turned out to be the presence of a number if 32bit packages. […]

How do I change the speed duplex on an Intel card with Linux?
Category: Linux Published: 2009-05-07

If you ever had a Linux on a dev network with various switches (decommissioned from production) you may have encountered traffic throughput problems. Quite often this can be caused by a speed duplex problem. Here is how to modify speed duplex on Linux with Intel cards, when the dev environment is not nearby. First, you […]

Public key for xxx.rpm is not installed
Category: Linux Published: 2009-01-07

After an upgrade to CentOS 5 / RHEL 5 we got the following error: Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897 Public key for openldap-2.3.27-8.el5_2.4.x86_64.rpm is not installed It turns out that the key needs to be loaded and yum has not tried to load the key properly. The following […]

How to clear the DNS cache on RedHat Linux?
Category: Linux Published: 2009-05-29

To clear the DNS cache on RedHat Linux, open a terminal window and type: service named restart (You need to be root.)

Cacti Install on RHEL 5 or CentOS 5
Category: Linux Published: 2010-01-22

Introduction Cacti is a great tool to graph performance of the various hardware components of a network. With the use of the yum repository manager, it is very simple to install on Red Hat Enterprise Linux 5 or CentOS 5. Install steps First make sure that you have the dag repository configured in yum. Edit […]

Adding a second disk to an LVM
Category: Linux Published: 2009-01-23

In a world of storage on demand and virtualized environments, adding more storage on the fly has become simple even on Linux machines without expensive software like Veritas storage manager.  Here is how to proceed: need to use LVM or LVM 2 add the new disk as an LVM capable physical volume: pvcreate /dev/sdb (or […]

Directing all VPN traffic through the OpenVPN concentrator
Category: Linux Published: 2009-11-29

Problem It is necessary for some users to have all their traffic directed through the OpenVPN concentrator. The number one reason for such a configuration is to protect the HTTP traffic over unsecured WiFi (a.k.a. hotspots). Solution Add to the bottom of the connecting client’s configuration file (typically under /etc/openvpn/clients.d the following line: push “redirect-gateway”

Installing SSH on Android (aka Google Phone)
Category: Linux Published: 2009-05-02

The Google phone has a very potent ssh client called ConnectBot. For a novice Android phone user, it is easy to get lost among all the options there are to install the ConnectBot ssh client. Installing ssh using the Android Market This method is done completely from the Android phone: Press the “Home” button next […]

Tips and best practices for migrating a legacy website into Drupal 7 with the Migrate API
Category: Linux Published: 2016-10-05

Last year, we have migrated a site from a legacy CMS with a lot of custom code into Drupal 7. With the Migrate module (which is now in Drupal 8 core by the way), it was not really hard to do, even though the source database was not really well-designed. The site had around 10k […]

© 2021, All rights reserved. | NewPush LLC. |