Mount reiserfs partitions on CentOS

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-60c9b6732021b217037778/] It's possible to see what filesystems are supported by running this command: [crayon-60c9b67320220385945588/] 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...]

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...]

Mycode to add google 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: google video ii) Regular expression: (\[googlevideo\]|<a href=\"(http://)?video.google.(com|co\.uk)/videoplay\?docid=)(\W?)(\d{15,20})(\[/googlevideo\]|\" target=\"_blank\">(.*?)</a>) iii) Replacement: <embed style="width:400px; height:326px;" … [Read more...]

Mycode to add youtube 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: youtube ii) Regular expression: (\[youtube\]|(<a href=\")?(http://)?(www.)?youtube.com/watch\?v=)(.{11}?)((.*?)\" target=\"_blank\">)?((.*?)\[/youtube\]|(.*?)</a>) iii) Replacement: <object width="425" height="350"><param name="movie" … [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...]