Category: Redhat Linux

Post Pic

Opening firewall ports on a linux machine?

To open any port on a linux machines with iptables install you can follow these easy steps.

How to find which application on your computer or server using which port

For Linux users use the following command fuser -n tcp 80 or use sudo lsof -i :22 or use lsof|grep 862 ypbind 1529 root 5u IPv4 4681 TCP *:862 For Windows Users use the following command netstat -a -b -o -n

Setup your linux server with apache, php and mysql to host websites a step by step tutorial

Lets suppose you got an empty dedicated server you ordered from a web hosting company and you want to start hosting websites which use php, mysql. Below are simple easy steps which you can take to setup your website in a few commands. 1. Install Apache There are many ways to install apache on your [...]

How to install yum on linux server

To install yum you need to first need to create a temp directory. on centos i normally use this directory to download rpms cd /usr/src/ now run the follow command once you are in that temp directory so that rpm is downloaded. http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm to check the packages goto http://dag.wieers.com/rpm/packages/yum/ wget ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i386/libsqlite-2.8.15-1.i386.rpm wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-elementtree-1.2.6-7.el4.rf.i386.rpm wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-sqlite-0.5.0-1.2.el4.rf.i386.rpm [...]

Apache Web Server .htaccess File not working?

if you have setup a new server and suddenly you find out that .htaccess configuration file is not working on your here is a quick solution to fix it. There might be 2 issues with your web server which could have caused this problem. 1. Make sure AccessFileName set to .htaccess To check this open [...]

Mysql.so not found on a linux machine?

I found this problem on my new CentOs 64 bit machine. I think the solution i found for it will work both on 32 bit and 64 bit machines. The trick is to get latest mysql from repo and install all extensions you need separately and it will work fine. First thing is to get [...]