Tuesday, July 26, 2011

Install PHP and Apache on Ubuntu server

In order to install PHP and Apache on Ubuntu server, I used the following commands

sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

Monday, July 18, 2011

List and Kill tasks from the Windows commandline

In order to get all running tasks from the windows command line I used the following command,

tasklist

In order to kill the task forcefully, I used the following command, where 7084 is the PID if the task.


taskkill /F /PID 7084