Author: Webner
Apache Config Steps – Run multiple domains on same ip
Suppose you want to point abc.mydomain.com and mydomain.com to same machine/ip, but to different applications. There are multiple ways to achieve this (basically with same config settings but in different files). I am giving one way here that worked for me: * Go to
Generating ssh keys – steps
These are the steps: Suppose you want to connect from machine X to machine Y as userme. * login to X as userme * At /home/userme run this command: ssh-keygen -t rsa This will generate 2 files in /home/userme/.ssh folder
Send email using gmail in Perl
Here’s sample code to send email via Gmail SMTP server, which uses TLS (transport layer security): #!/usr/bin/perl -w use Net::SMTP::TLS; my $mailer = new Net::SMTP::TLS( ‘smtp.gmail.com’, Hello => ‘smtp.gmail.com’, Port => 587, User => ‘gmail userid’, Password=> ‘gmail password’); $mailer->mail(‘from@domain.com’);
Installing Perl Modules – Ubuntu
Execute this command on a command line: sudo perl -MCPAN -e shell It will install CPAN if not already installed. Then it will take you to CPAN prompt. On CPAN prompt, execute this command to install Perl module: CPAN> install
Android Jumble Challenge
Jumble Challenge has seen a really good start with more than 115 downloads in initial few days of launch. If you like to unjumble words this is the game for you. With 3 different levels Jumble Challenge is ideal for
mongod cannot execute binary file
mongod: cannot execute binary file Most probable reason – you are using 64-bit mongodb, switch to 32-bit for quick solution….or find the compatible 64 bit package
apt-get install subversion – Package subversion is not available
On Ubuntu: $apt-get install subversion Reading package lists… Done Building dependency tree Reading state information… Done Package subversion is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or
SCEA 5 – My 2 cents
I recently became SUN certified Enterprise Architect after clearing all 3 parts of SCEA. It is hard to get answers to all questions one may have regarding SCEA but SCEA forum on javaranch.com is great!! I have shared my experience