≡ Menu


Q. I've followed your Xcache php 5.x opcode cacher installation under RHEL 5 for my vbulltin board. I see good boosting in performance. Now I've installed 2nd VB forum on the same server and I see all sub-forums hosted from 1st forum. So I had to disable Xcache. I want Xcache for both board on same host. How do I fix this mess?
[click to continue…]

Q. I'm trying to recompile my kernel by tying the following commands:

cd /usr/src/sys/i386/conf
cd /usr/src
make buildkernel KERNCONF=NEWKEN

But I'm bumped with an error that read as follows:

make: don't know how to make buildkernel. Stop Error and Solution

How do I fix this error?
[click to continue…]

Q. How do I block access to root user over ssh session?

A.. sshd (OpenSSH Daemon) is the daemon program for ssh. Server side ssh configuration is defined in /etc/ssh/sshd_config file.

You need to use DenyUsers option to block access to root user.

This option can be followed by a list of user name patterns, separated by spaces. Login is disallowed for user names that match one of the patterns. Only user names are valid; a numerical user ID is not recognized. By default, login is allowed for all users. If the pattern takes the form USER@HOST then USER and HOST are separately checked, restricting logins to particular users from particular hosts.

Open /etc/ssh/sshd_config file

Use vi command:
# vi /etc/ssh/sshd_config

Deny root user access

Append or modify as follows to block root user:
DenyUsers root

If you want to block additional user just append names to DenyUsers
DenyUsers root, user2, user3

Save and close the file. Restart sshd service:
#/etc/init.d/sshd restart

Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?
[click to continue…]

Q. How can I recover from a lost software RAID device in CentOS version 4 / Debian version 3 / Red Hat Enterprise Linux 3 or 4 server system under RAID 5 software configuration?
[click to continue…]