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
If you are stuck with alot of children categories and only want to show posts of the category that user has clicked than you can use the following code.
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 [...]
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 [...]
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 [...]
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 [...]
On a new linux system normally not all the applications are installed. In almost every case that if nano command is not working in linux you have not installed nano application on your system. To install nano application type: yum install nano
It took me some time to figure out how to work with vi command in linux. The main problem i was having was that i edited a file and then was not able to save and quit vi. Later after some research i found it was quite simple. to edit a file in vi type: [...]