Monday, 11 November 2013

Disable selinux temporarily

sudo setenforce 0

To check the status of selinux:

/usr/sbin/getenforce


Apache .htaccess directives not working

check the following settings in /etc/httpd/conf/httpd.conf

http://httpd.apache.org/docs/current/mod/core.html#allowoverride

Apache location of configuration file in Fedora

The httpd.conf file is located in

/etc/httpd/conf

Thursday, 7 November 2013

Monday, 4 November 2013

Reverse post order

http://codebabble.com/wordpress-tips/reverse-post-order

Monday, 28 October 2013

Google Chrome proxy setting with command line

/opt/google/chrome/google-chrome --proxy-server=192.168.42.101:8080

Friday, 25 October 2013

Formatting a usb drive

sudo fdisk -l

to find all the filesystems and storage devices

sudo umount /dev/sdb1

to unmount the device sdb1

sudo mkfs.vfat /dev/sdb1

to format as fat 32