Browsing articles from "October, 2009"
Oct
25
2009

Bash multiple txt file search

find /usr/include | xargs grep ‘string’ grep -R `string` /usr/include

Oct
11
2009

Userdir apache centos

Setting up user directories for Apache (i.e. ~user) on CentOS 5: Change the /etc/httpd/conf/httpd.conf to comment out: UserDir disable and un-comment: UserDir public_html Restart Apache. Create a public_html directory in the user’s home directory. Make sure it has permissions 0755. Make sure their home directory has permission 0711. Make sure that public_html directory has SELinux context: user_u:object_r:httpd_sys_content_t Make sure that the SELinux boolean httpd_enable_homedirs is set to “on”. # mkdir /etc/skel/public_html # mkdir /etc/skel/public_html/cgi-bin # [...]

Oct
11
2009

CentOs update epel and PHP

rpm –import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy wget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo yum –enablerepo=webtatic install php yum –enablerepo=webtatic update php yum –disablerepo=* –enablerepo=webtatic update php

Get Adobe Flash playerPlugin by wpburn.com wordpress themes