Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Unix clones tutorials

Learn 10 good UNIX usage habits

Post date: December 16, 2006, 14:12 Category: Miscellaneous Views: 3152 Comments
Tutorial quote: Adopt 10 good habits that improve your UNIX® command line efficiency -- and break away from bad usage patterns in the process. This article takes you step-by-step through several good, but too often neglected, techniques for command-line operations. Learn about common errors and how to overcome them, so you can learn exactly why these UNIX habits are worth picking up.

High Performance MySQL

Post date: December 1, 2006, 04:12 Category: Optimizing Views: 5607 Comments
Tutorial quote: The operating system your MySQL server runs on and the server's configuration can be just as important to your server's performance as the indexes, schema, or queries themselves. In this chapter, we will help you understand how to tune your server to improve performance, as opposed to tuning schema or queries. We'll be looking at changes to your hardware, operating system, and MySQL configuration to see what effects they have on overall performance.

We assume that you've already made efforts to boost the performance of your queries. If you haven't done that already, stop now and read Chapter 4 and Chapter 5 to get a handle on optimizing your queries and your application code. Only then should you worry about server settings. Hardware is often not the solution to MySQL performance problems. Poorly optimized queries can slow you down far more than not having the latest CPU or SCSI disk. To put this in perspective, one of the MySQL AB trainers even says that changing hardware might, in the best cases, give you a 10-fold performance increase. But tuning queries (and schemas) can often give you 1000-fold performance increase. Seriously.

Some topics covered in this chapter are platform-specific. The authors' knowledge of the various platforms on which MySQL runs is limited. In many cases, you'll need to consult your local documentation for various operating system tools and specifics.

We start with an overview of the factors that limit performance and then look more in depth at RAID, hardware, and operating system issues. The chapter finishes with a discussion of techniques you can use to locate, identify, and fix bottlenecks.

Encrypted remote backups made easy

Post date: November 29, 2006, 01:11 Category: Security Views: 3498 Comments
Tutorial quote: This is an easy way to take backups and putting them on a remote site. I invented this script in order to put backups on a reliable remote site where I unfortunatley only have a user account.

Command-line calculations using bc

Post date: November 29, 2006, 01:11 Category: Software Views: 4434 Comments
Tutorial quote: If like me, you do most of your work from the command-line, using vim to edit files, mutt for e-mails, cd/ls/mv/find/etc instead of a file manager, then you may get annoyed by having to fire up a GUI calculator to make (what may sometimes be) a single calculation.

One useful feature of calculating on the command-line is that you can see what you've typed. For instance, sometimes when I'm entering a long, complex calculation on a calculator (either the GUI or the solid, hold-in-your-hand type), I sometimes forget if I've actually typed in all those numbers or made the calculations in the right order. Maybe it's just me ...

Cacti installation

Post date: November 8, 2006, 05:11 Category: Network Views: 10608 Comments
Tutorial quote: Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.

How To Look Like A UNIX Guru

Post date: October 30, 2006, 02:10 Category: Miscellaneous Views: 5482 Comments
Tutorial quote: UNIX is an extremely popular platform for deploying server software partly because of its security and stability, but also because it has a rich set of command line and scripting tools. Programmers use these tools for manipulating the file system, processing log files, and generally automating as much as possible.

If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon you will feel very comfortable. Combining the simple commands, you can build very powerful tools very quickly--much faster than you could build the equivalent functionality in C or Java, for example.

This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarity with UNIX.

Using and Customizing Templates in OpenOffice.org

Post date: October 24, 2006, 17:10 Category: Software Views: 2775 Comments
Tutorial quote: Templates make life easier when you use them for letters, documents, brochures, etc. but they really make life easier when you use them for labels. This article is about how to use the OpenOffice.org templates, in particular the WorldLabel templates, to print the labels you need. It shows how to download them, install them, use them as they are, and how to customize them with graphics and other features. It also shows how to use the OpenOffice.org label wizard; you can use the label wizard each time, or save the template you create in the same template repository with your WorldLabel templates.

Resetting a forgotten MySQL root password

Post date: October 2, 2006, 09:10 Category: Security Views: 4393 Comments
Tutorial quote: Resetting the root password of a MySQL database is trivial if you know the current password if you don't it is a little tricker. Thankfully it isn't too difficult to fix, and here we'll show one possible way of doing so.

A Tcl(Tutorial for Cool Languages) for Tcl/Tk

Post date: September 21, 2006, 00:09 Category: Programming Views: 4902 Comments
Tutorial quote: A tutorial for Tcl/Tk language. Teaches how to develop and code graphical applications using Tcl/Tk. Teachs how to make GUI(Graphical User Interface) programes for Windows, Linux and Mac OS.

Split and Reassemble Files

Post date: September 20, 2006, 20:09 Category: Software Views: 4026 Comments
Tutorial quote: There always comes a time, where you wish that file was only a few kilobytes/megabytes smaller. Wether it be so it can fit onto your floppy disk, CDR etc, or so you can meet the attachment limit on an e-mail server. This isn't really a command that you would use everyday, but it might come in handy.
Web-based applications and online marketing solutions - LumoLink