10 FAQ tagged "centos_linux"
Viewing 1-10 of 10 FAQ -- Linux Download and Install Marvell SATA driver for Sun X4500 Sever :
Q. I’m using CentOS Linux on the Sun X4500 Sever. How do I install Marvell SATA driver on this system?
A. The driver for this controller is located on Sun’s own web site. All you have to do is download and install the same. It offers the latest firmware and software supporting Sun [...] - How to: Find Out Whether a UNIX / Linux Process Is Running or Not :
Q. I’d like to find out if httpd / mysqld or sshd process is running or not under CentOS Linux server. How do I determine whether a process is running or not?
A. You need to use following commands:
[a] ps - It report a snapshot of the current processes
[b] grep - Filter out process names
Find [...] - Linux / UNIX: Clear bash history :
Q. I’m using CentOS Linux server and how do I clear bash history?
A. Type the following command to clear your bash history:
>~/.bash_history
Another option is link ~/.bash_history to /dev/null:
ln -sf ~/.bash_history /dev/null - How to: Turning off SFTP server under Linux / UNIX cpanel server :
Q. I’ve CentOS Linux cpanel server. I’d like to turn off SFTP server but only allow SSH for root user. How do I trun off sftp server?
A. OpenSSH / sshd reads configuration data from /etc/ssh/sshd_config. The file contains keyword-argument pairs, one per line. Lines starting with ‘#’ and empty lines are interpreted as comments. [...] - Block ip address of spammers with iptables under Linux :
Q. How do I block ip address of spammers with iptables based firewall under CentOS Linux 5?
A. You can simply block IP address of spammers by editing /etc/sysconfig/iptables file under:
a) CentOS Linux
b) Fedora Linux
c) RHEL 4.x/5.x etc
Open file /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append ip address of spammers as follows:
-A RH-Firewall-1-INPUT -s SPAMMER-IP -j DROP
-A RH-Firewall-1-INPUT -s SPAMMER-SUBNET-BLOCK [...] - Hide the Apache Web Server Version number with ServerSignature and ServerTokens directives :
Q. How do I hide the Apache version number under CentOS Linux 5 server?
A. You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such [...] - Disable SELinux for only Apache / httpd in Linux :
Q. How do I disable SELinux protection for only Apache web server in Linux? I’m using CentOS Linux server.
A. You can disable Apache SELinux protection easily. Please keep in mind that by disabling SELinux for apache you are inviting more security related problems.
Disable Apache SELinux Protection
Open /etc/selinux/targeted/booleans file using a text editor:
# vi /etc/selinux/targeted/booleans
Append or [...] - Why does Linux top command shows two CPU when I have only one processor? :
Q. I’m using CentOS Linux. I only have one processor (AMD 170 CPU) in my system, why does top command output report two processors?
A. You have a DUAL core CPU. A dual-core CPU combines two independent processors and their respective caches and cache controllers onto a single silicon chip, or integrated circuit. Some [...] - Postfix blacklist or reject an email address :
Q. I’ve Postfix based CentOS Linux server. I need to blacklist email ID: user@abadboy.com . How do I blacklist email address with postfix? I also have spamassassin software installed.
A. By default, the Postfix SMTP server accepts any sender address. However you can block / blacklist sender email address easily with Postfix. [...] - Upgrade WHM / cPanel Linux server to EDGE release :
Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?
Viewing 1-10 of 10 FAQ - ( see all popular tags )


Recent Comments
Yesterday ~ 7 Comments
Yesterday ~ 33 Comments
Yesterday ~ 2 Comments
Yesterday ~ 1 Comment
Yesterday ~ 2 Comments