14 FAQ tagged "linux_server"
Viewing 1-10 of 14 FAQ -- 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 - Backup CentOS Linux RPM database :
Q. How do I backup CentOS Linux server RPM database?
A. /var/lib/rpm directory stores all files used by rpm command. All files inside this directory are binary files. It has the information about all installed package. You can easily backup all files using following method.
Backup Linux RPM Database stored at /var/lib/rpm directory
a) Login [...] - Can’t re-open pipe to command substitution (fd 4): No child processes error and solution :
Q. I’m running Debian Linux 64 bit server. I’m getting an error which read as follows:
Can’t re-open pipe to command substitution (fd 4): No child processes
How do I fix the problem?
A. This error occurs when Linux server run out of open files maximum limit i.e system cannot create or open a new file due to [...] - 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 [...] - How to backup the remote files in Linux / UNIX :
Q. How do I make remote backups under Linux? I’ve CentOS 5 Linux server located in remote data center and I’d like to backup it to local or another server?
A. Both Linux / UNIX come with handy tools to make secure remote backups. You can use tool called rsync for automating remote backups of your [...] - Disable ctrl+alt+del on Centos Linux server :
Q. How do I disable CTRL + ALT + DEL reboot keys shortcut on Linux server?
A. CTRL+ALT+DEL reboot is configured using /etc/inittab file. Open this file and remove ctrlaltdel entry (login as root):
# vi /etc/inittab
Find line:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Replace it (i.e comment out theline by putting a hash mark (#) in front [...] - Linux: Find out serial / model number and vendor information for SATA and IDE hard disk :
Q. How do I find out the make, model and serial number for my SCSI or IDE hard disks under CentOS Linux server? How do I get vendor information about my disk storage w/o opening my Intel / AMD server chassis?
A.. You need to use hdparm command. It provides a command line [...] - Buffer I/O error on device fd0, logical block 0 error and simply soultion :
Q. I’ve CentOS 5 server running on Dell hardware. I’m getting following error message in my /var/log/message file (some time message is also shown on console):
Jul 05 12:04:05 dell01 kernel: end_request: I/O error, dev fd0, sector 0
Jul 05 12:04:05 dell01 kernel: Buffer I/O error on device fd0, logical block 0
Jul 05 12:04:18 dell01 kernel: end_request: [...] - Patch and Update Redhat Enterprise Linux / CentOS 5 server :
Q. Can you tell me how do I patch and update everything on my Redhat Enterprise Linux server 5?
A. Both RHEL 5 and CentOS 5 use yum command, which is an interactive, automated update program which can be used for maintaining systems using rpm.
To upgrade server and apply all security patches, pass update option [...]
Next Page »
Viewing 1-10 of 14 FAQ - ( see all popular tags )


Recent Comments
Today ~ 1 Comment
Today ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 32 Comments
07/04/2008 07:04 pm (2 days ago) ~ 1 Comment