CentOS use ext3 file system, and it do not support reiserfs. Therefore if you try to mount a drive with reiserfs partition, it give error [crayon-6512b3abb3f87677064853/] It's possible to see what filesystems are supported by running this command: [crayon-6512b3abb3f8f521221462/] On my fairly default install CentOS 4 machine, the output of the above command was … [Read more...]
Changing time,date,zone in Linux
In /etc the file, localtime, is a link to or copy of a file containing information about your time zone. Zone information files are usually in /usr/share/zoneinfo but this depends on your distribution. So if your localtime file points to a zone info file that is not your time zone you can change it by browsing the directories in /usr/share/zoneinfo to find your country, then find your city or a … [Read more...]
Using rsync for transferring files under Linux or UNIX
rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction. So what is unique about … [Read more...]
Mycode to add megavideo video in your MyBB Forum
Simple steps 1) Login to your mybb admin panel 2) go to mycode 3) Click on "Add new Mycode" 4) Now write following i) Title: megavideo ii) Regular expression: \[megavideo\](.*?)\[/megavideo\] iii) Replacement: <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" … [Read more...]
Installing BFD (Brute Force Detection)
1) Login to shell via root. 2) Download BFD wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz 3) Unpackage the download tar -xvzf bfd-current.tar.gz 4) Move to BFD folder cd bfd-version-goes-here 5) Install BFD ./install.sh 6) Configure BFD nano -w /usr/local/bfd/conf.bfd then Find: ALERT_USR="0" Change to: ALERT_USR="1" Find: EMAIL_USR="root" Change to: … [Read more...]