Enable mod_rewrite on Apache for Debian Rumi, September 8, 2015 To enable and load mod_rewrite, do the following. $ sudo a2enmod rewrite Then open up the following file, and replace every occurrence of “AllowOverride None” with “AllowOverride all”. $ sudo vi /etc/apache2/sites-available/default or $ sudo vi /etc/apache2/sites-available/000-default Finally, restart Apache2. $ sudo service apache2 restart Continue Reading
Convert .p12 bundle to server certificate and key files Rumi, August 28, 2015February 16, 2024 Seperate Private Key and Certificate file #Generate certificates bundle file openssl pkcs12 -nokeys -in server-cert-key-bundle.p12 -out server-ca-cert-bundle.pem #Generate server key file. openssl pkcs12 -nocerts -nodes -in server-cert-key-bundle.p12 -out server.key Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes… Continue Reading
NMAP Security Scanner on Linux Rumi, August 21, 2015February 11, 2017 First of all, you should get the “nmap” package installed in your system. On CentOS yum install nmap On Debian apt-get install nmap On Ubuntu sudo apt-get install nmap NMAP Commands: sudo nmap -sS [IP address] or [website address] sudo nmap -O –osscan-guess [IP address] or [website address] sudo nmap… Continue Reading
PEN: HTTP Load Balancer Rumi, August 15, 2015August 15, 2015 This is performed on a CentOS 6.x 64 bit machine Install pen which is lightweight simple Load Balancing software. It is TCP protocol based, so it’s possible to balance not only HTTP but SMTP, FTP, LDAP and so on. This example is based on the environment like follows. Configure Pen… Continue Reading
User management in Nebula Rumi, July 31, 2015July 31, 2015 Adding and Deleting Users User accounts within the OpenNebula system are managed by oneadmin with the oneuser create and oneuser delete commands. This section will show you how to create the different account types supported in OpenNebula Administrators Administrators can be easily added to the system like this: $ oneuser… Continue Reading
Reset Oneadmin password Rumi, July 31, 2015 In case of lost password you can use another user in oneadmin group to change the lost password: $ oneuser passwd –sha1 oneadmin ‘newpassword’ Or Change the password directly in the database: Stop OpenNebula daemons (this is needed as some data is cached). Connect to the database and get the… Continue Reading
How to login OpenNebula VM using Putty by public key exchanging Rumi, July 31, 2015July 31, 2015 Generating OpenSSH-compatible Keys for Use with PuTTY To generate a set of RSA keys with PuTTYgen: Start the PuTTYgen utility, by double-clicking on its .exe file; For Type of key to generate, select SSH-2 RSA; In the Number of bits in a generated key field, specify either 2048 or 4096… Continue Reading
Branding the Sunstone Portal Rumi, July 31, 2015July 31, 2015 You can easily add you logos to the login and main screens by updating the logo: attribute as follows: The login screen is defined in the /etc/one/sunstone-views.yaml. The logo of the main UI screen is defined for each view in the view file. Find more on: http://docs.opennebula.org/4.8/administration/sunstone_gui/suns_views.html Continue Reading
perl(Net::SSLeay) is needed by webmin Rumi, July 16, 2015 So the Webmin on Redhat/CentOS is now requiring this particular perl module to be pre-installed before the RPM installer begins. A very short cut to install this module by using yum- yum install -y perl-Net-SSLeay Voila! your done. Continue Reading
Mustafizur stars in landmark series win- Bangladesh v India, 2nd ODI, Mirpur Rumi, June 22, 2015June 22, 2015 Bangladesh 200 for 4 (Shakib 51*, Ashwin 1-32) beat India 200 in 45 overs (Dhawan 53, Mustafizur 6-43) by six wickets (D/L method) Mustafizur Rahman was the hero in Mirpur again, (off)cutting through India’s batting with a six-wicket haul to add to his five-for on ODI debut, and launching Bangladesh… Continue Reading