Category: Linux

Remote access via ssh with RedHat Rescue Disk

Insert Rescue Disk and boot server. At the first prompt type “linux rescue” and hit enter. Follow boot disk prompts to start networking. Enter the system’s ip address, netmask, gateway and name server. Continue with prompts until the root partition is mounted and you get a command prompt. Verify network configuration with ifconfig and route. Use the following commands to start sshd:

You should now be able to SSH into the server.

Read More »

Mount Windows drive share on RHEL5

RHEL5 replaced the old smbmount command with mount.cifs so to mount a shared Windows drive do something like:

Read More »

Reinstall grub in MBR

Two approaches to this. The first is to use the grub-install utility:

The second approach is to use the grub command line: 1. Start the grub command line:

2. Determine the boot device:

You’ll get something like “(hd0,0)”. 3. Tell grub where the root is:

4. Install the MBR:

Read More »

Fix strange characters from pstree on RedHat.

By default on Redhat, the output from pstree is scrambled like this:

There are a couple of ways to clear this up so that it looks like this:

Here are two possible solutions: 1. Use “pstree -G” to force VT100 line drawing 2. Do “export LANG=’en_US’” to change the language from UTF-8 to English

Read More »

Plesk Short Names

To force Plesk to allow use of short names use the following SQL:

See this article for details: http://kb.parallels.com/en/888?st=advc Also see: http://rackerhacker.com/2007/08/20/change-plesk-back-to-short-mail-names/ And see for a Plesk 8.4 bug with short names: http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.