difference

How can indexing be accelerated in Solr

A few ideas: Include multiple documents in a single <add> operations. Note: there is no advantage in trying to post a huge number of docs in a single go. I’d suggest going no further than 10 (full-size docs) to 100 (tiny docs). Ensure you are not performing <commit/> until you need to see the updated [...]

How to resolve PHP Pecl Memcached module installation problems

I am using on several projects memcached and on the application side the php memcached module. This can be installed as any pear/pecl module, or from source by downloading the source .tgz and running the classic phpize; ./configure; make; make install; While trying to upgrade the memcached module to the latest version available 2.1.2 I [...]

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 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 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 [...]

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 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 > [...]

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 [...]

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 Change DHCP to Static IP Address on Ubuntu Server

Changing this setting without a GUI will require some text editing, but that’s classic linux, right? Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor sudo vi /etc/network/interfaces For the primary interface, which is usually eth0, you will see these lines: auto eth0 iface eth0 inet [...]

How to Change Your Mac Address in Linux

Short for Media Access Control address, a hardware address that uniquely identifies each node of a network. In IEEE 802 networks, the Data Link Control (DLC) layer of the OSI Reference Model is divided into two sublayers: the Logical Link Control (LLC) layer and the Media Access Control (MAC) layer. The MAC layer interfaces directly [...]

How to Configure terminal server access permission

This article describes new options that you can use to assign user rights in Windows that affect the Terminal Services feature. Windows Server 2003 includes the following new User Rights options: Allow logon through Terminal Services Deny logon through Terminal Services You can use these options to change the set of permissions a user must [...]

How to Install and Configure SafeSquid

The name SafeSquid®, suggests that it is built out of Squid. However that is not true! Squid is an excellent Caching Proxy server built by an entirely different team of people and maintained at http://www.squid-cache.org  SafeSquid was originally conceived as an add-on plug-in for Squid,  with a simple objective of merely enhancing the filtering capabilities [...]