Posts Tagged ‘How to’
How to Setup Transparent Squid Proxy Server in Ubuntu
Saturday, August 28, 2010 20:50 No CommentsSquid 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 [...]
How to run crontab jobs on linux system ?
Friday, August 20, 2010 23:46 No CommentsThe 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 [...]
How to Setup a DNS Server in Ubuntu
Friday, July 9, 2010 17:20 No CommentsOverview
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 [...]
How to automate tasks with cron jobs
Saturday, July 3, 2010 20:58 No CommentsCron 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 [...]
How To Set Up Database Replication In MySQL (Slave)
Saturday, June 26, 2010 18:28 No CommentsOn 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 [...]
How To Set Up Database Replication In MySQL (Master)
Saturday, June 26, 2010 18:24 No CommentsThis 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 [...]
How to Enable Remote Access To MySQL Database Server?
Thursday, June 24, 2010 17:00 No CommentsBy 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, [...]


