CentOS differs from many other distros by enabling root account during setup. I prefer the Ubuntu’s (and OS X’s) way of using a separate admin account and having root account disabled. When there is a need to perform administrative task, just run the command with sudo and easily prevent the risk of abusing root privileges [...]
Archive for September, 2008
Quickly secure CentOS 5 by enabling sudo, disabling root, and limiting access
Posted in linux, tagged centos, security on September 30, 2008 | 12 Comments »
Comparison of Android and iPhone SDK
Posted in Softwares, tagged android, google, iPhone, mobile on September 25, 2008 | Leave a Comment »
In developer-friendly versus customer-friendly, the author made a really good point about Apple’s controversial stance in many of its recent decisions. A follow-up made it even clearer using OS X application development as an example. Though I still prefer to code in an environment that is developer friendly, which I think both Linux and OS [...]
Install Sun Java and Tomcat on CentOS 5
Posted in linux, tagged java on September 22, 2008 | 26 Comments »
I am not a big fan of any Redhat or derivative distributions, but this time I was forced to use CentOS because the RAID card of the server is only well supported by RHEL and (therefore) CentOS. As a newbie of RPM and yum, my way of doing things can be quite stupid. So I’d [...]
Daemonize python script
Posted in linux, tagged python on September 18, 2008 | Leave a Comment »
So unless I need to call some C or C-based code that can potentially crash the server, I would just process it inside the server process…. That’s why I need to demonize these time-consuming scripts, or in other words, run these scripts in the “background” so that the application server can respond the client ASAP.