Jump to Navigation

configuration

253 - How to install Apache Solr 3.6 for Drupal 7

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project.
Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering,
database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly
scalable, providing distributed search and index replication, and it powers the search and navigation
features of many of the world's largest internet sites.

1. Install Java

drupal:

252 - CUPS Spool Management

You have the spool directory of your Linux print subsystem.

For CUPS it is normally "/var/spool/cups/", as set by the cupsd.conf  directive "RequestRoot /var/spool/cups".

After printing, the job History & job file reside in /var/spool/cups. If you do not need them, you could clear them to make a room for CUPS.
So there are some parameters on CUPS to contorol them.

1. Print Job Files

251 - iSCSI target in /etc/tgt/targets.conf

< Create the targets >

Targets can be created by adding an XML entry to the /etc/tgt/targets.conf file, using our favorite text editor.
The target attribute requires an iSCSI Qualified Name (IQN).

Format :

iqn.yyyy-mm.reversed.domain.name:OptionalIdentifierText

yyyy-mm represents the 4-digit year and 2-digit month the device was started (for example: 2011-07)

244 - Logical volume management(LVM)

Logical volume management(LVM) provides a higher-level view of the disk storage on a computer system than the traditional view of disks
and partitions. This gives the system administrator much more flexibility in allocating storage to applications and users.

Storage volumes created under the control of the logical volume manager can be resized and moved around
almost at will, although this may need some upgrading of file system tools.

240 - iSCSI on Linux Server

Internet SCSI (iSCSI) is a network protocol s that allows you to use of the SCSI protocol over TCP/IP networks.
It is an alternative to Fibre Channel-based SANs, easily manage, mount and format iSCSI Volume under Linux.
It allows getting access to a SAN storage over the Ethernet network.

* iSCSI target (server)

239 - One Channel bonding for multiple ethernet cards

Red Hat Enterprise Linux allows administrators to bind NICs together into a single channel using the bonding kernel module and a special network interface,
called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth
and providing redundancy. "bonding" should be configured in kernel level.

1. Edit /etc/modprobe.conf( or /etc/modules.conf) to configure bonding

* File /etc/modules.conf is configuration file for loading kernel modules.

232 - diff and patch for Linux

The commands diff and patch form a powerful combination. They are widely used to get differences between original files and updated files in such
a way that other people who only have the original files can turn them into the updated files with just a single patch file that contains only the differences.

1. Create a patch

The most simple way of using diff is getting the differences between two files, an original file and an updated file.

Shell Script:

230 - nagios statuswrl.cgi problem

When I click the "3-D Status Map" link in nagios web UI, the browser tries to download and save the statuswrl.cgi file.

This will happen if you do not have a VRML client / plugin installed for your web browser.
Installing a VRML plugin should resolve this issue.

The folowing plug-in is good for a windows client.

http://www.cortona3d.com/Products/Viewer/Cortona-3D-Viewer.aspx

226 - tune2fs utility

tune2fs is a useful tool that allows users to adjust ext2 / ext3 filesystem options. Chances are that the amount of times Linux does a fsck disk scan
on boot is too frequent, or the default %1 reserved space on the file system is amounting to a significant portion of the hard drive. Using tune2fs,
you can change these settings using tune2fs.

To check block size on the file system :

# tune2fs -l /dev/sdd1 | grep -i 'block size'

223 - java.lang.OutOfMemoryError (Tomcat)

You ran out of memory and GC stands for Garbage Collector. If your garbage collector is spending too much time freeing memory
because of a memory shortage, you'll get this error.

* java.lang.OutOfMemoryError: GC overhead limit exceeded

To solve this issue :

Edit the file /usr/local/apache-tomcat-6.0.26/bin/catalina.sh and alter the following line, substituting for the desired values.

Pages

Subscribe to RSS - configuration


Main menu 2

by Dr. Radut