background preloader

HOWTO

Facebook Twitter

- How To Do Stuff. Now, I am not going to tell you guys what thermite is, or what you can do with it. Just do a Google search and you'll find tons of sites telling you a bunch of uses for it. I will however, tell you how to make the stuff. Obtaining the Aluminum1) Go to a machine shop. They will usually give you aluminum powder for sweeping the floor or something.2) Break open an Etch-A-Sketch, the stuff inside is pure aluminum powder.3) Go to a paint store, they usually have powdered aluminum that people use to mix into paints to give it pigment.4) Get a grinder, and something made of aluminum. Good ideas are soda cans, bike frames, and lacrosse sticks. Start grinding the aluminum and collect the sparks in a container.5) Search eBay, they sell it for pretty cheap. Obtaining the Iron Oxide (Rust)1) Take some steel wool then put it in a jar and then cover it wool with water. Mixing the StuffThermite is 8 grams of iron oxide to 3 grams of aluminum. References:-- www.rotteneggs.com-- The Anarchist's Cookbook.

How To Create A LAMP Setup (Apache2, PHP, MySQL) On CentOS 5 ... This tutorial explains how to create a virtual machine with CentOS 5.x on Amazon's Elastic Compute Cloud (Amazon EC2) and how to set up a LAMP system (LAMP stands for "Linux, Apache, MySQL, PHP") in this virtual machine. We use an AMI (Amazon Machine Image) to set this virtual machine up. I assume you have an Amazon EC2 account. Create An AMI Instance You need to go to the EC2 tab and there choose Launch Instance: Then a small window will open and there you need to choose the AMI that you need for your project - in this case Basic 32-bit Amazon linux AMI or the 64-bit version: (JavaScript must be enabled in your browser to view the large image as an image overlay.)

NOTE: the 64-bit version runs only on micro and large instances, for more information about the features see the Amazon documentation. Then you need to choose the settings in the Amazon wizard. Click on the Continue button: Then on the next screen use the default settings and click on the Continue button. Create new key pair. Unix Daemon Server Programming. Introduction Unix processes works either in foreground or background. A process running in foreground interacts with the user in front of the terminal (makes I/O), whereas a background process runs by itself. The user can check its status but he doesn't (need to) know what it is doing. The term 'daemon' is used for processes that performs service in background. A server is a process that begins execution at startup (not neccessarily), runs forever, usually do not die or get restarted, operates in background, waits for requests to arrive and respond to them and frequently spawn other processes to handle these requests.

Readers are suppossed to know Unix fundamentals and C language. 1) Daemonizing (programming to operate in background) [fork] First the fork() system call will be used to create a copy of our process(child), then let parent exit. I=fork(); if (i<0) exit(1); /* fork error */ if (i>0) exit(0); /* parent exits */ /* child (daemon) continues */ 2) Process Independency [setsid]

How To Set Up A Load-Balanced MySQL Cluster. Version 1.0 Author: Falko Timme This tutorial shows how to configure a MySQL 5 cluster with three nodes: two storage nodes and one management node. This cluster is load-balanced by a high-availability load balancer that in fact has two nodes that use the Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster). In this document I use Debian Sarge for all nodes. Therefore the setup might differ a bit for other distributions. The MySQL version I use in this setup is 5.0.19. If you do not want to use MySQL 5, you can use MySQL 4.1 as well, although I haven't tested it. This howto is meant as a practical guide; it does not cover the theoretical backgrounds. This document comes without warranty of any kind! 1 My Servers I use the following Debian servers that are all in the same network (192.168.0.x in this example): In addition to that we need a virtual IP address : 192.168.0.105.