Category: Linux

NFS Setup

SERVER Set services to run on boot:

Edit /etc/exports and add line:

Edit /etc/hosts.deny and add lines:

Edit /etc/hosts.allow and add lines:

Start the services:

Run this command:

To get a list of running rpc services. Verify that portmapper, nfs and mountd are running. CLIENT Set services to run on boot:

Create the mount point:

Edit /etc/fstab and add line:

Activate the mount:

Read More »

Static Routes On RedHat

Here’s the docs from redhat on how to setup static routes:

Let’s say you want to add two static routes to eth1. The first routes 10.10.10.0/255.255.255.0 to 10.10.10.1 and the second routes traffic from 10.10.11.0/255.255.255.0 to 10.10.11.1. To accomplish this create a file at:

And place the following lines in the file:

Then restart networking with:

Read More »

Increase Max Process Memory Allocation

Use this command to increase the max memory that a single process can use:

Add to /etc/sysctl.conf to reload on each boot.

Read More »

DVD Backup With BackupEdge

On a server with a Sony DVD R/W drive and BackupEdge software – this tech note was used to configure the drive: http://www.microlite.com/support/edgefax65.ts.html Here’s a link to site that is full of DVD info: http://fy.chalmers.se/~appro/linux/DVD+RW/

Read More »

OpenNMS Install

OpenNMS is a great network monitoring tool. Here’s the OpenNMS site: http://www.opennms.org In this case I’m going to do an install on to a RedHat Fedora Core 1 server. Here’s the installation guide: https://sourceforge.net/docman/display_doc.php?docid=23937&group_id=4141 The first step is to install the various prerequisites: – Java 2 SDK 1.4.2 or later from http://java.sun.com We did a stock install of the 1.4.2_07 tar/gz package to /usr/local/. Don’t forget to export the JAVA_HOME environment variable:

– Tomcat 4 from http://jakarta.apache.org/tomcat/index.html We did a standard install of the 4.1.31 tar/gz package following the instructions here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt The install was placed at /usr/local/jakarta-tomcat-4.0. We added the following lines to /etc/rc.local to start Tomcat on bootup and open the appropriate firewall ports:

At this point Tomcat was accessible at http://{myipaddress}:8080 – RRDTool from http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ We used the 1.0.49 source tar/gz package and built it using the instructions in the enclosed README file. The package

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.