preload preload preload preload

Apache Load Balance Using Haproxy

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 ...
4

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 ...
0

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 process if it ...
0

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 of windows, turn  output  logging  on and off, copy-and-paste text between windows, view the scroll back history, switch between windows in ...
0

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 ...
1

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 cached Mem: 1025620 1009140 16480 0 2252 465116 -/+ buffers/cache: 541772 483848 Swap: 2096440 18924 2077516 Create a directory called 'swap' under slash '/' $ sudo mkdir ...
0

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 installed on your system. perl: warning: Falling back to the standard locale ...
0

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. ...
1

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 is either to purchase MAC ...
1

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:~$ ...
1