Haproxy
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation […]
Archive for June, 2008
Apache Load Balance Using Haproxy
Monitoring services using Mon
Monitoring services using Mon
mon is a general-purpose scheduler and alert management tool used for monitoring service availability and
triggering alerts upon failure detection.
Mon uses some Linux command and services such as ping command to check host connectivity and mail servers for sending mail, so you must install postfix and other packages so that mon should work […]
Monit a service monitoring tool in linux
Monit is a utility for managing and monitoring processes, files, directories and devices on a Unix system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. E.g. monit can start a process if it does not run, restart a process if it does not respond and stop a […]
Continue reading " Monit a service monitoring tool in linux "
Screen Command In Linux
Introduction
When screen is called, it creates a single window with a shell in it and then gets out of your way so that you can use the program as you normally would. Then, at any time, you can create new windows with other programs in them (including more shells), kill existing windows, view a list […]
Installing Symfony Framework in Ubuntu
Install these packages with apt:
php5
php5-cli
php5-dev
php5-sqlite
php-pear
$ sudo apt-get install php5 php5-cli php5-dev php5-sqlite php-pear
Test if Apache and PHP are up and running typing in the browser:
http://localhost/
You should see something like:
Apache/2.0.55 (Ubuntu) PHP/5.1.2-1ubuntu1 Server at localhost Port 80
From the command line, as root:
$ sudo pear upgrade PEAR
$ sudo pear channel-discover pear.symfony-project.com
Edit /etc/php5/cli/php.ini and change the line:
memory_limit = […]
Creating a swap file
Using the command dd you can create swap file.
dd - convert and copy a file
First of all check the current swap size using the command ‘free’
$ free
Output
total used free shared buffers […]
error message: “Setting locale failed”
If you get an error message like below.
perl: warning: Setting locale failed.
perl: warning: Please check that your locales settings:
LANGUAGE = “en_JP:en”,
LC_ALL = (unset),
LANG = “en_US.UTF-8″
are supported and […]
Logging into Mysql without Password
Recovering MySQL Password and Permission Problems
If you garble your GRANT commands or forget passwords and find that you don’t have access to the critical mysql table even as the root user don’t panic. You can access MySQL without password. Superuser can access MySQL using mysqld_safe command and you can change mysql password. Become the […]
Ubuntu 8.04 Desktop to look like Mac OS X
MAC OS is one of the OS which gives impresive graphical ability and interface. My friends where planning to buy an apple laptop only because of its graphics, I myself attracted to MAC OS. There are some hardware compatibility issues for running MAC OS on Intel Hardware. So well other alternative to using MAC OS […]
Continue reading " Ubuntu 8.04 Desktop to look like Mac OS X "
How to setup Memcached server
Introduction
Memcached is a high-performance, distributed caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in memory to reduce the number of times the database must be read.
Installing memcached
shahid@shahid-laptop:~$ sudo apt-get install memcached
shahid@shahid-laptop:~$ sudo apt-get install php5-memcache
After installing these two packages next step is to configure memcached.conf file. […]
Search
My MobSpace
More About The Site
Tags
- all Amazon Apache asp autobench background process backup backups catch all catchall cleaning directories deamon digital certificate error favicon fuse google map API Google Map Key httperf http testing image in address bar Iptables Linux mail server mono mount mysql backups mysqldump mysqlhotcopy openload pcntl performance testing PHP php-modules php installation postfix rsync S3-Backup s3fs Shell Script ssh-key ssh-keygen teapop varnish
Categories
- Linux (35)
- Linux Commands (4)
- PHP (8)
- Micellanious (11)
- Mysql (4)
- Shell Script (2)
- Solaris (1)
- Apache (6)
- Tips & Tricks (7)
- Securities (1)
- Iptables (3)
Archives
- October 2008 (2)
- September 2008 (2)
- August 2008 (1)
- July 2008 (4)
- June 2008 (10)
- May 2008 (5)
- April 2008 (2)
- March 2008 (6)
- February 2008 (7)
















