24 FAQ tagged "centos linux"
Viewing 11-20 of 24 FAQ -- CentOS Linux apply package updates
Q. I’ve CentOS Linux 5 Server and I’d like to apply all package and security update. How do I apply package updates from the Internet?
A. CentOS comes with yum command. It is a command-line interface to update packages. There is also a graphical tool called pup.
yum command
For a command-line interface over the ssh session, the [...] - Delete all root mail / inbox from a shell prompt
Q. I’ve CentOS Linux acting as router for our small community based college. I see logwatch and other cron job generating emails for root account. How do I delete those emails? I don’t want to disable email facility but just wanted to get rid of all root emails.
A. The easilst way is to empty root [...] - How to: Allow telnet and ssh through iptables under Linux
Q. I run both RHEL / CentOS Linux server and by default firewall blocked out everything including telnet / ssh access. How do I allow telnet - port 23 and ssh port 22 thought Linux iptables firewall ?
A.By default firewall rules stored at /etc/sysconfig/iptables location / file under CentOS / RHEL. All you have to [...] - Squid Proxy Server Mac Address based filtering
Q. I’m using squid proxy server under CentOS Linux version 5. How to filter a particular MAC address under squid?
A. Not all operating system supports Mac address based filtering. For some operating systems. Squid calls these “ARP ACLs” and they are supported on Linux, Solaris, and BSD variants.
How do I set up ACL’s based [...] - 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 [...]
« Previous Page — Next Page »
Viewing 11-20 of 24 FAQ - ( see all popular tags )


Recent Comments
Yesterday ~ 88 Comments
Yesterday ~ 6 Comments
Yesterday ~ 7 Comments
11/07/2008 11:19 am (4 weeks ago) ~ 7 Comments
Yesterday ~ 5 Comments