Convert .p12 and install in apache server Rumi, October 18, 2013 If you have a pkcs12 file (from IIS for example) and if you need to install the certificate on an Openssl-compatible product such as Apache, you will have to extract the content of the pkcs12 to get several files. First of all, create a global file (package): openssl pkcs12 -in… Continue Reading
Resetting CentOS 5 Root Password Rumi, October 7, 2013 If you have forgotten the root password it is possible to set a new one as follows: Interrupt the boot at the GRUB stage and boot to runlevel 1, AKA single user mode. Interrupt GRUB by typing a character such as "space" then append to the kernel line by typing… Continue Reading
Install VPN PPTP Server on CentOS Rumi, October 4, 2013March 29, 2017 In this tutorial, I will use pptp as protocol to connect to VPN server using a username and password, with 128 bit MPPE encryption. Variable as below: OS: CentOS 6 64bit VPN server: 209.85.227.26 VPN client IP: 209.85.227.27 – 209.85.227.30 VPN username: vpnuser Password: myVPN$99 Install ppp via yum: $… Continue Reading
Varnish Nagios Plugin Rumi, September 24, 2013 Install To use this plugin you need to have varnishstat installed which is installed by default when you install varnish. Perl is also required for this plugin. If you don’t have Perl installed you can install in by running the command below sudo apt-get install perl or sudo yum install… Continue Reading
How to empty Table in MySQL database Daily with cronjobs Rumi, September 3, 2013 you can create a php script. truncatetable.php Example: <? $db_host = "localhost"; $db_user = "username"; $db_pass = "password"; $db_name = "databasename"; $connect = @mysql_connect($db_host,$db_user,$db_pass); @mysql_select_db($db_name); // Empty table $query = "TRUNCATE TABLE TableName01"; mysql_query($query); ?> Then setup the cronjob Continue Reading
Sticky header and footer CSS Rumi, July 24, 2013 HTML Code- <!– BEGIN: Sticky Header –> <div id="header_container"> <div id="header"> Header Content </div> </div> <!– END: Sticky Header –> <!– BEGIN: Page Content –> <div id="container"> <div id="content"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sit amet ipsum magna, et convallis sem. Nunc pulvinar magna vitae orci… Continue Reading
How do I line up 3 divs on the same row Rumi, July 24, 2013 Part one- <div> <h2 align="center">San Andreas: Multiplayer</h2> <div align="center" class="float-left">CONTENT OF COLUMN ONE GOES HERE</div> <div align="center" class="float-left">CONTENT OF COLUMN TWO GOES HERE</div> <div align="center" class="float-left">CONTENT OF COLUMN THREE GOES HERE</div> </div> And inside CSS file- .float-left { float:left; width:300px; // or 33% for equal width independent of parent width… Continue Reading
Configure NFS shares in Openfiler Rumi, July 13, 2013 In this article I’ll explain how-to configure a NFS share in Openfiler and then add it as a datastore to your vSphere servers. I’ll take for granted that you already have an Openfiler server up and running. 1 – Enable NFS service As always point your browser to https://<openfiler_address>:446, login… Continue Reading
Debian CDs/DVDs archive Old Debian releases on CD/DVD Rumi, July 12, 2013 This is where we store older CD/DVD releases of Debian. If you want to download the current release, look in the release area. The following releases are currently available here: 3.0_r0 to 3.0_r6 (Woody) 3.1_r0 to 3.1_r8 (Sarge) 4.0_r0 to 4.0_r9 (Etch) 5.0.0 to 5.0.10 (Lenny) 6.0.0 to … (Squeeze)… Continue Reading
BD now member of Asia PKI Consortium Rumi, June 22, 2013 Bangladesh has been accepted as a member of the Asia PKI Consortium in its General Assembly (GA) Meeting held in Bangkok recently. The GA Meeting was chaired by Philip Leung, Chairman of Asia PKI Consortium and attended by member countries. The GA unanimously approved the membership of Bangladesh in the… Continue Reading