preload preload preload preload

moving mysql data directory

In some cases you have to change the default MySql data directory, for doing this you have to follow some steps. Here I will explain each steps one by one. Stop MySql server using following command. $ sudo /etc/init.d/mysql stop Copy the existing data directory (which is located in /var/lib/mysql) using following command. $ sudo ...
1

Configuring Iptables on system startup

In Ubuntu we don't have a mechanism to start or stop iptables or we don't have a mechanism to restore iptables after restarting the system. Now we will see how to create a script for start and stop iptables also to make the script to start on system startup. 1. Create a Firewall script  vim /etc/set_iptables.bash echo 1 > ...
0

ufw – Uncomplicated Firewall

Description ufw is stands for Uncomplicated Firewall, this program is for managing a Linux firewall and aims to provide an easy to use interface for the user, as well as support package integration and dynamic-detection of open ports. ufw  is not intended to provide complete firewall functionality via its command interface, but ...
0

URL Redirecting (301,302) in Varnish

There is no straight forward method for 301/302 URL redirection as we did with rewrite rule. But there are some situations where we need to redirect a URL on a host to some URL on different host. In this situation we need to use 301/302 redirection.  There are two ways we can implement this. First method is to use  set req.http.host ...
0

How to synchronize the System Times

Introduction OpenNTPD is a Unix system daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers. OpenNTPD is primarily developed by Henning Brauer as part of the OpenBSD project. Its design goals include being secure (non-exploitable), easy to configure, accurate ...
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

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

Get your fingerprint reader to work in Ubuntu

First off, remember that fprint is not entirely stable, and may not work all the time. A list of supported devices is here, and the list of unsupported devices is here. 1. First thing to do is add the [third-party] fprint repository to your sources file '/etc/apt/sources.list' # Fingerprint reader support (fprint) deb ...
0

Make Webcam Woking On HP Pavilion dv2000

Well, webcam started working on Ubuntu in my HP Pavilion dv2000 model. Here is the details of what did to get the webcam running on using Ubuntu. $ svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/ $ cd linux-uvc/linux-uvc/trunk/ $ make $ sudo make install $ modprobe uvcvideo Tested with 'ekiga ' and 'xawtv' ...
0