Posted on November 22, 2009, 5:19 pm, by Van Nhu.
For example if process name is php, you can get a list of jobs by using the command bellow ps aux | grep php Result root 7749 0.0 0.1 3236 796 pts/2 S+ 16:09 0:00 grep php root 19292 1.8 5.6 90624 28528 ? S 01:36 16:09 php test.php To kill a process you can [...]
Posted on November 15, 2009, 4:51 pm, by Van Nhu.
Enable ssl In my case it was simple. I just ran this line a2enmod ssl Generate self-signed ssl certificate Solution: http://www.akadia.com/services/ssh_test_certificate.html Just follow instruction carefully. Make sure that i step 2 you need to enter a correct “Common Name”, ie your domain. Step 5 and 6 also different for different distributions and installation … Summary [...]
Posted on November 3, 2009, 9:34 pm, by Van Nhu.
To install package called package.deb type the following command (make sure that all dependencies are installed) sudo dpkg -i /path/to/folder/package.deb
Posted on October 23, 2009, 9:00 pm, by Van Nhu.
This article is aimed to you whom use svn in linux environment. If you are using windows and Tortoise this post may be more interesting. Here are two ways to get revision number when you build your project. The first one is a complete method to get this number and the second one will give [...]
Posted on October 21, 2009, 11:02 pm, by Van Nhu.
If you need to run a php script in Linux environment via putty or other clients and want to close client without terminating the running process of php script you may need to do as bellow. The keyword is nohup … nohup php policyserver.php > /dev/null 2>&1 &