Archive

Archive for the ‘Uncategorized’ Category

Edit nofiles

May 2, 2011 Leave a comment

Running an Oracle ODI installer on a CentOS vm, I encountered an error of the type:

checking for hardnofiles = 4096; found hardnofiles = 1024 Failed
checking for softnofiles = 4096; softnofiles = 1024 Failed

The fix was to edit my/etc/security/limits.conf file:

* soft nofile 16384
* hard nofile 65536

Advertisements
Categories: Uncategorized

reset root password on Red Hat/Fedora/CentOS

April 18, 2011 Leave a comment

Okay, so you’ve screwed the pooch and need to reset the password for root on your Red Hat/Fedora/CentOS installation.  Assuming that it is a default installation, without hardening, this can be done fairly easily.

This assumes you have GRUB installed.

  1. When the GRUB login screen comes up, hit “e” to edit.
  2. Move the cursor down to the kernel line and hit “e” again.
  3. At the end of the kernel line, add a space and the word “single.”  This will force the reboot into single user mode.  Continue booting the server.  You will automagically be logged in as root.
  4. Run the passwd command to reset root’s password.
  5. Reboot as normal.
Categories: Uncategorized

Add gcc and other required build tools in Ubuntu

August 16, 2006 Leave a comment

I went to run ./configure to begin the install of ImageMagick-6.2.9 and was informed that I was missing a gcc compiler.  I looked in Synaptic, which indicated that I did have a gcc compiler installed.  Then I did a search for it, which indicated that it was located in /usr/lib directory.  So, I added that to my PATH in my .bashrc and logged out and back in.  gcc was still not found when I tried to run the configure. 

I went to ubuntuforums.org and found the following helpful command which got me the files required to configure the install (must be run as root, or sudo):

sudo apt-get install build-essentials

Categories: linux, ubuntu, Uncategorized

Free tools.

July 5, 2006 Leave a comment

To unzip.
7-zip

To browse.
Opera
Firefox

Categories: Uncategorized