server

How to Secure the ISA Server Computer with Security Configuration Wizard

The Microsoft Windows Server 2003 operating system with Service Pack 1 (SP1) includes an attack surface reduction tool called the Security Configuration Wizard (SCW). Depending on the server role you select, the SCW determines the minimum functionality required, and disables functionality that is not required. When you install Windows Server 2003 SP1 on the ISA [...]

How to Run Remote Commands with SSH

The ssh program can  be used for monitoring remote hots. The system admin can also execute commands from his desktop which can be executed at remote servers. This is a cool facility of ssh. We can do much more on SSH. root@admin:~ # ssh root@www ‘df -h’ Filesystem Size Used Avail Use% Mounted on /dev/ubda 3.5G 2.1G [...]

How to access your server via SSH

If you are unfamiliar with SSH this is ok. This is a simple explanation to get you to a command prompt on your new server or existing server. Simply download a program called “putty.exe” if you are using Windows. If you are using MAC you will need to jump in to the shell and follow [...]

How to Install VNC on Centos

VNC is used to display an X windows session running on another computer. Unlike a remote X connection, the xserver is running on the remote computer, not on your local workstation. Your workstation ( Linux or Windows ) is only displaying a copy of the display ( real or virtual ) that is running on [...]

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 Nslookup to query Domain Name System

nslookup is a computer program used in Windows and Unix to query Domain Name System (DNS) servers to find DNS details, including IP addresses of a particular computer, MX records for a domain and the NS servers of a domain. The name nslookup means “name server lookup”. The most common version of the program is [...]

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:

Script to backup all mysql database and upload to FTP

In this howto I will show you a simple bash script that dump ALL mysql databases on your server compressed to GZIP and then make a nice tar.gz file with them and upload it to the FTP of your choice.

How to Install Elgg – An open, flexible social networking engine

Elgg is an open, flexible social networking engine, designed to run at the heart of any socially-aware application. Building on Elgg is easy, and because the engine handles common web application and social functionality for you, you can concentrate on developing your idea. Elgg is open source. That means, when you use Elgg, you have [...]

How to Verify Email Security With tcpdump

I can use tcpdump to verify that encryption is working. Here is what a plain unencrypted POP mail session looks like. This is an abbreviated example showing only the initial three-way TCP handshake. You can do this yourself by firing up tcpdump, then checking mail. Ctrl+C stops it: # tcpdump port 110 15:04:49.050227 windbag.34348 > [...]

Database Replication in MySQL – Step by Step Guide

Replication enables data from one MySQL database server (called the master) to be replicated to one or more MySQL database servers (slaves). Replication is asynchronous – your replication slaves do not need to be connected permanently to receive updates from the master, which means that updates can occur over long-distance connections and even temporary solutions [...]

How to Install and Configure NNTP Server (IIS 6.0)

Access to the news server can be open to everyone, or it can require user authentication. The NNTP service allows fine tuning of security policies and is capable of handling a large number of virtual domains and independent server instances on a single computer. The NNTP service is not installed by default. You must install [...]

How to configure Virtual Hosting using Apache 2 on Ubuntu

Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works. I become pretty handy as well while develloping different web project on the same machine and allows you to access to your local repository using addresses such as http://dev.mysite.com instead of http://localhost/~myuser/myproject/ :) . [...]

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon. xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started [...]