sandip's story links

Administering MySQL

(via www.learn-mysql-tutorial.com)

In this lesson of the MySQL tutorial, you will learn...

1. To start up and shut down the MySQL Server
2. To view Information about the Server and Databases
3. To view and kill Threads
4. To clear System Caches
5. Various mysqladmin Options

php 5.2 to 5.3 migration

(via devzone.zend.com)

The new release of PHP 5.3 brought many important additions and changes to PHP. Although longly awaited, some of the changes are not backwards compatible. Thus, code that worked fine with 5.2 may produce warnings or fail in 5.3.

Quick research shows that most prominent applications had to be patched or changed, even though minimally, to work cleanly with 5.3. To help people to convert their web applications to 5.3, I present here a migration script that would allow you to inspect your applications for potential migration problems.

Varnish HTTP accelerator

(via blog.flip-edesign.com)

A basic Varnish installation consist of Varnishing sitting in from of your web server (referred to as back-end), clients will interact solely with Varnish and never know there is a back-end web server (nor should they have access to the back end directly). When a request comes in to Varnish for a page that is being cached over a standard HTTP connection Varnish will either service this directly to the client (without sending a request to the back-end) from Varnish’s cache if exist or if not in cache will send a request to your web back-end over its TCP socket via an HTTP request...

Know when your drives are failing, with smartd

(via www.linuxjournal.com)

“Ka-chunk... ka-chunk... ka-chunk... tick... tick... tick... Ka-chunk... ka-chunk...” That's just not a sound you ever want to hear coming from a hard drive. It's the sound of a hard drive trying to move it's read/write heads into a position that they don't seem to want to go to or its trying to read a sector that just isn't there anymore. Of course, modern hard drives have come a long way and are amazingly reliable, but if you work with computers long enough, you're bound to have one fail on you.

Bad block HOWTO for smartmontools

(via smartmontools.sourceforge.net)

This article describes what actions might be taken when smartmontools detects a bad block on a disk. It demonstrates how to identify the file associated with an unreadable disk sector, and how to force that sector to reallocate.

Tutorial on Software Programming

(via www.herongyang.com)

A collection of 30 free tutorial books by Herong Yang on latest programming technologies. Tutorials in all books are based on Herong's personal experience and ideal for developers to learn new programming technologies.

Troubleshooting Memory Usage

(via rimuhosting.com)

If you are using VPS with very limited memory resources, the link provides excellent reference material on troubleshooting memory issues with some of the know applications that can possibly consume high memory.

The best tips & tricks for bash, explained

(via www.linuxtutorialblog.com)

The bash shell is just amazing. There are so many tasks that can be simplified using its handy features. This tutorial tells about some of those features, explains what exactly they do and learns you how to use them.

Small getopts tutorial

(via wiki.bash-hackers.org)

When you want to parse commandline arguments in a professional way, getopts is the tool of choice. Unlike its older brother getopt (note the missing s!), it's a shell builtin command. The advantage is

* you don't need to hand your positional parameters through to an external program
* getopts can easily set shell variables you can use for parsing (impossible for an external process!)
* you don't have to argue with several getopt implementations which had buggy concepts in the past (whitespaces, ...)
* getopts is defined in POSIX®

Seven habits of effective text editing

(via www.moolenaar.net)

If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good editor and using it effectively. This paper will present guidelines and hints for doing your work more quickly and with fewer mistakes...

Syndicate content

Syndicate content
Comment