Posts Tagged ‘How to’

How to Setup Transparent Squid Proxy Server in Ubuntu

Saturday, August 28, 2010 20:50 No Comments

Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we’re getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.
This is a short guide on how to set up a transparent squid proxy server. Squid is a caching proxy [...]

This was posted under category: Knowledge, Tutorials Tags: , ,

How to run crontab jobs on linux system ?

Friday, August 20, 2010 23:46 No Comments

The cron daemon is a long running process that executes commands at specific dates and times. To schedule one-time only tasks with cron, use at or batch. For commands that need to be executed repeatedly (e.g. hourly, daily or weekly), use crontab, which has the following options:

crontab filename
Install filename as your crontab file.

crontab -e
Edit your [...]

This was posted under category: How to, Knowledge, Linux system, Tutorials Tags: , ,

How to Setup a DNS Server in Ubuntu

Friday, July 9, 2010 17:20 No Comments

Overview
Would you like to setup a DNS Server in Ubuntu? How about setting up a private internal domain name at home? Well, you’ve come to the right place. There are number of tutorials on the internet showing you how to setup a DNS Server with Ubuntu using Bind 9. So, why another how-to document? That’s [...]

This was posted under category: How to, Linux system Tags: , ,

How to automate tasks with cron jobs

Saturday, July 3, 2010 20:58 No Comments

Cron is a Linux service that runs in the background. On a dedicated server, cron is extremely valuable because you can automate repetitive commands and tasks. For example, if you want a certain log to be purged every day, you can create a script to perform the task and then tell cron to run [...]

This was posted under category: How to, Knowledge, Linux system Tags: , , ,

How To Set Up Database Replication In MySQL (Slave)

Saturday, June 26, 2010 18:28 No Comments

On the slave we first have to create the database exampledb:
mysql -u root -p
Enter password:
CREATE DATABASE exampledb;
quit;
If you have made an SQL dump of exampledb on the master and have transferred it to the slave, then it is time now to import the SQL dump into our newly created exampledb on the slave:
mysql -u root [...]

This was posted under category: Apache server, How to, Knowledge, Linux system Tags: , ,

How To Set Up Database Replication In MySQL (Master)

Saturday, June 26, 2010 18:24 No Comments

This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases [...]

This was posted under category: Apache server, How to, Knowledge, Linux system Tags: , ,

How to Enable Remote Access To MySQL Database Server?

Thursday, June 24, 2010 17:00 No Comments

By default remote access to MySQL database server is disabled for security reasons. However, some time you need to provide remote access to database server from home or a web server.
MySQL Remote Access
You need type the following commands which will allow remote connections.
Step # 1: Login Using SSH (if server is outside your data center)
First, [...]

This was posted under category: Apache server, How to, Knowledge, Linux system Tags: , , , ,