configured

How to Configure Checkpoint FireWall for content filtering with Websens

Configuring FireWall-1 for content filtering with Websense involves three basic procedures: Creating a UFP Server Object for the Websense Filtering Service. Creating URI Resource Objects for the dictionary categories that Websense sends to FireWall-1. Defining rules that govern how FireWall-1 behaves when it receives a response from Websense. Create a Server Object Before FireWall-1 can [...]

Can’t connect to MySQL server

A MySQL client on Unix can connect to the mysqld server in two different ways: By using a Unix socket file to connect through a file in the file system (default /tmp/mysql.sock), or by using TCP/IP, which connects through a port number. A Unix socket file connection is faster than TCP/IP, but can be used only when connecting [...]

How to Configure Virtual IP Address in Linux

Invoke the linuxconf tool. ( type linuxconf in the shell prompt and press Enter ). For starting this tool you have to be logged in as Super user. In the displayed menu, select the menu item : IP Aliases for virtual hosts and press Enter. This will display the two interfaces eth0 and lo. (Ethernet [...]

How to create a boot CD with the specified kernel in Linux

The kernel in Fedora Core 2 and higher is too big to fit on a floppy disk, so you’ll have to create a boot CD instead. Here are the steps. 1. Each installed kernel has a dedicated subdirectory for its modules in the /lib/modules directory. Get a listing of this directory. Here there are two [...]

How to Configure Advanced TCP/IP settings in Windows

The Advanced TCP/IP dialog will allow you to configure settings relative to DNS, WINS and specify multiple IP Addresses and Gateways. To bring up the Advanced TCP/IP Settings dialog, simply right click the desired connection from the Network Connections folder, and choose properties to open the Properties dialog of the selected connection. Now select Internet [...]

How to Monitor MySQL’s performance

Here are some ideas, how you can monitor the database performance of your MySQL installation. Monitoring is always an iterative and continuous process. You need to learn what patterns are OK for your database and what are the signs of slight problems or even dangerous situations. Below are the main items you can use to [...]

How to use Ifconfig Command in Linux

Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed. To get a quick look at all the network cards on your system that are ‘up’ (meaning they are [...]

How to configure single IP Addresses in IPtables

Opening up a whole interface to incoming packets may not be restrictive enough and you may want more control as to what to allow and what to reject. Lets suppose we have a small network of computers that use the 192.168.0.x private subnet. We can open up our firewall to incoming packets from a single [...]

How to configure to allow Interfaces in IPtables

You would like to block all network traffic using iptables firewall under Debian GNU/Linux. This will block all incoming and outgoing traffic including Internet aka ADSL/ppp0 and it is highly recommend. The logic is block everything and allow only required traffic. This can be done with four simple commands: # iptable -F # iptables -P [...]

A brief to various iptables commands

We will use an example based approach to examine the various iptables commands. In this first example, we will create a very simple set of rules to set up a Stateful Packet Inspection (SPI) firewall that will allow all outgoing connections but block all unwanted incoming connections:

How to Install and Configure iptables under CentOS

Working with iptables from the command line requires root privileges, so you will need to become root for most things we will be doing. Iptables should be installed by default on all CentOS 3.x, 4.x and 5.x installations. You can check to see if iptables is installed on your system by: $ rpm -q iptables [...]

How to Allow or Deny countries with Apache htaccess

First you need to understand the meaning of these two rules in the htaccess file. If you set “deny” in the script for countries “US,CA” (USA and Canada), all traffic from USA or Canada will be blocked. On the other hand, if you set “allow” it will only accept traffic from these two countries, all [...]

How to convert a table from one storage engine to another in MySQL

 MySQL supports several storage engines that act as handlers for different table types. MySQL storage engines include both those that handle transaction-safe tables and those that handle non-transaction-safe tables: MyISAM manages non-transactional tables. It provides high-speed storage and retrieval, as well as fulltext searching capabilities. MyISAM is supported in all MySQL configurations, and is the default storage engine [...]