Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

2012-04-12

Linux Command Line Kill a Process by Process Name

kill $(pgrep PROCESS_NAME)
killall -v PROCESS_NAME
pkill PROCESS_NAME
kill `ps -ef | grep PROCESS_NAME | grep -v grep | awk '{print $2}'`

2007-11-01

Install Webmin on Ubuntu

1. Add deb http://download.webmin.com/download/repository sarge contrib to /etc/apt/sources.list file. (make sure that you have uncommented all universe repository)
2. sudo apt-get update
3. sudo apt-get install webmin

2007-08-26

Install Apache2 and mod_python on Ubuntu

Use this command sudo apt-get install apache2 libapache2-mod-python
This command for restart apache2 : sudo /etc/init.d/apache2 -k restart