How to find out what service is associated with what port

Scenario / Question: How do I find out what service is associated with what port. For example how can I find out what port secure pop3 (pop3s) uses? Solution / Answer: In Redhat based systems there is a file called /etc/services that contains a directory of well known services and their ports. [continue...]

How to Install Java Tomcat Apache and Centos 5

Scenario / Question: How do I install Tomcat on Centos Solution / Answer: In order to install Tomcat on Centos you first need to install Java. Both free and non-free packages are required for the installation. The non-free packages do not cost money however you must download them directly from [continue...]

How should I run fsck on a Linux file system

Scenario / Question: I need to check file system for errors using fsck. Can I run fsck on a mounted file system ? Solution / Answer: Running fsck on a mounted file system can result in data corruption. The two options are: 1) Change the running state of the system to single user mode and [continue...]

Unlink or Remove a Symbolic link in Linux

Scenario / Question: How to unlink or remove a symbolic in linux that was created with ln Solution / Answer: Use the unlink command To unlink a symbolic link file : # unlink symbolic_link_file To unlink a symbolic link to a directory : # unlink symbolic_link_dir When unlinking a directory make [continue...]

Linux NTFS Read and Write using NTFS-3G

Scenario / Question: How do I write or read from NTFS formated partition in linux Solution / Answer: Install and use the NTFS-3G Driver NTFS-3G Packages The ntfs-3g packages can be found on the NTFS-3G website NTFS-3G-Download You can also use yum to install NTFS-3G First you will need the [continue...]

Fedora 10 Enable GUI Login for Root

Scenario / Question: How do I login as user root on Fedora 10 GUI Solution / Answer: Edit the PAM module called pam_succeed_if.so Edit /etc/pam.d/gdm Login in as a regular user and open a Terminal (Applications > System Tools > Terminal) and su to root: $ su - Change the file [continue...]

« Previous Page