Kurinchi Blogger Scribbles …


Archive for April, 2009

Apr 30
2009

World Wide Web Get – wget

Last updated: April 30th, 2009

Grab entire website content with “wget”

The web get feature “wget” enables a user to grab the entire content of the website. There may be situations where your may have difficulty in getting the source code from your software vendor, or may not have access details to certain location in which case “Wget” comes in handy. This feature is available for win32 platform as well. Work around for this is for the user to install cygwin to run the “wget” command (more…)

Apr 28
2009

CGI Vs. Perl … What then is CGI?

Last updated: April 28th, 2009

CGI is not a programming language. It is a standard programming interface which gives a web page the capability to run/access other resources on the server(s) which visitors wouldn’t have direct access to.

Perl is a scripting language. It is often misconceived to be the same as CGI, as Perl was the popular language at the time when CGI gained momentum in the web world.

CGI can refer to a “scripting language” which gets interpreted when calls to a page from the webserver is being made. It can be referred as a “program“, when it gets executed on the webserver to have access to resources with hard coded paths other programs when a call from a web page happens.

In short, all Web applications built using ASP/PHP/Python/Perl speaks through the channel – CGI.

Apr 23
2009

Nagios to Monitor SQL Server

Last updated: April 23rd, 2009

Monitor SQL Server from Nagios

Instructions from Nagios website:

URL: http://www.nagios.org/faqs/viewfaq.php?faq_id=156

The above link states that ” ….

So here’s what I’ve done to have a way to connect to both SQL 7 and SQL 2000:

1. Download and install freetds from http://www.freetds.org.
2. Download and install sqsh from http://www.sqsh.org.
3. export SYBASE=/usr/local/freetds (or where ever your freetds is installed) (more…)

Apr 21
2009

Gunzip, Bunzip, Unzip with tar

Last updated: April 6th, 2010

Bunzip, Unzip

To bunzip a folder, use the command

$ tar jcvf dump.tar.bz folder/

Transfer the file to the location of your choice. For e.g. /tmp and issue the following command to unzip

[/tmp] $ tar -jxvf dump.tar.bz
(more…)

Apr 17
2009

SELinux – Security Enhanced Linux

Last updated: April 16th, 2009

How to find the status of SELinux?
$ cat /selinux/enforce

The above command will print 0 or 1 which means,
0 – permissive mode
1 – enforcing mode (more…)

Apr 16
2009

CSS: Difference between Block, Inline elements

Last updated: April 15th, 2009

CSS “display” Element takes in the following styles

display: none
display: block
display: inline
(more…)

Apr 15
2009

MySQL Create User Grant Rights

Last updated: April 26th, 2009
User creation in MySQL is a simple process. when a “user” is created in MySQL a record gets entered in the DB “mysql” under table “user”. To create a user you need to have the user creation rights or the super user rights. When MySQL is initially installed, root account is created in the database by default with no password to that account. As the root account has all the privileges in the MySQL server, it is advisable to create separate user account(s) for each database.

(more…)

Apr 14
2009

MD5 CheckSum, SHA1 CheckSum, PGP Verification

Last updated: May 13th, 2009

In order to ensure that the files that are downloaded from a site has been saved in its entirety and to give the added security that no intruders have modified the content of the files, various techniques have been used by source providers like MD5 checksum, SHA1 checksum, PGP verification. To explain how MD5 checksum, SHA1 checksum or PGP verification of the files happen, I will go ahead by explaining the steps by using a copy of openSSL program. (more…)

Apr 13
2009

Free Cryptography Tools

Last updated: April 13th, 2009

Following are the listing of tools that can be used for various purposes in Linux, Windows environments and those which are available FREE of cost for downloads. This is the first compilation and will continue to grow as time progresses. (more…)

Apr 12
2009

Cryptography – Being Secured

Last updated: April 13th, 2009

What is cryptography?
Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering. – from Wikipedia. (more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict