Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

Wednesday, October 31, 2007

List and comparisons of emulators...

Mayank Sharma provided a nice articles on some alternative emulators other than VPC:

Ref:  http://www.linux.com/articles/60742

They are QEMU, Bochs, Virtual Box, VMware Player and VMware server...

Friday, August 24, 2007

apache: /libphp5.so: cannot restore segment prot after reloc: Permission denied

If apache cannot start, with error: /libphp5.so: cannot restore segment prot after reloc: Permission denied, try the following:

% setenforce 0

VsFTP 500 OOPS: cannot change directory

cannot change directory:/home/***
500 OOPS: cannot change directory:/home/*******
500 OOPS: child died

Solution (in prompt)
% setsebool ftpd_disable_trans 1
% service vsftpd restart

To make the effect working even reboot, add option -P in setsebool

Reference: http://www.phpchina.com/14881/viewspace_8888.html

Wednesday, June 20, 2007

Using find command in Unix

Just for my memory...

find . -exec grep "keywords" '{}' \; -print

This handly statement finds files contains "keywords" and print the line and the file name as well.

Ref: http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm#EX03

Upgrade nodejs in conda (from v18 to v26)

If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...