Our last post can be found here, where we described why did we chose DRBD along with heartbeat, lighttpd and NFS. It is recommended to read that first to have idea why we are setting up this.
In this article i will explain how to configure it step by step. This is copy, paste HowTo you will need to replace the IPs and other information according to your requirements.
Example scenario :
node1.hackersgarage.com - 192.168.0.61
node2.hackersgarage.com - 192.168.0.62
LAN Virtual IP for NFS Service
Virtual IP for LAN - 192.168.0.63
Internet Virtual IP for Lighttpd Service
static.hackersgarage.com - 126.96.36.199
Few months back we posted Apache Range Byte flaw named ‘KillApache’ where we posted a perl script that can be use to freeze Apache web server in seconds(We have tested it) This time Miroslave Stampar(Co-Author of SQLMap tool) written this tool with few extended features in python scripting language named it ‘KillApachePy’
New enhancements :
- Automated input parameters
- Proxy support
- Chose custom page of your target
- Chose custom HTTP method e.g GET, HEAD
You can download it from github
Google and Web Performance
Well, we should accept that Google is working hard to improve user experience on web. They have proved with their search engine, soon then launch Gmail as super fast web mail that allowed more storage for users and so many other initiatives that includes spdy alternative http protocol.
Few months back they launched Public DNS Service which claimed to be Super FAST dns server publicly available.
Google DNS Servers : 188.8.131.52 & 184.108.40.206
Most of the Linux flavors use BASH as default shell. But as per requirements or interest people tend to use other shells. In our case, we saw server had CSH set as default SHELL.
Now, there is a utility called
is used for changing your default shell without requiring manual modifications in /etc/passwd
How to use chsh to change your default shell?
First of all look at available shells
# /etc/shells: valid login shells
In this article we will discuss how can you build a high availability storage solution to store your static data.
Client is running a business portal that have approx. 300-500 MB data uploads per day. There was NFS Storage server which had 500 GB drive which was running out of space. This Server was also running lighttpd web server to provide access for users to view these files.
No Failover. (Except offline backup)
When ever server gets done, Users are unable to upload data.
Users are unable to access their data because lighttpd was also running on same server.
ffmpeg is open source project that produce different audio and video Codecs, players, conversion tools, broadcasting application for live streaming and so on. These all packages are released under GPL License.
This HowTo explains how to install ffmpeg on centos distro linux and audio conversion short tutorial.
All commands are run as root.
Internet should be available on Linux box.